Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DataBlockEqual ¶
func DataBlockEqual(a *datablocks.DataBlock, b *datablocks.DataBlock) bool
func NewBlockFromSlice ¶
func NewBlockFromSlice(cols []*columns.Column, datas ...[]interface{}) *datablocks.DataBlock
func NewSourceFromSlice ¶
func NewSourceFromSlice(datas ...interface{}) []interface{}
Types ¶
type Mock ¶
type MockBlockInputStream ¶
type MockBlockInputStream struct {
// contains filtered or unexported fields
}
func NewMockBlockInputStream ¶
func NewMockBlockInputStream(datas []interface{}) *MockBlockInputStream
func (*MockBlockInputStream) Close ¶
func (stream *MockBlockInputStream) Close()
func (*MockBlockInputStream) Insert ¶
func (stream *MockBlockInputStream) Insert(v *datablocks.DataBlock) error
func (*MockBlockInputStream) Name ¶
func (stream *MockBlockInputStream) Name() string
func (*MockBlockInputStream) Read ¶
func (stream *MockBlockInputStream) Read() (*datablocks.DataBlock, error)
Click to show internal directories.
Click to hide internal directories.