| Modifier and Type | Field and Description |
|---|---|
| pack-priv static final int | DISPLAY_SIZE
The display size of the textual representation of NULL. |
| public static final ValueNull | INSTANCE
The main NULL instance. |
| pack-priv static final int | PRECISION
The precision of NULL. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public int | compareTypeSafe(Value
the other value v, CompareMode the compare mode mode, CastDataProvider the cast information provider provider)Implements abstract org. Compare this value against another value given that the values are of the same data type. |
| public boolean | containsNull()
Overrides org. Returns true if this value is NULL or contains NULL value. |
| public boolean | equals(Object
the other value other)Implements abstract org. Check if the two values have the same hash code. |
| public BigDecimal | |
| public boolean | |
| public byte | |
| public byte[] | |
| public double | |
| public float | |
| public InputStream | |
| public InputStream | getInputStream(long
the offset (1 means no offset) oneBasedOffset, long the requested length length)Overrides org. Get the input stream |
| public int | |
| public long | |
| public int | |
| public Reader | |
| public Reader | getReader(long
the offset (1 means no offset) oneBasedOffset, long the requested length length)Overrides org. Get the reader |
| public short | |
| public StringBuilder | getSQL(StringBuilder
string builder builder, int formatting flags sqlFlags)Implements org. Appends the SQL statement of this object to the specified builder. |
| public String | |
| public TypeInfo | getType()
Implements abstract org. Implements org. Returns the data type. |
| public int | |
| public int | hashCode()
Implements abstract org. Returns a hash code value for this object. |
| DISPLAY_SIZE | back to summary |
|---|---|
| pack-priv static final int DISPLAY_SIZE The display size of the textual representation of NULL. | |
| INSTANCE | back to summary |
|---|---|
| public static final ValueNull INSTANCE The main NULL instance. | |
| PRECISION | back to summary |
|---|---|
| pack-priv static final int PRECISION The precision of NULL. | |
| ValueNull | back to summary |
|---|---|
| private ValueNull() | |
| compareTypeSafe | back to summary |
|---|---|
| public int compareTypeSafe(Value v, CompareMode mode, CastDataProvider provider) Implements abstract org. Doc from org. Compare this value against another value given that the values are of the same data type.
| |
| containsNull | back to summary |
|---|---|
| public boolean containsNull() Overrides org. Doc from org. Returns true if this value is NULL or contains NULL value.
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object other) Implements abstract org. Doc from org. Check if the two values have the same hash code. No data conversion is made; this method returns false if the other object is not of the same class. For some values, compareTo may return 0 even if equals return false. Example: ValueDecimal 0.0 and 0.00. | |
| getBigDecimal | back to summary |
|---|---|
| public BigDecimal getBigDecimal() Overrides org.
| |
| getBoolean | back to summary |
|---|---|
| public boolean getBoolean() Overrides org. Doc from org. Returns this value as a Java
| |
| getByte | back to summary |
|---|---|
| public byte getByte() Overrides org. Doc from org. Returns this value as a Java
| |
| getBytes | back to summary |
|---|---|
| public byte[] getBytes() Overrides org.
| |
| getDouble | back to summary |
|---|---|
| public double getDouble() Overrides org. Doc from org. Returns this value as a Java
| |
| getFloat | back to summary |
|---|---|
| public float getFloat() Overrides org. Doc from org. Returns this value as a Java
| |
| getInputStream | back to summary |
|---|---|
| public InputStream getInputStream() Overrides org.
| |
| getInputStream | back to summary |
|---|---|
| public InputStream getInputStream(long oneBasedOffset, long length) Overrides org. Doc from org. Get the input stream
| |
| getInt | back to summary |
|---|---|
| public int getInt() Overrides org. Doc from org. Returns this value as a Java
| |
| getLong | back to summary |
|---|---|
| public long getLong() Overrides org. Doc from org. Returns this value as a Java
| |
| getMemory | back to summary |
|---|---|
| public int getMemory() Overrides org. Doc from org. Get the memory used by this object.
| |
| getReader | back to summary |
|---|---|
| public Reader getReader() Overrides org.
| |
| getReader | back to summary |
|---|---|
| public Reader getReader(long oneBasedOffset, long length) Overrides org. Doc from org. Get the reader | |
| getShort | back to summary |
|---|---|
| public short getShort() Overrides org. Doc from org. Returns this value as a Java
| |
| 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.
| |
| getString | back to summary |
|---|---|
| public String getString() Implements abstract org. Doc from org. Get the value as a string. | |
| getType | back to summary |
|---|---|
| public TypeInfo getType() Implements abstract org. Implements org. Doc from org. Returns the data type. | |
| getValueType | back to summary |
|---|---|
| public int getValueType() Implements abstract org. Doc from org. Get the value type.
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Implements abstract org. 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
| |