Documentation ¶
Index ¶
- Constants
- Variables
- func NewSnapshotFull(db *pebble.DB) silo.Snapshot
- func NewSnapshotInterateOnce(db *pebble.DB) silo.Snapshot
- type Backend
- type BackendFull
- type BackendInterateOnce
- type BackendLogger
- type DataRowReaderJSONLine
- type DataRowReaderWriterJSONLine
- type DumpJSONLine
- type DumpObserver
- type ScanObserver
- type Snapshot
- type SnapshotFull
- type SnapshotInterateOnce
Constants ¶
View Source
const DefaultFullMapCap = 1024
View Source
const DefaultPulledMapCap = 128
Variables ¶
View Source
var ErrPathIsNotValid = errors.New("path is not valid")
Functions ¶
Types ¶
type BackendFull ¶ added in v0.3.0
type BackendFull struct {
Backend
}
func NewBackendFull ¶ added in v0.3.0
func NewBackendFull(path string) (BackendFull, error)
func (BackendFull) Snapshot ¶ added in v0.3.0
func (b BackendFull) Snapshot() silo.Snapshot
type BackendInterateOnce ¶ added in v0.3.0
type BackendInterateOnce struct {
Backend
}
func NewBackendInterateOnce ¶ added in v0.3.0
func NewBackendInterateOnce(path string) (BackendInterateOnce, error)
func (BackendInterateOnce) Snapshot ¶ added in v0.3.0
func (b BackendInterateOnce) Snapshot() silo.Snapshot
type BackendLogger ¶
type BackendLogger struct{}
func (BackendLogger) Fatalf ¶
func (l BackendLogger) Fatalf(format string, args ...interface{})
func (BackendLogger) Infof ¶
func (l BackendLogger) Infof(format string, args ...interface{})
type DataRowReaderJSONLine ¶
type DataRowReaderJSONLine struct {
// contains filtered or unexported fields
}
func NewDataRowReaderJSONLine ¶
func NewDataRowReaderJSONLine() (*DataRowReaderJSONLine, error)
func NewDataRowReaderJSONLineFromFile ¶
func NewDataRowReaderJSONLineFromFile(filename string) (*DataRowReaderJSONLine, error)
func (*DataRowReaderJSONLine) Close ¶
func (drr *DataRowReaderJSONLine) Close() error
func (*DataRowReaderJSONLine) ReadDataRow ¶
func (drr *DataRowReaderJSONLine) ReadDataRow() (silo.DataRow, error)
type DataRowReaderWriterJSONLine ¶
type DataRowReaderWriterJSONLine struct {
// contains filtered or unexported fields
}
func NewDataRowReaderWriterJSONLine ¶
func NewDataRowReaderWriterJSONLine(input io.Reader, output io.Writer) *DataRowReaderWriterJSONLine
func (*DataRowReaderWriterJSONLine) Close ¶
func (drr *DataRowReaderWriterJSONLine) Close() error
func (*DataRowReaderWriterJSONLine) ReadDataRow ¶
func (drr *DataRowReaderWriterJSONLine) ReadDataRow() (silo.DataRow, error)
type DumpJSONLine ¶
type DumpJSONLine struct{}
func NewDumpJSONLine ¶
func NewDumpJSONLine() *DumpJSONLine
func (*DumpJSONLine) Close ¶
func (d *DumpJSONLine) Close() error
type DumpObserver ¶ added in v0.2.0
type DumpObserver struct {
// contains filtered or unexported fields
}
func NewDumpObserver ¶ added in v0.2.0
func NewDumpObserver() *DumpObserver
func (*DumpObserver) Close ¶ added in v0.2.0
func (o *DumpObserver) Close()
type ScanObserver ¶
type ScanObserver struct {
// contains filtered or unexported fields
}
func NewScanObserver ¶
func NewScanObserver() *ScanObserver
func (*ScanObserver) Close ¶
func (o *ScanObserver) Close()
func (*ScanObserver) IngestedLink ¶
func (o *ScanObserver) IngestedLink(_ silo.DataLink)
func (*ScanObserver) IngestedRow ¶
func (o *ScanObserver) IngestedRow(_ silo.DataRow)
type SnapshotFull ¶ added in v0.3.0
type SnapshotFull struct {
// contains filtered or unexported fields
}
func (*SnapshotFull) Close ¶ added in v0.3.0
func (s *SnapshotFull) Close() error
func (*SnapshotFull) Load ¶ added in v0.3.0
func (s *SnapshotFull) Load() error
type SnapshotInterateOnce ¶ added in v0.3.0
type SnapshotInterateOnce struct {
// contains filtered or unexported fields
}
func (SnapshotInterateOnce) Close ¶ added in v0.3.0
func (s SnapshotInterateOnce) Close() error
Click to show internal directories.
Click to hide internal directories.