Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Collections ¶
Collections is a map from collection names to Rows.
type Databases ¶
type Databases map[string]Collections
Databases is a map from database names to Collections.
type DumpStream ¶
type DumpStream struct { // ServiceName is the name of the syncbase service from which Rows will be // dumped. ServiceName string // contains filtered or unexported fields }
DumpStream iterates through all collections in all database, and all rows in each collection, emiting Rows for each row in the collection. The stream is ordered first by database, then by collection, then by row. In addition, a Row is emitted for each database before all of its collections, and a Row is emitted for each collections before its rows.
func NewDumpStream ¶
func (*DumpStream) Advance ¶
func (s *DumpStream) Advance() bool
func (*DumpStream) Cancel ¶
func (s *DumpStream) Cancel()
func (*DumpStream) Err ¶
func (s *DumpStream) Err() error
func (*DumpStream) Row ¶
func (s *DumpStream) Row() *Row
Row returns the next row in the DumpStream.
Click to show internal directories.
Click to hide internal directories.