Documentation ¶
Index ¶
- func NewDiskSnapshotStore(basePath string) *diskSnapshotStore
- type AggregateTypeStats
- func (a *AggregateTypeStats) Accept(record *rangedb.Record)
- func (a *AggregateTypeStats) LatestGlobalSequenceNumber() uint64
- func (a *AggregateTypeStats) LoadFromSnapshot(r io.Reader) error
- func (a *AggregateTypeStats) SaveSnapshot(w io.Writer) error
- func (a *AggregateTypeStats) SnapshotName() string
- func (a *AggregateTypeStats) SortedAggregateTypes() []string
- func (a *AggregateTypeStats) TotalEvents() uint64
- func (a *AggregateTypeStats) TotalEventsByAggregateType(aggregateType string) uint64
- type SnapshotProjection
- type SnapshotStore
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDiskSnapshotStore ¶ added in v0.4.0
func NewDiskSnapshotStore(basePath string) *diskSnapshotStore
Types ¶
type AggregateTypeStats ¶
type AggregateTypeStats struct {
// contains filtered or unexported fields
}
func NewAggregateTypeStats ¶
func NewAggregateTypeStats() *AggregateTypeStats
func (*AggregateTypeStats) Accept ¶
func (a *AggregateTypeStats) Accept(record *rangedb.Record)
func (*AggregateTypeStats) LatestGlobalSequenceNumber ¶ added in v0.4.0
func (a *AggregateTypeStats) LatestGlobalSequenceNumber() uint64
func (*AggregateTypeStats) LoadFromSnapshot ¶ added in v0.4.0
func (a *AggregateTypeStats) LoadFromSnapshot(r io.Reader) error
func (*AggregateTypeStats) SaveSnapshot ¶ added in v0.4.0
func (a *AggregateTypeStats) SaveSnapshot(w io.Writer) error
func (*AggregateTypeStats) SnapshotName ¶ added in v0.4.0
func (a *AggregateTypeStats) SnapshotName() string
func (*AggregateTypeStats) SortedAggregateTypes ¶
func (a *AggregateTypeStats) SortedAggregateTypes() []string
func (*AggregateTypeStats) TotalEvents ¶ added in v0.4.0
func (a *AggregateTypeStats) TotalEvents() uint64
func (*AggregateTypeStats) TotalEventsByAggregateType ¶
func (a *AggregateTypeStats) TotalEventsByAggregateType(aggregateType string) uint64
type SnapshotProjection ¶ added in v0.4.0
type SnapshotStore ¶ added in v0.4.0
type SnapshotStore interface { Load(projection SnapshotProjection) error Save(projection SnapshotProjection) error }
Click to show internal directories.
Click to hide internal directories.