Package org.apache.calcite.avatica.util
Class AbstractCursor.LongAccessor
- java.lang.Object
-
- org.apache.calcite.avatica.util.AbstractCursor.AccessorImpl
-
- org.apache.calcite.avatica.util.AbstractCursor.ExactNumericAccessor
-
- org.apache.calcite.avatica.util.AbstractCursor.LongAccessor
-
- All Implemented Interfaces:
Cursor.Accessor
- Direct Known Subclasses:
AbstractCursor.IntervalDayTimeAccessor
- Enclosing class:
- AbstractCursor
private static class AbstractCursor.LongAccessor extends AbstractCursor.ExactNumericAccessor
Accessor that assumes that the underlying value is aLong; corresponds toTypes.BIGINT.
-
-
Field Summary
-
Fields inherited from class org.apache.calcite.avatica.util.AbstractCursor.AccessorImpl
getter
-
-
Constructor Summary
Constructors Modifier Constructor Description privateLongAccessor(AbstractCursor.Getter getter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longgetLong()-
Methods inherited from class org.apache.calcite.avatica.util.AbstractCursor.ExactNumericAccessor
getBigDecimal, getBigDecimal, getDouble, getFloat
-
Methods inherited from class org.apache.calcite.avatica.util.AbstractCursor.AccessorImpl
getArray, getAsciiStream, getBinaryStream, getBlob, getBoolean, getByte, getBytes, getCharacterStream, getClob, getDate, getInt, getNCharacterStream, getNClob, getNString, getObject, getObject, getObject, getRef, getShort, getSQLXML, getString, getStruct, getTime, getTimestamp, getUnicodeStream, getURL, wasNull
-
-
-
-
Constructor Detail
-
LongAccessor
private LongAccessor(AbstractCursor.Getter getter)
-
-
Method Detail
-
getLong
public long getLong() throws java.sql.SQLException- Specified by:
getLongin interfaceCursor.Accessor- Specified by:
getLongin classAbstractCursor.ExactNumericAccessor- Throws:
java.sql.SQLException
-
-