Package org.apache.calcite.avatica.util
Interface Cursor.Accessor
-
- All Known Implementing Classes:
AbstractCursor.AccessorImpl,AbstractCursor.ApproximateNumericAccessor,AbstractCursor.ArrayAccessor,AbstractCursor.BigDecimalAccessor,AbstractCursor.BigNumberAccessor,AbstractCursor.BinaryAccessor,AbstractCursor.BinaryFromStringAccessor,AbstractCursor.BooleanAccessor,AbstractCursor.ByteAccessor,AbstractCursor.DateAccessor,AbstractCursor.DateFromNumberAccessor,AbstractCursor.DoubleAccessor,AbstractCursor.ExactNumericAccessor,AbstractCursor.FixedStringAccessor,AbstractCursor.FloatAccessor,AbstractCursor.IntAccessor,AbstractCursor.IntervalDayTimeAccessor,AbstractCursor.IntervalYearMonthAccessor,AbstractCursor.LongAccessor,AbstractCursor.NumberAccessor,AbstractCursor.ObjectAccessor,AbstractCursor.ShortAccessor,AbstractCursor.StringAccessor,AbstractCursor.StringFromCharAccessor,AbstractCursor.StructAccessor,AbstractCursor.TimeAccessor,AbstractCursor.TimeFromNumberAccessor,AbstractCursor.TimestampAccessor,AbstractCursor.TimestampFromNumberAccessor,AbstractCursor.TimestampFromUtilDateAccessor
- Enclosing interface:
- Cursor
public static interface Cursor.AccessorAccessor of a column value.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.sql.ArraygetArray()java.io.InputStreamgetAsciiStream()java.math.BigDecimalgetBigDecimal()java.math.BigDecimalgetBigDecimal(int scale)java.io.InputStreamgetBinaryStream()java.sql.BlobgetBlob()booleangetBoolean()bytegetByte()byte[]getBytes()java.io.ReadergetCharacterStream()java.sql.ClobgetClob()java.sql.DategetDate(java.util.Calendar calendar)doublegetDouble()floatgetFloat()intgetInt()longgetLong()java.io.ReadergetNCharacterStream()java.sql.NClobgetNClob()java.lang.StringgetNString()java.lang.ObjectgetObject()<T> TgetObject(java.lang.Class<T> type)java.lang.ObjectgetObject(java.util.Map<java.lang.String,java.lang.Class<?>> map)java.sql.RefgetRef()shortgetShort()java.sql.SQLXMLgetSQLXML()java.lang.StringgetString()java.sql.StructgetStruct()java.sql.TimegetTime(java.util.Calendar calendar)java.sql.TimestampgetTimestamp(java.util.Calendar calendar)java.io.InputStreamgetUnicodeStream()java.net.URLgetURL()booleanwasNull()
-
-
-
Method Detail
-
wasNull
boolean wasNull() throws java.sql.SQLException- Throws:
java.sql.SQLException
-
getString
java.lang.String getString() throws java.sql.SQLException- Throws:
java.sql.SQLException
-
getBoolean
boolean getBoolean() throws java.sql.SQLException- Throws:
java.sql.SQLException
-
getByte
byte getByte() throws java.sql.SQLException- Throws:
java.sql.SQLException
-
getShort
short getShort() throws java.sql.SQLException- Throws:
java.sql.SQLException
-
getInt
int getInt() throws java.sql.SQLException- Throws:
java.sql.SQLException
-
getLong
long getLong() throws java.sql.SQLException- Throws:
java.sql.SQLException
-
getFloat
float getFloat() throws java.sql.SQLException- Throws:
java.sql.SQLException
-
getDouble
double getDouble() throws java.sql.SQLException- Throws:
java.sql.SQLException
-
getBigDecimal
java.math.BigDecimal getBigDecimal() throws java.sql.SQLException- Throws:
java.sql.SQLException
-
getBigDecimal
java.math.BigDecimal getBigDecimal(int scale) throws java.sql.SQLException- Throws:
java.sql.SQLException
-
getBytes
byte[] getBytes() throws java.sql.SQLException- Throws:
java.sql.SQLException
-
getAsciiStream
java.io.InputStream getAsciiStream() throws java.sql.SQLException- Throws:
java.sql.SQLException
-
getUnicodeStream
java.io.InputStream getUnicodeStream() throws java.sql.SQLException- Throws:
java.sql.SQLException
-
getBinaryStream
java.io.InputStream getBinaryStream() throws java.sql.SQLException- Throws:
java.sql.SQLException
-
getObject
java.lang.Object getObject() throws java.sql.SQLException- Throws:
java.sql.SQLException
-
getCharacterStream
java.io.Reader getCharacterStream() throws java.sql.SQLException- Throws:
java.sql.SQLException
-
getObject
java.lang.Object getObject(java.util.Map<java.lang.String,java.lang.Class<?>> map) throws java.sql.SQLException- Throws:
java.sql.SQLException
-
getRef
java.sql.Ref getRef() throws java.sql.SQLException- Throws:
java.sql.SQLException
-
getBlob
java.sql.Blob getBlob() throws java.sql.SQLException- Throws:
java.sql.SQLException
-
getClob
java.sql.Clob getClob() throws java.sql.SQLException- Throws:
java.sql.SQLException
-
getArray
java.sql.Array getArray() throws java.sql.SQLException- Throws:
java.sql.SQLException
-
getStruct
java.sql.Struct getStruct() throws java.sql.SQLException- Throws:
java.sql.SQLException
-
getDate
java.sql.Date getDate(java.util.Calendar calendar) throws java.sql.SQLException- Throws:
java.sql.SQLException
-
getTime
java.sql.Time getTime(java.util.Calendar calendar) throws java.sql.SQLException- Throws:
java.sql.SQLException
-
getTimestamp
java.sql.Timestamp getTimestamp(java.util.Calendar calendar) throws java.sql.SQLException- Throws:
java.sql.SQLException
-
getURL
java.net.URL getURL() throws java.sql.SQLException- Throws:
java.sql.SQLException
-
getNClob
java.sql.NClob getNClob() throws java.sql.SQLException- Throws:
java.sql.SQLException
-
getSQLXML
java.sql.SQLXML getSQLXML() throws java.sql.SQLException- Throws:
java.sql.SQLException
-
getNString
java.lang.String getNString() throws java.sql.SQLException- Throws:
java.sql.SQLException
-
getNCharacterStream
java.io.Reader getNCharacterStream() throws java.sql.SQLException- Throws:
java.sql.SQLException
-
getObject
<T> T getObject(java.lang.Class<T> type) throws java.sql.SQLException- Throws:
java.sql.SQLException
-
-