org.axiondb.types
public class IntegerType extends BaseNumberDataType
Version: $Revision: 1.10 $ $Date: 2005/05/02 22:29:40 $
Constructor Summary | |
---|---|
IntegerType() |
Method Summary | |
---|---|
int | compare(Object a, Object b) |
Object | convert(Object value)
Returns an Integerconverted from the given value , or throws
IllegalArgumentExceptionif the given value isn't
acceptable . |
int | getColumnDisplaySize() |
protected Comparator | getComparator() |
int | getJdbcType() |
int | getPrecision() |
String | getPreferredValueClassName() |
DataType | makeNewInstance() |
Object | read(DataInput in) |
Object | successor(Object value) |
String | toString()
Returns "integer"
|
void | write(Object value, DataOutput out)
Writes the given value to the given DataOutput .
|
acceptable
.See Also: IntegerType
"integer"
Returns: "integer"
DataOutput
.
Null
values are written as Integer.MIN_VALUE
,
false
.Integer.MIN_VALUE
values are written as
Integer.MIN_VALUE
,true
. All other values are
written directly.
Parameters: value the value to write, which must be acceptable