Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlugeDB ¶
func (*BlugeDB) QueryDB ¶
func (b *BlugeDB) QueryDB(ctx context.Context, query IndexQuery, callback segment.StoredFieldVisitor) error
ctx context.Context, query chunk.IndexQuery, callback func(chunk.IndexQuery, chunk.ReadBatch) (shouldContinue bool)
type BlugeWriteBatch ¶
type BlugeWriteBatch struct {
Writes map[string]TableWrites
}
func NewWriteBatch ¶
func NewWriteBatch() *BlugeWriteBatch
func (*BlugeWriteBatch) Add ¶
func (b *BlugeWriteBatch) Add(tableName, hashValue string, rangeValue []byte, value []byte)
func (*BlugeWriteBatch) AddJson ¶
func (b *BlugeWriteBatch) AddJson(tableName string, data []byte)
func (*BlugeWriteBatch) Delete ¶
func (b *BlugeWriteBatch) Delete(tableName, hashValue string, rangeValue []byte)
type IndexQuery ¶
type TableWrites ¶
type TableWrites struct {
Puts map[string]interface{} // puts map[string][]byte
}
Click to show internal directories.
Click to hide internal directories.