Documentation
¶
Index ¶
- Variables
- type Logger
- type NamespaceWithIndexes
- func (ns *NamespaceWithIndexes) AddIndex(index *bytype.Index)
- func (ns *NamespaceWithIndexes) Delete(id int64) error
- func (ns *NamespaceWithIndexes) Get(id int64) record.Record
- func (ns *NamespaceWithIndexes) Insert(item record.Record) error
- func (ns *NamespaceWithIndexes) SelectForExecutor(conditions where.Conditions) ([]record.Record, error)
- func (ns *NamespaceWithIndexes) SetLogger(logger Logger)
- func (ns *NamespaceWithIndexes) Upsert(item record.Record) error
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrRecordExists = errors.New("simd: record with passed id already exists")
)
Functions ¶
This section is empty.
Types ¶
type NamespaceWithIndexes ¶
type NamespaceWithIndexes struct {
// contains filtered or unexported fields
}
func CreateNamespace ¶
func CreateNamespace() *NamespaceWithIndexes
func (*NamespaceWithIndexes) AddIndex ¶
func (ns *NamespaceWithIndexes) AddIndex(index *bytype.Index)
func (*NamespaceWithIndexes) Delete ¶
func (ns *NamespaceWithIndexes) Delete(id int64) error
func (*NamespaceWithIndexes) Insert ¶
func (ns *NamespaceWithIndexes) Insert(item record.Record) error
func (*NamespaceWithIndexes) SelectForExecutor ¶
func (ns *NamespaceWithIndexes) SelectForExecutor(conditions where.Conditions) ([]record.Record, error)
func (*NamespaceWithIndexes) SetLogger ¶
func (ns *NamespaceWithIndexes) SetLogger(logger Logger)
Click to show internal directories.
Click to hide internal directories.