Documentation ¶
Index ¶
- Constants
- func Bool(r *roaring.Bitmap, _ *tr.Write, _ protoreflect.FieldDescriptor, id uint64, ...)
- func Bytes(r *roaring.Bitmap, tr *tr.Write, field protoreflect.FieldDescriptor, id uint64, ...)
- func Enum(r *roaring.Bitmap, _ *tr.Write, _ protoreflect.FieldDescriptor, id uint64, ...)
- func Float64(r *roaring.Bitmap, _ *tr.Write, _ protoreflect.FieldDescriptor, id uint64, ...)
- func Int64(r *roaring.Bitmap, _ *tr.Write, _ protoreflect.FieldDescriptor, id uint64, ...)
- func Millisecond(value protoreflect.Value) time.Time
- func Nanosecond(value protoreflect.Value) time.Time
- func String(r *roaring.Bitmap, tr *tr.Write, field protoreflect.FieldDescriptor, id uint64, ...)
- func Uint64(r *roaring.Bitmap, _ *tr.Write, _ protoreflect.FieldDescriptor, id uint64, ...)
- func ViewKey(field, view string) string
- type Fields
- type Ops
- type RangeCallback
- type Reader
- func (r Reader[T]) Range(start, end time.Time) []Shard
- func (r Reader[T]) RangeUnit(start, end time.Time, unit rune) []Shard
- func (r *Reader[T]) Release() error
- func (r Reader[T]) Standard() Shard
- func (r *Reader[T]) Tr() *tr.Read
- func (r *Reader[T]) View(shard Shard, f func(txn *tx.Tx) error) error
- type Schema
- type Shard
- type Shards
- type Store
- type Views
- type Writers
Constants ¶
View Source
const ( StandardView = "standard" Quantum = "20060102" TimestampField = protoreflect.Name("timestamp") ID = "_id" // It might be excessive but our goal is to be extremely useful and by having // database per shard we can afford being this granular // // Timeseries endpoints for vince requires IngestQuantum = "YMDH" )
Variables ¶
This section is empty.
Functions ¶
func Bool ¶ added in v0.22.7
func Bool(r *roaring.Bitmap, _ *tr.Write, _ protoreflect.FieldDescriptor, id uint64, value protoreflect.Value)
Bool writes a boolean proto value
func Bytes ¶ added in v0.22.7
func Bytes(r *roaring.Bitmap, tr *tr.Write, field protoreflect.FieldDescriptor, id uint64, value protoreflect.Value)
func Enum ¶ added in v0.22.7
func Enum(r *roaring.Bitmap, _ *tr.Write, _ protoreflect.FieldDescriptor, id uint64, value protoreflect.Value)
Enum writes enum proto value
func Float64 ¶ added in v0.22.7
func Float64(r *roaring.Bitmap, _ *tr.Write, _ protoreflect.FieldDescriptor, id uint64, value protoreflect.Value)
func Int64 ¶ added in v0.22.7
func Int64(r *roaring.Bitmap, _ *tr.Write, _ protoreflect.FieldDescriptor, id uint64, value protoreflect.Value)
Int64 writes int64 proto value
func Millisecond ¶ added in v0.22.7
func Millisecond(value protoreflect.Value) time.Time
func Nanosecond ¶ added in v0.22.7
func Nanosecond(value protoreflect.Value) time.Time
func String ¶ added in v0.22.7
func String(r *roaring.Bitmap, tr *tr.Write, field protoreflect.FieldDescriptor, id uint64, value protoreflect.Value)
func Uint64 ¶ added in v0.22.7
func Uint64(r *roaring.Bitmap, _ *tr.Write, _ protoreflect.FieldDescriptor, id uint64, value protoreflect.Value)
Types ¶
type RangeCallback ¶ added in v0.22.7
type Reader ¶ added in v0.22.7
type Schema ¶ added in v0.22.7
Schema maps proto fields to rbf types.
func (*Schema[T]) Range ¶ added in v0.22.7
func (s *Schema[T]) Range(f RangeCallback) error
Click to show internal directories.
Click to hide internal directories.