Package org.duckdb
Class DuckDBValue
java.lang.Object
org.duckdb.DuckDBValue
- All Implemented Interfaces:
AutoCloseable
-
Method Summary
Modifier and TypeMethodDescriptionvoidclose()booleanbooleangetBoolean(boolean defaultValue) bytegetByte()bytegetByte(byte defaultValue) doubledoublegetDouble(double defaultValue) floatgetFloat()floatgetFloat(float defaultValue) intgetInt()intgetInt(int defaultValue) longgetLong()longgetLong(long defaultValue) shortgetShort()shortgetShort(short defaultValue) intintgetUint16(int defaultValue) longlonggetUint32(long defaultValue) shortgetUint8()shortgetUint8(short defaultValue) booleanisNull()
-
Method Details
-
isNull
public boolean isNull() -
getBoolean
public boolean getBoolean() -
getBoolean
public boolean getBoolean(boolean defaultValue) -
getByte
public byte getByte() -
getByte
public byte getByte(byte defaultValue) -
getUint8
public short getUint8() -
getUint8
public short getUint8(short defaultValue) -
getShort
public short getShort() -
getShort
public short getShort(short defaultValue) -
getUint16
public int getUint16() -
getUint16
public int getUint16(int defaultValue) -
getInt
public int getInt() -
getInt
public int getInt(int defaultValue) -
getUint32
public long getUint32() -
getUint32
public long getUint32(long defaultValue) -
getLong
public long getLong() -
getLong
public long getLong(long defaultValue) -
getUint64
-
getHugeInt
-
getUHugeInt
-
getFloat
public float getFloat() -
getFloat
public float getFloat(float defaultValue) -
getDouble
public double getDouble() -
getDouble
public double getDouble(double defaultValue) -
getBigDecimal
-
getLocalDate
-
getLocalDateTime
-
getString
-
close
public void close()- Specified by:
closein interfaceAutoCloseable
-