java.io.Serializablepublic final class TBooleanType extends TType
ARRAY_TYPE, BINARY_TYPE, BOOLEAN_TYPE, DATE_TYPE, NULL_TYPE, NUMERIC_TYPE, QUERY_PLAN_TYPE, STRING_TYPE| Constructor | Description |
|---|---|
TBooleanType(int sql_type) |
Constructs the type.
|
| Modifier and Type | Method | Description |
|---|---|---|
int |
calculateApproximateMemoryUse(java.lang.Object ob) |
Calculates the approximate memory usage of an object of this type in
bytes.
|
boolean |
comparableTypes(TType type) |
Returns true if the type of this object is logically comparable to the
type of the given object.
|
int |
compareObs(java.lang.Object ob1,
java.lang.Object ob2) |
Compares two objects that are logically comparable under this
type.
|
java.lang.Class |
javaClass() |
Returns the Java Class that is used to represent this type of object.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitasEncodedString, asEncodedString, asSQLString, binaryType, booleanType, castObjectToTType, dateType, decodeString, decodeTypes, fromClass, getSQLType, getWidestType, javaObjectType, numericType, stringTypepublic boolean comparableTypes(TType type)
TTypecomparableTypes in class TTypepublic int compareObs(java.lang.Object ob1,
java.lang.Object ob2)
TTypecompareObs in class TTypepublic int calculateApproximateMemoryUse(java.lang.Object ob)
TTypecalculateApproximateMemoryUse in class TTypeCopyright © 2018. All rights reserved.