Documentation ¶
Index ¶
Constants ¶
View Source
const (
Name = "goleveldb"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Reader ¶
type Reader struct {
// contains filtered or unexported fields
}
func (*Reader) PrefixIterator ¶
func (r *Reader) PrefixIterator(prefix []byte) store.KVIterator
func (*Reader) RangeIterator ¶
func (r *Reader) RangeIterator(start, end []byte) store.KVIterator
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
func (*Store) Compact ¶
Compact compacts the underlying goleveldb store. The current implementation includes a workaround for github issue #374 (see CompactWithBatchSize).
func (*Store) CompactWithBatchSize ¶
CompactWithBatchSize removes DictionaryTerm entries with a count of zero (in batchSize batches), then compacts the underlying goleveldb store. Removing entries is a workaround for github issue #374.
type Writer ¶
type Writer struct {
// contains filtered or unexported fields
}
func (*Writer) NewBatchEx ¶
Click to show internal directories.
Click to hide internal directories.