public final class TimeWithTimeZoneType extends AbstractLongType
| Modifier and Type | Field and Description |
|---|---|
static TimeWithTimeZoneType |
TIME_WITH_TIME_ZONE |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Block leftBlock,
int leftPosition,
Block rightBlock,
int rightPosition)
Compare the values in the specified block at the specified positions equal.
|
boolean |
equals(Object other) |
boolean |
equalTo(Block leftBlock,
int leftPosition,
Block rightBlock,
int rightPosition)
Are the values in the specified blocks at the specified positions equal?
|
Object |
getObjectValue(SqlFunctionProperties properties,
Block block,
int position)
Gets an object representation of the type value in the
block
position. |
long |
hash(Block block,
int position)
Calculates the hash code of the value at the specified position in the
specified block.
|
int |
hashCode() |
appendTo, createBlockBuilder, createBlockBuilder, createFixedSizeBlockBuilder, getFixedSize, getLong, getLongUnchecked, getSlice, hash, isComparable, isOrderable, writeLonggetTypeSignaturegetBlockUnchecked, getBoolean, getBooleanUnchecked, getDisplayName, getDouble, getDoubleUnchecked, getJavaType, getObject, getSliceUnchecked, getTypeParameters, toString, writeBoolean, writeDouble, writeObject, writeSlice, writeSliceclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetBlockUnchecked, getBoolean, getBooleanUnchecked, getDisplayName, getDouble, getDoubleUnchecked, getJavaType, getObject, getSliceUnchecked, getTypeParameters, getTypeSignature, writeBoolean, writeDouble, writeObject, writeSlice, writeSlicepublic static final TimeWithTimeZoneType TIME_WITH_TIME_ZONE
public 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.public boolean equalTo(Block leftBlock, int leftPosition, Block rightBlock, int rightPosition)
TypeThis method assumes input is not null.
equalTo in interface TypeequalTo in class AbstractLongTypepublic long hash(Block block, int position)
Typehash in interface Typehash in class AbstractLongTypepublic int compareTo(Block leftBlock, int leftPosition, Block rightBlock, int rightPosition)
TypecompareTo in interface TypecompareTo in class AbstractLongTypepublic boolean equals(Object other)
equals in class AbstractTypepublic int hashCode()
hashCode in class AbstractTypeCopyright © 2012–2022. All rights reserved.