| Package | Description |
|---|---|
| com.facebook.presto.spi.block |
| Modifier and Type | Interface and Description |
|---|---|
interface |
BlockBuilder |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractFixedWidthBlock |
class |
AbstractVariableWidthBlock |
class |
FixedWidthBlock |
class |
FixedWidthBlockBuilder |
class |
VariableWidthBlock |
class |
VariableWidthBlockBuilder |
| Modifier and Type | Method and Description |
|---|---|
Block |
VariableWidthBlockBuilder.build() |
Block |
FixedWidthBlockBuilder.build() |
Block |
BlockBuilder.build()
Builds the block.
|
Block |
Block.getRegion(int positionOffset,
int length)
Returns a block starting at the specified position and extends for the
specified length.
|
Block |
AbstractVariableWidthBlock.getRegion(int positionOffset,
int length) |
Block |
AbstractFixedWidthBlock.getRegion(int positionOffset,
int length) |
Block |
VariableWidthCursor.getRegionAndAdvance(int length) |
Block |
FixedWidthBlockCursor.getRegionAndAdvance(int length) |
Block |
BlockCursor.getRegionAndAdvance(int length)
Creates a block view port starting at the next position and extending
the specified length.
|
Block |
VariableWidthCursor.getSingleValueBlock() |
Block |
FixedWidthBlockCursor.getSingleValueBlock() |
Block |
BlockCursor.getSingleValueBlock()
Gets the current value as a single element block.
|
Block |
Block.getSingleValueBlock(int position)
Gets the value at the specified position as a single element block.
|
Block |
AbstractVariableWidthBlock.getSingleValueBlock(int position) |
Block |
AbstractFixedWidthBlock.getSingleValueBlock(int position) |
Block |
VariableWidthBlockEncoding.readBlock(io.airlift.slice.SliceInput sliceInput) |
Block |
FixedWidthBlockEncoding.readBlock(io.airlift.slice.SliceInput sliceInput) |
Block |
BlockEncoding.readBlock(io.airlift.slice.SliceInput input)
Read a block from the specified input.
|
| Modifier and Type | Method and Description |
|---|---|
int |
Block.compareTo(SortOrder sortOrder,
int position,
Block otherBlock,
int otherPosition)
Compares the value at the specified position to the value at the other position
in the other block.
|
int |
AbstractVariableWidthBlock.compareTo(SortOrder sortOrder,
int position,
Block otherBlock,
int otherPosition) |
int |
AbstractFixedWidthBlock.compareTo(SortOrder sortOrder,
int position,
Block otherBlock,
int otherPosition) |
boolean |
Block.equalTo(int position,
Block otherBlock,
int otherPosition)
Is the value at the specified position equal to the value at the other position
in the other block?
|
boolean |
AbstractVariableWidthBlock.equalTo(int position,
Block otherBlock,
int otherPosition) |
boolean |
AbstractFixedWidthBlock.equalTo(int position,
Block otherBlock,
int otherPosition) |
void |
VariableWidthBlockEncoding.writeBlock(io.airlift.slice.SliceOutput sliceOutput,
Block block) |
void |
FixedWidthBlockEncoding.writeBlock(io.airlift.slice.SliceOutput sliceOutput,
Block block) |
void |
BlockEncoding.writeBlock(io.airlift.slice.SliceOutput sliceOutput,
Block block)
Write the specified block to the specified output
|
Copyright © 2012-2014. All Rights Reserved.