Package org.apache.calcite.avatica.util
Class AbstractCursor.ArrayAccessor
java.lang.Object
org.apache.calcite.avatica.util.AbstractCursor.ArrayAccessor
- All Implemented Interfaces:
Cursor.Accessor
- Enclosing class:
- AbstractCursor
Accessor that assumes that the underlying value is an ARRAY;
corresponds to
Types.ARRAY.-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionArrayAccessor(AbstractCursor.Getter getter, ColumnMetaData.AvaticaType componentType, Cursor.Accessor componentAccessor, AbstractCursor.SlotGetter componentSlotGetter, ArrayImpl.Factory factory) -
Method Summary
-
Field Details
-
getter
-
-
Constructor Details
-
ArrayAccessor
public ArrayAccessor(AbstractCursor.Getter getter, ColumnMetaData.AvaticaType componentType, Cursor.Accessor componentAccessor, AbstractCursor.SlotGetter componentSlotGetter, ArrayImpl.Factory factory)
-
-
Method Details
-
getObject
- Specified by:
getObjectin interfaceCursor.Accessor- Throws:
SQLException
-
getArray
- Specified by:
getArrayin interfaceCursor.Accessor- Throws:
SQLException
-
getString
- Specified by:
getStringin interfaceCursor.Accessor- Throws:
SQLException
-
wasNull
- Specified by:
wasNullin interfaceCursor.Accessor- Throws:
SQLException
-
getBoolean
- Specified by:
getBooleanin interfaceCursor.Accessor- Throws:
SQLException
-
getByte
- Specified by:
getBytein interfaceCursor.Accessor- Throws:
SQLException
-
getShort
- Specified by:
getShortin interfaceCursor.Accessor- Throws:
SQLException
-
getInt
- Specified by:
getIntin interfaceCursor.Accessor- Throws:
SQLException
-
getLong
- Specified by:
getLongin interfaceCursor.Accessor- Throws:
SQLException
-
getFloat
- Specified by:
getFloatin interfaceCursor.Accessor- Throws:
SQLException
-
getDouble
- Specified by:
getDoublein interfaceCursor.Accessor- Throws:
SQLException
-
getBigDecimal
- Specified by:
getBigDecimalin interfaceCursor.Accessor- Throws:
SQLException
-
getBigDecimal
- Specified by:
getBigDecimalin interfaceCursor.Accessor- Throws:
SQLException
-
getBytes
- Specified by:
getBytesin interfaceCursor.Accessor- Throws:
SQLException
-
getAsciiStream
- Specified by:
getAsciiStreamin interfaceCursor.Accessor- Throws:
SQLException
-
getUnicodeStream
- Specified by:
getUnicodeStreamin interfaceCursor.Accessor- Throws:
SQLException
-
getBinaryStream
- Specified by:
getBinaryStreamin interfaceCursor.Accessor- Throws:
SQLException
-
getCharacterStream
- Specified by:
getCharacterStreamin interfaceCursor.Accessor- Throws:
SQLException
-
getObject
- Specified by:
getObjectin interfaceCursor.Accessor- Throws:
SQLException
-
getRef
- Specified by:
getRefin interfaceCursor.Accessor- Throws:
SQLException
-
getBlob
- Specified by:
getBlobin interfaceCursor.Accessor- Throws:
SQLException
-
getClob
- Specified by:
getClobin interfaceCursor.Accessor- Throws:
SQLException
-
getStruct
- Specified by:
getStructin interfaceCursor.Accessor- Throws:
SQLException
-
getDate
- Specified by:
getDatein interfaceCursor.Accessor- Throws:
SQLException
-
getTime
- Specified by:
getTimein interfaceCursor.Accessor- Throws:
SQLException
-
getTimestamp
- Specified by:
getTimestampin interfaceCursor.Accessor- Throws:
SQLException
-
getURL
- Specified by:
getURLin interfaceCursor.Accessor- Throws:
SQLException
-
getNClob
- Specified by:
getNClobin interfaceCursor.Accessor- Throws:
SQLException
-
getSQLXML
- Specified by:
getSQLXMLin interfaceCursor.Accessor- Throws:
SQLException
-
getNString
- Specified by:
getNStringin interfaceCursor.Accessor- Throws:
SQLException
-
getNCharacterStream
- Specified by:
getNCharacterStreamin interfaceCursor.Accessor- Throws:
SQLException
-
getObject
- Specified by:
getObjectin interfaceCursor.Accessor- Throws:
SQLException
-