Documentation ¶
Index ¶
- Variables
- func CopyBlocks(from []block.Block, srcPos int32, dest []block.Block, destPos int, ...)
- func CopyOfBlocks(original []block.Block, newLength int32) []block.Block
- type DictionaryBlockIndexes
- type Page
- func (pe *Page) AppendColumn(block block.Block) *Page
- func (pe *Page) Compact()
- func (pe *Page) CopyPositions(retainedPositions []int32, offset int32, length int32) *Page
- func (pe *Page) GetBlock(channel int32) block.Block
- func (pe *Page) GetChannelCount() int32
- func (pe *Page) GetColumns(column int32) *Page
- func (pe *Page) GetColumns2(columns ...int32) *Page
- func (pe *Page) GetLoadedPage() *Page
- func (pe *Page) GetLoadedPage2(column int32) *Page
- func (pe *Page) GetLoadedPage3(columns ...int32) *Page
- func (pe *Page) GetLoadedPage4(columns []int32, eagerlyLoadedColumns []int32) *Page
- func (pe *Page) GetLogicalSizeInBytes() int64
- func (pe *Page) GetPositionCount() int32
- func (pe *Page) GetPositions(retainedPositions []int32, offset int32, length int32) *Page
- func (pe *Page) GetRegion(positionOffset int32, length int32) *Page
- func (pe *Page) GetRetainedSizeInBytes() int64
- func (pe *Page) GetSingleValuePage(position int32) *Page
- func (pe *Page) GetSizeInBytes() int64
- func (pe *Page) PrependColumn(column block.Block) *Page
- func (pe *Page) ToString() string
- type PageBuilder
- func NewPageBuilder(types *util.ArrayList[block.Type]) *PageBuilder
- func NewPageBuilder2(initialExpectedEntries int32, types *util.ArrayList[block.Type]) *PageBuilder
- func NewPageBuilder3(initialExpectedEntries int32, maxPageBytes int32, ...) *PageBuilder
- func WithMaxPageSize(maxPageBytes int32, types *util.ArrayList[block.Type]) *PageBuilder
- func (pr *PageBuilder) Build() *Page
- func (pr *PageBuilder) DeclarePosition()
- func (pr *PageBuilder) DeclarePositions(positions int32)
- func (pr *PageBuilder) GetBlockBuilder(channel int32) block.BlockBuilder
- func (pr *PageBuilder) GetPositionCount() int32
- func (pr *PageBuilder) GetRetainedSizeInBytes() int64
- func (pr *PageBuilder) GetSizeInBytes() int64
- func (pr *PageBuilder) GetType(channel int32) block.Type
- func (pr *PageBuilder) IsEmpty() bool
- func (pr *PageBuilder) IsFull() bool
- func (pr *PageBuilder) NewPageBuilderLike() *PageBuilder
- func (pr *PageBuilder) Reset()
Constants ¶
This section is empty.
Variables ¶
View Source
var ( PAGE_INSTANCE_SIZE int32 = util.SizeOf(&Page{}) PAGE_EMPTY_BLOCKS []block.Block = make([]block.Block, 0) )
View Source
var DEFAULT_INITIAL_EXPECTED_ENTRIES int32 = 8
Functions ¶
func CopyBlocks ¶
Types ¶
type DictionaryBlockIndexes ¶
type DictionaryBlockIndexes struct {
// contains filtered or unexported fields
}
func NewDictionaryBlockIndexes ¶
func NewDictionaryBlockIndexes() *DictionaryBlockIndexes
func (*DictionaryBlockIndexes) AddBlock ¶
func (ds *DictionaryBlockIndexes) AddBlock(block *block.DictionaryBlock, index int32)
func (*DictionaryBlockIndexes) GetBlocks ¶
func (ds *DictionaryBlockIndexes) GetBlocks() *util.ArrayList[*block.DictionaryBlock]
func (*DictionaryBlockIndexes) GetIndexes ¶
func (ds *DictionaryBlockIndexes) GetIndexes() *util.ArrayList[int32]
type Page ¶
type Page struct {
// contains filtered or unexported fields
}
func (*Page) CopyPositions ¶
func (*Page) GetChannelCount ¶
func (*Page) GetColumns ¶
func (*Page) GetColumns2 ¶
func (*Page) GetLoadedPage ¶
func (*Page) GetLoadedPage2 ¶
func (*Page) GetLoadedPage3 ¶
func (*Page) GetLoadedPage4 ¶
func (*Page) GetLogicalSizeInBytes ¶
func (*Page) GetPositionCount ¶
func (*Page) GetPositions ¶
func (*Page) GetRetainedSizeInBytes ¶
func (*Page) GetSingleValuePage ¶
func (*Page) GetSizeInBytes ¶
type PageBuilder ¶
type PageBuilder struct {
// contains filtered or unexported fields
}
func NewPageBuilder ¶
func NewPageBuilder(types *util.ArrayList[block.Type]) *PageBuilder
func NewPageBuilder2 ¶
func NewPageBuilder3 ¶
func NewPageBuilder3(initialExpectedEntries int32, maxPageBytes int32, types *util.ArrayList[block.Type], templateBlockBuilders *optional.Optional[[]block.BlockBuilder]) *PageBuilder
PageBuilder(int initialExpectedEntries, int maxPageBytes, *util.ArrayList[ ]<? extends block.Type> types, *optional.Optional[ ]<BlockBuilder[]> templateBlockBuilders)
func WithMaxPageSize ¶
func (*PageBuilder) Build ¶
func (pr *PageBuilder) Build() *Page
func (*PageBuilder) DeclarePosition ¶
func (pr *PageBuilder) DeclarePosition()
func (*PageBuilder) DeclarePositions ¶
func (pr *PageBuilder) DeclarePositions(positions int32)
func (*PageBuilder) GetBlockBuilder ¶
func (pr *PageBuilder) GetBlockBuilder(channel int32) block.BlockBuilder
func (*PageBuilder) GetPositionCount ¶
func (pr *PageBuilder) GetPositionCount() int32
func (*PageBuilder) GetRetainedSizeInBytes ¶
func (pr *PageBuilder) GetRetainedSizeInBytes() int64
func (*PageBuilder) GetSizeInBytes ¶
func (pr *PageBuilder) GetSizeInBytes() int64
func (*PageBuilder) IsEmpty ¶
func (pr *PageBuilder) IsEmpty() bool
func (*PageBuilder) IsFull ¶
func (pr *PageBuilder) IsFull() bool
func (*PageBuilder) NewPageBuilderLike ¶
func (pr *PageBuilder) NewPageBuilderLike() *PageBuilder
func (*PageBuilder) Reset ¶
func (pr *PageBuilder) Reset()
Click to show internal directories.
Click to hide internal directories.