public class NUMBER_FLOAT extends Datum
| Constructor and Description |
|---|
NUMBER_FLOAT(float value) |
NUMBER_FLOAT(float value,
byte[] bytes) |
| Modifier and Type | Method and Description |
|---|---|
int |
getApproximateTextProtocolLength() |
ColumnType |
getColumnType() |
boolean |
isConvertibleTo(Class targetClass) |
boolean |
isLongData() |
boolean |
isNullData() |
Object |
makeJdbcArray(int intVal) |
Object |
toJdbc() |
String |
toString() |
void |
writeBinary(PacketOutputStream pos)
Write data to socket in binary format.
|
void |
writeTo(PacketOutputStream pos) |
asciiStreamValue, bigDecimalValue, binaryStreamValue, booleanValue, byteValue, characterStreamValue, dateValue, doubleValue, equals, floatValue, getBytes, getLength, getStream, intValue, longValue, setByte, setBytes, setShareBytes, shareBytes, stringValue, stringValue, timestampValue, timestampValue, timeValue, timeValuepublic NUMBER_FLOAT(float value)
public NUMBER_FLOAT(float value,
byte[] bytes)
public void writeTo(PacketOutputStream pos) throws IOException
IOExceptionpublic int getApproximateTextProtocolLength()
public void writeBinary(PacketOutputStream pos) throws IOException
pos - socket output streamIOException - if socket error occurpublic ColumnType getColumnType()
public boolean isNullData()
public boolean isLongData()
public boolean isConvertibleTo(Class targetClass)
isConvertibleTo in class Datumpublic Object toJdbc() throws SQLException
toJdbc in class DatumSQLExceptionpublic Object makeJdbcArray(int intVal)
makeJdbcArray in class DatumCopyright © 2022 oceanbase.com. All rights reserved.