Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Plugins map[string]ReaderConstructor
Plugins contains registered snapshot reader plugins
Functions ¶
func FilterRow ¶
func FilterRow(input string, table string, params *config.TableParams) string
FilterRow returns the Filter query based for specified input
func ForceIndex ¶
func ForceIndex(params *config.TableParams) string
ForceIndex returns the FORCE INDEX clause
Types ¶
type Reader ¶
type Reader interface { //End uninitializes snapshot reader End() //Pop pops record fetched by FetchNext //returns: primary key, partition key and encoded message Pop() (string, string, []byte, error) //FetchNext fetches the record from the source and encodes using encoder provided when reader created //This is a blocking method FetchNext() bool }
Reader is our contract for snapshot reader
Click to show internal directories.
Click to hide internal directories.