|
|
@ -40,8 +40,8 @@ import (
|
|
|
|
// IndexWriter serializes the index for a block of series data.
|
|
|
|
// IndexWriter serializes the index for a block of series data.
|
|
|
|
// The methods must be called in the order they are specified in.
|
|
|
|
// The methods must be called in the order they are specified in.
|
|
|
|
type IndexWriter interface {
|
|
|
|
type IndexWriter interface {
|
|
|
|
// AddSymbols registers all string symbols that are encountered in series
|
|
|
|
// AddSymbol registers a single symbol.
|
|
|
|
// and other indices. Symbols must be added in sorted order.
|
|
|
|
// Symbols must be registered in sorted order.
|
|
|
|
AddSymbol(sym string) error
|
|
|
|
AddSymbol(sym string) error
|
|
|
|
|
|
|
|
|
|
|
|
// AddSeries populates the index writer with a series and its offsets
|
|
|
|
// AddSeries populates the index writer with a series and its offsets
|
|
|
|