public class CharacterVaryingType extends CharacterType implements DataType.NonFixedPrecision
DataTyperepresenting a Stringvalue with a user-specified maximum
length.DataType.BinaryRepresentation, DataType.ExactNumeric, DataType.NonFixedPrecision| Constructor and Description |
|---|
CharacterVaryingType() |
CharacterVaryingType(int maxSize) |
| Modifier and Type | Method and Description |
|---|---|
int |
getJdbcType()
Returns the JDBC
type codemost closely matching this type. |
DataType |
makeNewInstance()
Creates a new instance of this DataType implementation.
|
protected java.lang.String |
process(java.lang.String value) |
java.lang.String |
toString()
Returns
"character" |
accepts, compare, convert, getColumnDisplaySize, getComparator, getLiteralPrefix, getLiteralSuffix, getPrecision, getPreferredValueClassName, getSearchableCode, isCaseSensitive, read, rightTrim, setPrecision, successor, supportsSuccessor, toByteArray, truncateIfLegal, writegetNullableCode, getPrecisionRadix, getScale, isCurrency, isUnsigned, toBigDecimal, toBigInteger, toBlob, toBoolean, toByte, toClob, toDate, toDouble, toFloat, toInt, toLong, toNumber, toShort, toString, toTime, toTimestamp, toURLclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitsetPrecisionaccepts, convert, getColumnDisplaySize, getLiteralPrefix, getLiteralSuffix, getNullableCode, getPrecision, getPrecisionRadix, getPreferredValueClassName, getScale, getSearchableCode, isCaseSensitive, isCurrency, isUnsigned, read, successor, supportsSuccessor, toBigDecimal, toBigInteger, toBlob, toBoolean, toByte, toByteArray, toClob, toDate, toDouble, toFloat, toInt, toLong, toShort, toString, toTime, toTimestamp, toURL, writecompare, comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongpublic CharacterVaryingType()
public CharacterVaryingType(int maxSize)
public int getJdbcType()
DataTypetype codemost closely matching this type.getJdbcType in interface DataTypegetJdbcType in class CharacterTypeTypes.CHARpublic java.lang.String toString()
CharacterType"character"toString in class CharacterType"character"public DataType makeNewInstance()
DataTypemakeNewInstance in interface DataTypemakeNewInstance in interface DataTypeFactorymakeNewInstance in class CharacterTypeprotected java.lang.String process(java.lang.String value)
throws AxionException
process in class CharacterTypeAxionException