Documentation ¶
Overview ¶
Package cof only writes to data to files it has no idea how you fetch data reading and fetching is implemented by fetcher
Index ¶
- Constants
- Variables
- type BitsetColumn
- type BlockHeader
- type ColOffset
- type Column
- type ColumnValue
- type DeltaColumn
- type DeltaIterator
- type Field
- type GroupIterator
- type IntColumn
- type Iterator
- func NewBitsetIterator(vectorSize int, start, end int64, buf []byte) (Iterator, error)
- func NewDeltaIterator(vectorSize int, start, end int64, buf []byte) Iterator
- func NewIntIterator(vectorSize int, start, end int64, buf []byte) Iterator
- func NewStringIterator(vectorSize int, start, end int64, buf []byte) Iterator
- type MinMaxer
- type RLEDeltaColumn
- func (i *RLEDeltaColumn) Add(value interface{}) error
- func (i *RLEDeltaColumn) Max() int64
- func (i *RLEDeltaColumn) Min() int64
- func (i *RLEDeltaColumn) Reset() error
- func (i *RLEDeltaColumn) Rows() int
- func (c *RLEDeltaColumn) Type() string
- func (i *RLEDeltaColumn) WriteTo(w io.Writer) (int64, error)
- type Reader
- type Record
- type Shard
- type Store
- type StringCol
- type Table
Constants ¶
View Source
const MaxSize = 1e9
Variables ¶
View Source
var (
ErrBadType = errors.New("given value was of a bad type")
)
View Source
var (
ErrNoTimeColumn = errors.New(`missing "time" column in Table`)
)
Functions ¶
This section is empty.
Types ¶
type BitsetColumn ¶
type BitsetColumn struct {
// contains filtered or unexported fields
}
func NewBitsetCol ¶
func NewBitsetCol() *BitsetColumn
func (*BitsetColumn) Add ¶
func (i *BitsetColumn) Add(value interface{}) error
func (*BitsetColumn) Reset ¶
func (i *BitsetColumn) Reset() error
func (*BitsetColumn) Rows ¶
func (i *BitsetColumn) Rows() int
func (*BitsetColumn) Type ¶
func (c *BitsetColumn) Type() string
type ColumnValue ¶
type ColumnValue struct { Index int Value interface{} }
func (*ColumnValue) Reset ¶
func (c *ColumnValue) Reset()
type DeltaColumn ¶
type DeltaColumn struct {
// contains filtered or unexported fields
}
func NewDeltaCol ¶
func NewDeltaCol() *DeltaColumn
func (*DeltaColumn) Add ¶
func (i *DeltaColumn) Add(value interface{}) error
func (*DeltaColumn) Max ¶
func (i *DeltaColumn) Max() int64
func (*DeltaColumn) Min ¶
func (i *DeltaColumn) Min() int64
func (*DeltaColumn) Reset ¶
func (i *DeltaColumn) Reset() error
func (*DeltaColumn) Rows ¶
func (i *DeltaColumn) Rows() int
func (*DeltaColumn) Type ¶
func (c *DeltaColumn) Type() string
type DeltaIterator ¶
type DeltaIterator struct {
// contains filtered or unexported fields
}
func (*DeltaIterator) Err ¶
func (iter *DeltaIterator) Err() error
func (*DeltaIterator) Next ¶
func (iter *DeltaIterator) Next() (*[]ColumnValue, error)
func (*DeltaIterator) Pos ¶
func (iter *DeltaIterator) Pos() int64
func (*DeltaIterator) Reset ¶
func (iter *DeltaIterator) Reset()
type GroupIterator ¶
type GroupIterator struct { TotalRows int64 // contains filtered or unexported fields }
type Iterator ¶
type Iterator interface { Next() (*[]ColumnValue, error) Err() error Pos() int64 }
func NewBitsetIterator ¶
func NewDeltaIterator ¶
type RLEDeltaColumn ¶
type RLEDeltaColumn struct {
// contains filtered or unexported fields
}
func NewRLEDeltaCol ¶
func NewRLEDeltaCol() *RLEDeltaColumn
func (*RLEDeltaColumn) Add ¶
func (i *RLEDeltaColumn) Add(value interface{}) error
func (*RLEDeltaColumn) Max ¶
func (i *RLEDeltaColumn) Max() int64
func (*RLEDeltaColumn) Min ¶
func (i *RLEDeltaColumn) Min() int64
func (*RLEDeltaColumn) Reset ¶
func (i *RLEDeltaColumn) Reset() error
func (*RLEDeltaColumn) Rows ¶
func (i *RLEDeltaColumn) Rows() int
func (*RLEDeltaColumn) Type ¶
func (c *RLEDeltaColumn) Type() string
type Reader ¶
type Reader struct {
// contains filtered or unexported fields
}
func (*Reader) ReadFooter ¶
type Store ¶
func (*Store) ShouldFlush ¶
type StringCol ¶
type StringCol struct {
// contains filtered or unexported fields
}
func NewStringCol ¶
func NewStringCol() *StringCol
Source Files ¶
Click to show internal directories.
Click to hide internal directories.