public interface VariableWidthType extends Type
| Modifier and Type | Method and Description |
|---|---|
void |
appendTo(io.airlift.slice.Slice slice,
int offset,
BlockBuilder blockBuilder)
Append the value at
offset in slice to blockBuilder. |
void |
appendTo(io.airlift.slice.Slice slice,
int offset,
io.airlift.slice.SliceOutput sliceOutput)
Append the value at
offset in slice to sliceOutput. |
int |
compareTo(io.airlift.slice.Slice leftSlice,
int leftOffset,
io.airlift.slice.Slice rightSlice,
int rightOffset)
Compare the values in the specified slices at the specified offsets equal.
|
boolean |
equalTo(io.airlift.slice.Slice leftSlice,
int leftOffset,
BlockCursor rightCursor)
Is the value at the specified offset in the specified slice equal value
at the specified cursor?
|
boolean |
equalTo(io.airlift.slice.Slice leftSlice,
int leftOffset,
io.airlift.slice.Slice rightSlice,
int rightOffset)
Are the values in the specified slices at the specified offsets equal?
|
int |
getLength(io.airlift.slice.Slice slice,
int offset)
Gets the length of the value at the specified offset in the specified slice.
|
Object |
getObjectValue(ConnectorSession session,
io.airlift.slice.Slice slice,
int offset)
Gets an object representation of the type encoded in the specified slice
at the specified offset.
|
io.airlift.slice.Slice |
getSlice(io.airlift.slice.Slice slice,
int offset)
Gets the value at the specified offset in the specified slice as a Slice.
|
int |
hash(io.airlift.slice.Slice slice,
int offset)
Calculates the hash code of the value at the specified offset in the
specified slice.
|
int |
writeSlice(io.airlift.slice.SliceOutput sliceOutput,
io.airlift.slice.Slice value,
int offset,
int length)
Writes the Slice value into the specified slice output.
|
createBlockBuilder, getJavaType, getNameObject getObjectValue(ConnectorSession session, io.airlift.slice.Slice slice, int offset)
int getLength(io.airlift.slice.Slice slice,
int offset)
io.airlift.slice.Slice getSlice(io.airlift.slice.Slice slice,
int offset)
int writeSlice(io.airlift.slice.SliceOutput sliceOutput,
io.airlift.slice.Slice value,
int offset,
int length)
boolean equalTo(io.airlift.slice.Slice leftSlice,
int leftOffset,
io.airlift.slice.Slice rightSlice,
int rightOffset)
boolean equalTo(io.airlift.slice.Slice leftSlice,
int leftOffset,
BlockCursor rightCursor)
int hash(io.airlift.slice.Slice slice,
int offset)
int compareTo(io.airlift.slice.Slice leftSlice,
int leftOffset,
io.airlift.slice.Slice rightSlice,
int rightOffset)
void appendTo(io.airlift.slice.Slice slice,
int offset,
BlockBuilder blockBuilder)
offset in slice to blockBuilder.void appendTo(io.airlift.slice.Slice slice,
int offset,
io.airlift.slice.SliceOutput sliceOutput)
offset in slice to sliceOutput.Copyright © 2012-2014. All Rights Reserved.