org.axiondb.types
public class StringType extends BaseDataType
Version: $Revision: 1.14 $ $Date: 2005/11/24 20:47:31 $
| Constructor Summary | |
|---|---|
| StringType() | |
| Method Summary | |
|---|---|
| boolean | accepts(Object value)
Returns true iff value is null or a
String String. |
| int | compare(Object a, Object b) |
| Object | convert(Object value)
Returns a Stringconverted from the given value , or throws
IllegalArgumentExceptionif the given value isn't
acceptable. |
| int | getColumnDisplaySize() |
| protected Comparator | getComparator() |
| int | getJdbcType() |
| String | getLiteralPrefix() |
| String | getLiteralSuffix() |
| int | getPrecision() |
| String | getPreferredValueClassName() |
| short | getSearchableCode() |
| static StringType | instance() |
| boolean | isCaseSensitive() |
| DataType | makeNewInstance() |
| Object | read(DataInput in) |
| Object | successor(Object value) |
| boolean | supportsSuccessor() |
| byte[] | toByteArray(Object value) |
| String | toString()
Returns "string"
|
| void | write(Object value, DataOutput out)
Writes the given value to the given DataOutput.
|
true iff value is null or a
String String.acceptable.See Also: StringType
"string"
Returns: "string"
DataOutput.
Null values are written as "null", false, the
non-null String "null" is written as "null", true,
all other values are written directly.
Parameters: value the value to write, which must be acceptable