Documentation ¶
Overview ¶
Package index implements transferring data to indices.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Message ¶
type Message struct { IndexWriter tsdb.IndexWriter BlockCloser io.Closer Value Value Scope tsdb.Entry GlobalItemID tsdb.GlobalItemID }
Message wraps value and other info to generate relative indices.
type Value ¶
type Value struct { Timestamp time.Time TagFamilies []*modelv1.TagFamilyForWrite }
Value represents the input data for generating indices.
type Writer ¶
type Writer struct {
// contains filtered or unexported fields
}
Writer generates indices based on index rules.
type WriterOptions ¶
type WriterOptions struct { DB tsdb.Supplier Families []*databasev1.TagFamilySpec IndexRules []*databasev1.IndexRule ShardNum uint32 EnableGlobalIndex bool }
WriterOptions wrap all options to create an index writer.
Click to show internal directories.
Click to hide internal directories.