public final class TBooleanType extends TType
ARRAY_TYPE, BINARY_TYPE, BOOLEAN_TYPE, DATE_TYPE, NULL_TYPE, NUMERIC_TYPE, QUERY_PLAN_TYPE, STRING_TYPE
Constructor and Description |
---|
TBooleanType(int sql_type)
Constructs the type.
|
Modifier and Type | Method and Description |
---|---|
int |
calculateApproximateMemoryUse(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(Object ob1,
Object ob2)
Compares two objects that are logically comparable under this
type.
|
Class |
javaClass()
Returns the Java Class that is used to represent this type of object.
|
asEncodedString, asEncodedString, asSQLString, binaryType, booleanType, castObjectToTType, dateType, decodeString, decodeTypes, fromClass, getSQLType, getWidestType, javaObjectType, numericType, stringType
public boolean comparableTypes(TType type)
TType
comparableTypes
in class TType
public int compareObs(Object ob1, Object ob2)
TType
compareObs
in class TType
public int calculateApproximateMemoryUse(Object ob)
TType
calculateApproximateMemoryUse
in class TType
Copyright © 2015. All rights reserved.