| Package | Description |
|---|---|
| com.facebook.presto.spi | |
| com.facebook.presto.spi.block | |
| com.facebook.presto.spi.type |
| Modifier and Type | Method and Description |
|---|---|
Block |
Page.getBlock(int channel) |
Block[] |
Page.getBlocks() |
| Constructor and Description |
|---|
Page(Block... blocks) |
Page(int positionCount,
Block... blocks) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
LazyBlockLoader<T extends Block> |
| Modifier and Type | Interface and Description |
|---|---|
interface |
BlockBuilder |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractFixedWidthBlock |
class |
AbstractVariableWidthBlock |
class |
FixedWidthBlock |
class |
FixedWidthBlockBuilder |
class |
LazyFixedWidthBlock |
class |
LazySliceArrayBlock |
class |
SliceArrayBlock |
class |
VariableWidthBlock |
class |
VariableWidthBlockBuilder |
| Modifier and Type | Method and Description |
|---|---|
Block |
VariableWidthBlockBuilder.build() |
Block |
FixedWidthBlockBuilder.build() |
Block |
BlockBuilder.build()
Builds the block.
|
Block |
VariableWidthBlockBuilder.getRegion(int positionOffset,
int length) |
Block |
VariableWidthBlock.getRegion(int positionOffset,
int length) |
Block |
SliceArrayBlock.getRegion(int positionOffset,
int length) |
Block |
LazySliceArrayBlock.getRegion(int positionOffset,
int length) |
Block |
LazyFixedWidthBlock.getRegion(int positionOffset,
int length) |
Block |
FixedWidthBlockBuilder.getRegion(int positionOffset,
int length) |
Block |
FixedWidthBlock.getRegion(int positionOffset,
int length) |
Block |
Block.getRegion(int positionOffset,
int length)
Returns a block starting at the specified position and extends for the
specified length.
|
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 |
SliceArrayBlockEncoding.readBlock(io.airlift.slice.SliceInput sliceInput) |
Block |
LazySliceArrayBlockEncoding.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 |
SortOrder.compareBlockValue(Type type,
Block leftBlock,
int leftPosition,
Block rightBlock,
int rightPosition)
Compares the values at the specified positions.
|
int |
Block.compareTo(int leftPosition,
int leftOffset,
int leftLength,
Block rightBlock,
int rightPosition,
int rightOffset,
int rightLength)
Compares the byte sequences at
offset in the value at position
to the byte sequence at otherOffset in the value at otherPosition
in otherBlock. |
int |
AbstractVariableWidthBlock.compareTo(int position,
int offset,
int length,
Block otherBlock,
int otherPosition,
int otherOffset,
int otherLength) |
int |
AbstractFixedWidthBlock.compareTo(int position,
int offset,
int length,
Block otherBlock,
int otherPosition,
int otherOffset,
int otherLength) |
boolean |
Block.equals(int position,
int offset,
Block otherBlock,
int otherPosition,
int otherOffset,
int length)
Is the byte sequences at
offset in the value at position equal
to the byte sequence at otherOffset in the value at otherPosition
in otherBlock. |
boolean |
AbstractVariableWidthBlock.equals(int position,
int offset,
Block otherBlock,
int otherPosition,
int otherOffset,
int length) |
boolean |
AbstractFixedWidthBlock.equals(int position,
int offset,
Block otherBlock,
int otherPosition,
int otherOffset,
int length) |
void |
VariableWidthBlockEncoding.writeBlock(io.airlift.slice.SliceOutput sliceOutput,
Block block) |
void |
SliceArrayBlockEncoding.writeBlock(io.airlift.slice.SliceOutput sliceOutput,
Block block) |
void |
LazySliceArrayBlockEncoding.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
|
| Modifier and Type | Method and Description |
|---|---|
void |
VarcharType.appendTo(Block block,
int position,
BlockBuilder blockBuilder) |
void |
VarbinaryType.appendTo(Block block,
int position,
BlockBuilder blockBuilder) |
void |
Type.appendTo(Block block,
int position,
BlockBuilder blockBuilder)
Append the value at
position in block to blockBuilder. |
void |
TimeWithTimeZoneType.appendTo(Block block,
int position,
BlockBuilder blockBuilder) |
void |
TimeType.appendTo(Block block,
int position,
BlockBuilder blockBuilder) |
void |
TimestampWithTimeZoneType.appendTo(Block block,
int position,
BlockBuilder blockBuilder) |
void |
TimestampType.appendTo(Block block,
int position,
BlockBuilder blockBuilder) |
void |
IntervalYearMonthType.appendTo(Block block,
int position,
BlockBuilder blockBuilder) |
void |
IntervalDayTimeType.appendTo(Block block,
int position,
BlockBuilder blockBuilder) |
void |
HyperLogLogType.appendTo(Block block,
int position,
BlockBuilder blockBuilder) |
void |
DoubleType.appendTo(Block block,
int position,
BlockBuilder blockBuilder) |
void |
DateType.appendTo(Block block,
int position,
BlockBuilder blockBuilder) |
void |
BooleanType.appendTo(Block block,
int position,
BlockBuilder blockBuilder) |
void |
BigintType.appendTo(Block block,
int position,
BlockBuilder blockBuilder) |
int |
VarcharType.compareTo(Block leftBlock,
int leftPosition,
Block rightBlock,
int rightPosition) |
int |
VarbinaryType.compareTo(Block leftBlock,
int leftPosition,
Block rightBlock,
int rightPosition) |
int |
Type.compareTo(Block leftBlock,
int leftPosition,
Block rightBlock,
int rightPosition)
Compare the values in the specified block at the specified positions equal.
|
int |
TimeWithTimeZoneType.compareTo(Block leftBlock,
int leftPosition,
Block rightBlock,
int rightPosition) |
int |
TimeType.compareTo(Block leftBlock,
int leftPosition,
Block rightBlock,
int rightPosition) |
int |
TimestampWithTimeZoneType.compareTo(Block leftBlock,
int leftPosition,
Block rightBlock,
int rightPosition) |
int |
TimestampType.compareTo(Block leftBlock,
int leftPosition,
Block rightBlock,
int rightPosition) |
int |
IntervalYearMonthType.compareTo(Block leftBlock,
int leftPosition,
Block rightBlock,
int rightPosition) |
int |
IntervalDayTimeType.compareTo(Block leftBlock,
int leftPosition,
Block rightBlock,
int rightPosition) |
int |
DoubleType.compareTo(Block leftBlock,
int leftPosition,
Block rightBlock,
int rightPosition) |
int |
DateType.compareTo(Block leftBlock,
int leftPosition,
Block rightBlock,
int rightPosition) |
int |
BooleanType.compareTo(Block leftBlock,
int leftPosition,
Block rightBlock,
int rightPosition) |
int |
BigintType.compareTo(Block leftBlock,
int leftPosition,
Block rightBlock,
int rightPosition) |
int |
AbstractType.compareTo(Block leftBlock,
int leftPosition,
Block rightBlock,
int rightPosition) |
boolean |
VarcharType.equalTo(Block leftBlock,
int leftPosition,
Block rightBlock,
int rightPosition) |
boolean |
VarbinaryType.equalTo(Block leftBlock,
int leftPosition,
Block rightBlock,
int rightPosition) |
boolean |
Type.equalTo(Block leftBlock,
int leftPosition,
Block rightBlock,
int rightPosition)
Are the values in the specified blocks at the specified positions equal?
|
boolean |
TimeWithTimeZoneType.equalTo(Block leftBlock,
int leftPosition,
Block rightBlock,
int rightPosition) |
boolean |
TimeType.equalTo(Block leftBlock,
int leftPosition,
Block rightBlock,
int rightPosition) |
boolean |
TimestampWithTimeZoneType.equalTo(Block leftBlock,
int leftPosition,
Block rightBlock,
int rightPosition) |
boolean |
TimestampType.equalTo(Block leftBlock,
int leftPosition,
Block rightBlock,
int rightPosition) |
boolean |
IntervalYearMonthType.equalTo(Block leftBlock,
int leftPosition,
Block rightBlock,
int rightPosition) |
boolean |
IntervalDayTimeType.equalTo(Block leftBlock,
int leftPosition,
Block rightBlock,
int rightPosition) |
boolean |
DoubleType.equalTo(Block leftBlock,
int leftPosition,
Block rightBlock,
int rightPosition) |
boolean |
DateType.equalTo(Block leftBlock,
int leftPosition,
Block rightBlock,
int rightPosition) |
boolean |
BooleanType.equalTo(Block leftBlock,
int leftPosition,
Block rightBlock,
int rightPosition) |
boolean |
BigintType.equalTo(Block leftBlock,
int leftPosition,
Block rightBlock,
int rightPosition) |
boolean |
AbstractType.equalTo(Block leftBlock,
int leftPosition,
Block rightBlock,
int rightPosition) |
boolean |
Type.getBoolean(Block block,
int position)
Gets the value at the
block position as a boolean. |
boolean |
BooleanType.getBoolean(Block block,
int position) |
boolean |
AbstractType.getBoolean(Block block,
int position) |
double |
Type.getDouble(Block block,
int position)
Gets the value at the
block position as a double. |
double |
DoubleType.getDouble(Block block,
int position) |
double |
AbstractType.getDouble(Block block,
int position) |
long |
Type.getLong(Block block,
int position)
Gets the value at the
block position as a long. |
long |
TimeWithTimeZoneType.getLong(Block block,
int position) |
long |
TimeType.getLong(Block block,
int position) |
long |
TimestampWithTimeZoneType.getLong(Block block,
int position) |
long |
TimestampType.getLong(Block block,
int position) |
long |
IntervalYearMonthType.getLong(Block block,
int position) |
long |
IntervalDayTimeType.getLong(Block block,
int position) |
long |
DateType.getLong(Block block,
int position) |
long |
BigintType.getLong(Block block,
int position) |
long |
AbstractType.getLong(Block block,
int position) |
Object |
VarcharType.getObjectValue(ConnectorSession session,
Block block,
int position) |
Object |
VarbinaryType.getObjectValue(ConnectorSession session,
Block block,
int position) |
Object |
Type.getObjectValue(ConnectorSession session,
Block block,
int position)
Gets an object representation of the type value in the
block
position. |
Object |
TimeWithTimeZoneType.getObjectValue(ConnectorSession session,
Block block,
int position) |
Object |
TimeType.getObjectValue(ConnectorSession session,
Block block,
int position) |
Object |
TimestampWithTimeZoneType.getObjectValue(ConnectorSession session,
Block block,
int position) |
Object |
TimestampType.getObjectValue(ConnectorSession session,
Block block,
int position) |
Object |
IntervalYearMonthType.getObjectValue(ConnectorSession session,
Block block,
int position) |
Object |
IntervalDayTimeType.getObjectValue(ConnectorSession session,
Block block,
int position) |
Object |
HyperLogLogType.getObjectValue(ConnectorSession session,
Block block,
int position) |
Object |
DoubleType.getObjectValue(ConnectorSession session,
Block block,
int position) |
Object |
DateType.getObjectValue(ConnectorSession session,
Block block,
int position) |
Object |
BooleanType.getObjectValue(ConnectorSession session,
Block block,
int position) |
Object |
BigintType.getObjectValue(ConnectorSession session,
Block block,
int position) |
io.airlift.slice.Slice |
VarcharType.getSlice(Block block,
int position) |
io.airlift.slice.Slice |
VarbinaryType.getSlice(Block block,
int position) |
io.airlift.slice.Slice |
Type.getSlice(Block block,
int position)
Gets the value at the
block position as a Slice. |
io.airlift.slice.Slice |
HyperLogLogType.getSlice(Block block,
int position) |
io.airlift.slice.Slice |
AbstractType.getSlice(Block block,
int position) |
io.airlift.slice.Slice |
AbstractFixedWidthType.getSlice(Block block,
int position) |
int |
VarcharType.hash(Block block,
int position) |
int |
VarbinaryType.hash(Block block,
int position) |
int |
Type.hash(Block block,
int position)
Calculates the hash code of the value at the specified position in the
specified block.
|
int |
TimeWithTimeZoneType.hash(Block block,
int position) |
int |
TimeType.hash(Block block,
int position) |
int |
TimestampWithTimeZoneType.hash(Block block,
int position) |
int |
TimestampType.hash(Block block,
int position) |
int |
IntervalYearMonthType.hash(Block block,
int position) |
int |
IntervalDayTimeType.hash(Block block,
int position) |
int |
DoubleType.hash(Block block,
int position) |
int |
DateType.hash(Block block,
int position) |
int |
BooleanType.hash(Block block,
int position) |
int |
BigintType.hash(Block block,
int position) |
int |
AbstractType.hash(Block block,
int position) |
Copyright © 2012-2014. All Rights Reserved.