Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AferoShard ¶
type AferoShard struct { FileShard // contains filtered or unexported fields }
func (AferoShard) GetAllCallback ¶
func (s AferoShard) GetAllCallback(callback QueryCallback) error
func (AferoShard) GetDate ¶
func (s AferoShard) GetDate() time.Time
type FileShard ¶
type FileShard struct {
// contains filtered or unexported fields
}
func (FileShard) GetAllCallback ¶
func (s FileShard) GetAllCallback(callback QueryCallback) error
type Memory ¶
type Memory struct {
// contains filtered or unexported fields
}
Memory implements the QuartzDBStorage client interface in memory useful for testing as the data is not persisted
type MemoryShard ¶
type MemoryShard struct {
// contains filtered or unexported fields
}
MemoryShard implements the Shard interface for the Memory storage
func (MemoryShard) GetAllCallback ¶
func (s MemoryShard) GetAllCallback(callback QueryCallback) error
func (MemoryShard) GetDate ¶
func (s MemoryShard) GetDate() time.Time
type QuartzDBStorage ¶
type QuartzDBStorage interface { GetMode() Mode GetShard(ts time.Time) (Shard, error) GetShards() ([]Shard, error) GetShardsRange(from time.Time, to time.Time) ([]Shard, error) }
QuartzDBStorage is a QuartzDB storage interface
type QueryCallback ¶
QueryCallback is a callback function function used to iterate over records
type RawRecord ¶
type RawRecord struct {
// contains filtered or unexported fields
}
RawRecord implements Record which can contain any raw bytes data
func NewRawRecord ¶
NewRawRecord creates new RawRecord
Click to show internal directories.
Click to hide internal directories.