| Modifier and Type | Field and Description |
|---|---|
| private final String[] | |
| private final String[] | |
| private TypeInfo |
| Access | Constructor and Description |
|---|---|
| public | ExtTypeInfoEnum(String[]
the enumerators. May not be modified by caller or this class. enumerators)Creates new instance of extended parameters of the ENUM data type. |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(Object
the reference object with which to compare. obj)Overrides java. Indicates whether some other object is "equal to" this one. |
| public int | |
| public String | Returns: the enumerator with specified ordinal valueordinal value of an enumerator ordinal)Returns an enumerator with specified 0-based ordinal value. |
| public static ExtTypeInfoEnum | Returns: enumerators from the left or the right value, or an empty array if both values do not have enumeratorsleft (first) operand left, Value right (second) operand right)Returns enumerators for the two specified values for a binary operation. |
| public StringBuilder | getSQL(StringBuilder
string builder builder, int formatting flags sqlFlags)Implements org. Appends the SQL statement of this object to the specified builder. |
| pack-priv TypeInfo | |
| public ValueEnum | Returns: ValueEnum instanceordinal value of an enum ordinal, CastDataProvider the cast information provider provider)Get ValueEnum instance for an ordinal. |
| public ValueEnum | Returns: ValueEnum instancelabel string label, CastDataProvider the cast information provider provider)Get ValueEnum instance for a label string. |
| private ValueEnum | |
| public int | |
| private static String | |
| private static StringBuilder |
| cleaned | back to summary |
|---|---|
| private final String[] cleaned | |
| enumerators | back to summary |
|---|---|
| private final String[] enumerators | |
| type | back to summary |
|---|---|
| private TypeInfo type | |
| ExtTypeInfoEnum | back to summary |
|---|---|
| public ExtTypeInfoEnum(String[] enumerators) Creates new instance of extended parameters of the ENUM data type.
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object obj) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| getCount | back to summary |
|---|---|
| public int getCount() Get count of elements in enumeration.
| |
| getEnumerator | back to summary |
|---|---|
| public String getEnumerator(int ordinal) Returns an enumerator with specified 0-based ordinal value.
| |
| getEnumeratorsForBinaryOperation | back to summary |
|---|---|
| public static ExtTypeInfoEnum getEnumeratorsForBinaryOperation(Value left, Value right) Returns enumerators for the two specified values for a binary operation.
| |
| getSQL | back to summary |
|---|---|
| public StringBuilder getSQL(StringBuilder builder, int sqlFlags) Implements org. Doc from org. Appends the SQL statement of this object to the specified builder.
| |
| getType | back to summary |
|---|---|
| pack-priv TypeInfo getType() | |
| getValue | back to summary |
|---|---|
| public ValueEnum getValue(int ordinal, CastDataProvider provider) Get ValueEnum instance for an ordinal.
| |
| getValue | back to summary |
|---|---|
| public ValueEnum getValue(String label, CastDataProvider provider) Get ValueEnum instance for a label string.
| |
| getValueOrNull | back to summary |
|---|---|
| private ValueEnum getValueOrNull(String label, CastDataProvider provider) | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| sanitize | back to summary |
|---|---|
| private static String sanitize(String label) | |
| toSQL | back to summary |
|---|---|
| private static StringBuilder toSQL(StringBuilder builder, String[] enumerators) | |