|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eigenbase.util14.Enum14.BasicValue net.sf.farrago.fennel.tuple.FennelStandardTypeDescriptor
public abstract class FennelStandardTypeDescriptor
FennelStandardTypeDescriptor implements the FennelStandardTypeDescriptor
enumerations as kept in fennel. This must be
kept in sync with any changes to fennel's
FennelStandardTypeDescriptor.h
. This class is JDK 1.4 compatible.
Nested Class Summary | |
---|---|
private static class |
FennelStandardTypeDescriptor.FennelNumericType
Abstract base class for all numeric types. |
private static class |
FennelStandardTypeDescriptor.FennelType
Abstract base class for all types. |
private static class |
FennelStandardTypeDescriptor.Type_BINARY
Describes a fixed-width binary string. |
private static class |
FennelStandardTypeDescriptor.Type_BOOL
Describes a boolean. |
private static class |
FennelStandardTypeDescriptor.Type_CHAR
Describes a fixed-width character string. |
private static class |
FennelStandardTypeDescriptor.Type_DOUBLE
Describes a double. |
private static class |
FennelStandardTypeDescriptor.Type_INT_16
Describes a signed short. |
private static class |
FennelStandardTypeDescriptor.Type_INT_32
Describes a signed int. |
private static class |
FennelStandardTypeDescriptor.Type_INT_64
Describes a signed long. |
private static class |
FennelStandardTypeDescriptor.Type_INT_8
Describes a signed byte. |
private static class |
FennelStandardTypeDescriptor.Type_REAL
Describes a float. |
private static class |
FennelStandardTypeDescriptor.Type_UINT_16
Describes an unsigned short. |
private static class |
FennelStandardTypeDescriptor.Type_UINT_32
Describes an unsigned int. |
private static class |
FennelStandardTypeDescriptor.Type_UINT_64
Describes an unsigned long. |
private static class |
FennelStandardTypeDescriptor.Type_UINT_8
Describes an unsigned byte. |
private static class |
FennelStandardTypeDescriptor.Type_UNICODE_CHAR
Describes a fixed-width character string. |
private static class |
FennelStandardTypeDescriptor.Type_UNICODE_VARCHAR
Describes a variable-width UNICODE character string. |
private static class |
FennelStandardTypeDescriptor.Type_VARBINARY
Describes a variable-width binary array. |
private static class |
FennelStandardTypeDescriptor.Type_VARCHAR
Describes a variable-width character string. |
Constructor Summary | |
---|---|
private |
FennelStandardTypeDescriptor(String name,
int ordinal)
|
Method Summary | |
---|---|
static FennelStandardTypeDescriptor |
forOrdinal(int ordinal)
Returns the FennelStandardTypeDescriptor with a given ordinal. |
static FennelStandardTypeDescriptor |
get(String name)
Returns the FennelStandardTypeDescriptor with a given name. |
boolean |
isApprox()
Returns whether this ordinal is an approximate numeric. |
boolean |
isArray()
Returns whether this ordinal represents an array. |
boolean |
isBinaryArray()
Returns whether this ordinal represent a binary array. |
boolean |
isExact()
Returns whether this ordinal is an exact numeric. |
boolean |
isFixedLenArray()
Returns whether this ordinal represents a fixed length array. |
boolean |
isIntegralNative(int st)
Returns whether this ordinal represents an integral native type. |
boolean |
isNative()
Returns whether this is primitive type. |
boolean |
isNativeNotBool()
Returns whether this ordinal represents a primitive non-boolean type. |
abstract boolean |
isNumeric()
Returns whether this type is numeric. |
boolean |
isTextArray()
Returns whether this ordinal represents a text array. |
boolean |
isVariableLenArray()
Returns whether this ordinal represents a variable length array. |
Methods inherited from class org.eigenbase.util14.Enum14.BasicValue |
---|
compareTo, equals, equals, getDescription, getName, getOrdinal, hashCode, toString, unexpected |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface net.sf.farrago.fennel.tuple.FennelStoredTypeDescriptor |
---|
getAlignmentByteCount, getBitCount, getFixedByteCount, getMinByteCount, getOrdinal, isSigned, newAttributeAccessor |
Field Detail |
---|
private static final long serialVersionUID
public static final int MIN_ORDINAL
public static final int INT_8_ORDINAL
public static final int UINT_8_ORDINAL
public static final int INT_16_ORDINAL
public static final int UINT_16_ORDINAL
public static final int INT_32_ORDINAL
public static final int UINT_32_ORDINAL
public static final int INT_64_ORDINAL
public static final int UINT_64_ORDINAL
public static final int BOOL_ORDINAL
public static final int REAL_ORDINAL
public static final int DOUBLE_ORDINAL
public static final int CHAR_ORDINAL
public static final int VARCHAR_ORDINAL
public static final int BINARY_ORDINAL
public static final int VARBINARY_ORDINAL
public static final int UNICODE_CHAR_ORDINAL
public static final int UNICODE_VARCHAR_ORDINAL
public static final int EXTENSION_MIN_ORDINAL
public static final FennelStandardTypeDescriptor.Type_INT_8 INT_8
public static final FennelStandardTypeDescriptor.Type_UINT_8 UINT_8
public static final FennelStandardTypeDescriptor.Type_INT_16 INT_16
public static final FennelStandardTypeDescriptor.Type_UINT_16 UINT_16
public static final FennelStandardTypeDescriptor.Type_INT_32 INT_32
public static final FennelStandardTypeDescriptor.Type_UINT_32 UINT_32
public static final FennelStandardTypeDescriptor.Type_INT_64 INT_64
public static final FennelStandardTypeDescriptor.Type_UINT_64 UINT_64
public static final FennelStandardTypeDescriptor.Type_BOOL BOOL
public static final FennelStandardTypeDescriptor.Type_REAL REAL
public static final FennelStandardTypeDescriptor.Type_DOUBLE DOUBLE
public static final FennelStandardTypeDescriptor.Type_CHAR CHAR
public static final FennelStandardTypeDescriptor.Type_VARCHAR VARCHAR
public static final FennelStandardTypeDescriptor.Type_BINARY BINARY
public static final FennelStandardTypeDescriptor.Type_VARBINARY VARBINARY
public static final FennelStandardTypeDescriptor.Type_UNICODE_CHAR UNICODE_CHAR
public static final FennelStandardTypeDescriptor.Type_UNICODE_VARCHAR UNICODE_VARCHAR
private static final FennelStandardTypeDescriptor[] values
public static final Enum14 enumeration
Constructor Detail |
---|
private FennelStandardTypeDescriptor(String name, int ordinal)
Method Detail |
---|
public static FennelStandardTypeDescriptor get(String name)
FennelStandardTypeDescriptor
with a given name.
public static FennelStandardTypeDescriptor forOrdinal(int ordinal)
FennelStandardTypeDescriptor
with a given ordinal.
public abstract boolean isNumeric()
public boolean isNative()
public boolean isNativeNotBool()
public boolean isIntegralNative(int st)
public boolean isExact()
isExact
in interface FennelStoredTypeDescriptor
public boolean isApprox()
public boolean isArray()
public boolean isVariableLenArray()
public boolean isFixedLenArray()
public boolean isTextArray()
public boolean isBinaryArray()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |