public class P4HyperLogLogType extends AbstractVariableWidthType
| Modifier and Type | Field and Description |
|---|---|
static P4HyperLogLogType |
P4_HYPER_LOG_LOG |
| Constructor and Description |
|---|
P4HyperLogLogType() |
| Modifier and Type | Method and Description |
|---|---|
void |
appendTo(Block block,
int position,
BlockBuilder blockBuilder)
Append the value at
position in block to blockBuilder. |
Object |
getObjectValue(SqlFunctionProperties properties,
Block block,
int position)
Gets an object representation of the type value in the
block
position. |
io.airlift.slice.Slice |
getSlice(Block block,
int position)
Gets the value at the
block position as a Slice. |
void |
writeSlice(BlockBuilder blockBuilder,
io.airlift.slice.Slice value)
Writes the Slice value into the
BlockBuilder. |
void |
writeSlice(BlockBuilder blockBuilder,
io.airlift.slice.Slice value,
int offset,
int length)
Writes the Slice value into the
BlockBuilder. |
createBlockBuilder, createBlockBuildergetTypeSignaturecompareTo, equals, equalTo, getBlockUnchecked, getBoolean, getBooleanUnchecked, getDisplayName, getDouble, getDoubleUnchecked, getJavaType, getLong, getLongUnchecked, getObject, getSliceUnchecked, getTypeParameters, hash, hashCode, isComparable, isOrderable, toString, writeBoolean, writeDouble, writeLong, writeObjectclone, finalize, getClass, notify, notifyAll, wait, wait, waitcompareTo, equalTo, getBlockUnchecked, getBoolean, getBooleanUnchecked, getDisplayName, getDouble, getDoubleUnchecked, getJavaType, getLong, getLongUnchecked, getObject, getSliceUnchecked, getTypeParameters, getTypeSignature, hash, isComparable, isOrderable, writeBoolean, writeDouble, writeLong, writeObjectpublic static final P4HyperLogLogType P4_HYPER_LOG_LOG
public void appendTo(Block block, int position, BlockBuilder blockBuilder)
Typeposition in block to blockBuilder.public io.airlift.slice.Slice getSlice(Block block, int position)
Typeblock position as a Slice.getSlice in interface TypegetSlice in class AbstractTypepublic void writeSlice(BlockBuilder blockBuilder, io.airlift.slice.Slice value)
TypeBlockBuilder.writeSlice in interface TypewriteSlice in class AbstractTypepublic void writeSlice(BlockBuilder blockBuilder, io.airlift.slice.Slice value, int offset, int length)
TypeBlockBuilder.writeSlice in interface TypewriteSlice in class AbstractTypepublic Object getObjectValue(SqlFunctionProperties properties, Block block, int position)
Typeblock
position. This is the value returned to the user via the
REST endpoint and therefore must be JSON serializable.Copyright © 2012–2022. All rights reserved.