Documentation ¶
Index ¶
- func FilterQuery(filter *base.TupleFilter) memdb.FilterFunc
- func GetIndexNameAndArgsByFilters(tenantID string, filter *base.TupleFilter) (string, []any)
- func NewContinuousToken(value string) database.ContinuousToken
- func NewNoopContinuousToken() database.ContinuousToken
- type AutoIncForRelationTuples
- type ContinuousToken
- type EncodedContinuousToken
- type NoopContinuousToken
- type NoopEncodedContinuousToken
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FilterQuery ¶
func FilterQuery(filter *base.TupleFilter) memdb.FilterFunc
FilterQuery - Filter relation tuples according to given filter
func GetIndexNameAndArgsByFilters ¶
func GetIndexNameAndArgsByFilters(tenantID string, filter *base.TupleFilter) (string, []any)
GetIndexNameAndArgsByFilters - Get index name and arguments by filters
func NewContinuousToken ¶ added in v0.3.0
func NewContinuousToken(value string) database.ContinuousToken
NewContinuousToken - Creates a new continuous token
func NewNoopContinuousToken ¶ added in v0.3.0
func NewNoopContinuousToken() database.ContinuousToken
NewNoopContinuousToken - Creates a new continuous token
Types ¶
type AutoIncForRelationTuples ¶ added in v0.3.0
var RelationTuplesID AutoIncForRelationTuples
func (*AutoIncForRelationTuples) ID ¶ added in v0.3.0
func (a *AutoIncForRelationTuples) ID() (id uint64)
ID -
type ContinuousToken ¶ added in v0.3.0
type ContinuousToken struct {
Value string
}
ContinuousToken - Structure for continuous token
func (ContinuousToken) Encode ¶ added in v0.3.0
func (t ContinuousToken) Encode() database.EncodedContinuousToken
Encode - Encodes the token to a string
type EncodedContinuousToken ¶ added in v0.3.0
type EncodedContinuousToken struct {
Value string
}
EncodedContinuousToken - Structure for encoded continuous token
func (EncodedContinuousToken) Decode ¶ added in v0.3.0
func (t EncodedContinuousToken) Decode() (database.ContinuousToken, error)
Decode decodes the token from a string
func (EncodedContinuousToken) String ¶ added in v0.3.0
func (t EncodedContinuousToken) String() string
Decode decodes the token from a string
type NoopContinuousToken ¶ added in v0.3.0
type NoopContinuousToken struct {
Value string
}
func (NoopContinuousToken) Encode ¶ added in v0.3.0
func (t NoopContinuousToken) Encode() database.EncodedContinuousToken
Encode - Encodes the token to a string
type NoopEncodedContinuousToken ¶ added in v0.3.0
type NoopEncodedContinuousToken struct {
Value string
}
func (NoopEncodedContinuousToken) Decode ¶ added in v0.3.0
func (t NoopEncodedContinuousToken) Decode() (database.ContinuousToken, error)
Decode decodes the token from a string
func (NoopEncodedContinuousToken) String ¶ added in v0.3.0
func (t NoopEncodedContinuousToken) String() string
Decode decodes the token from a string
Click to show internal directories.
Click to hide internal directories.