Documentation
¶
Index ¶
- Constants
- func AppendIndexSuffix(dataPath string) string
- func InitDecFunctions()
- type ChunkBuilder
- type ColumnBuilder
- type IndexBuilder
- type PKFiles
- type PKInfo
- type PKInfos
- type PrimaryKeyReader
- func (r *PrimaryKeyReader) Close() error
- func (r *PrimaryKeyReader) FileSize() int64
- func (r *PrimaryKeyReader) Open() error
- func (r *PrimaryKeyReader) Read(offset int64, size uint32, dst *[]byte) ([]byte, error)
- func (r *PrimaryKeyReader) ReadData() (*record.Record, int8, error)
- func (r *PrimaryKeyReader) Version() uint32
Constants ¶
View Source
const ( RowsNumPerFragment int = util.RowsNumPerFragment CoarseIndexFragment int = 8 MinRowsForSeek int = 0 IndexFileSuffix string = ".idx" DefaultTCLocation int8 = -1 )
Variables ¶
This section is empty.
Functions ¶
func AppendIndexSuffix ¶
func InitDecFunctions ¶
func InitDecFunctions()
Types ¶
type ChunkBuilder ¶
type ChunkBuilder struct {
// contains filtered or unexported fields
}
func NewChunkBuilder ¶
func NewChunkBuilder() *ChunkBuilder
func (*ChunkBuilder) EncodeChunk ¶
type ColumnBuilder ¶
type ColumnBuilder struct {
// contains filtered or unexported fields
}
func NewColumnBuilder ¶
func NewColumnBuilder() *ColumnBuilder
func (*ColumnBuilder) EncodeColumn ¶
type IndexBuilder ¶
type IndexBuilder struct {
// contains filtered or unexported fields
}
func NewIndexBuilder ¶
func NewIndexBuilder(lockPath *string, filePath string) *IndexBuilder
func (*IndexBuilder) Reset ¶
func (b *IndexBuilder) Reset()
type PKFiles ¶
type PKFiles struct {
// contains filtered or unexported fields
}
func NewPKFiles ¶
func NewPKFiles() *PKFiles
func (*PKFiles) GetPKInfos ¶
type PKInfo ¶
type PKInfo struct {
// contains filtered or unexported fields
}
func (*PKInfo) GetMark ¶
func (p *PKInfo) GetMark() fragment.IndexFragment
func (*PKInfo) GetTCLocation ¶ added in v1.1.1
type PrimaryKeyReader ¶
type PrimaryKeyReader struct {
// contains filtered or unexported fields
}
func NewPrimaryKeyReader ¶
func NewPrimaryKeyReader(name string, lockPath *string) (*PrimaryKeyReader, error)
func (*PrimaryKeyReader) Close ¶
func (r *PrimaryKeyReader) Close() error
func (*PrimaryKeyReader) FileSize ¶
func (r *PrimaryKeyReader) FileSize() int64
func (*PrimaryKeyReader) Open ¶
func (r *PrimaryKeyReader) Open() error
func (*PrimaryKeyReader) ReadData ¶
func (r *PrimaryKeyReader) ReadData() (*record.Record, int8, error)
func (*PrimaryKeyReader) Version ¶
func (r *PrimaryKeyReader) Version() uint32
Click to show internal directories.
Click to hide internal directories.