Package org.apache.calcite.avatica.util
Class AbstractCursor.SlotGetter
- java.lang.Object
-
- org.apache.calcite.avatica.util.AbstractCursor.SlotGetter
-
- All Implemented Interfaces:
AbstractCursor.Getter
- Enclosing class:
- AbstractCursor
public class AbstractCursor.SlotGetter extends java.lang.Object implements AbstractCursor.Getter
Implementation ofAbstractCursor.Getterthat returns the current contents of a mutable slot.
-
-
Field Summary
Fields Modifier and Type Field Description java.lang.Objectslot
-
Constructor Summary
Constructors Constructor Description SlotGetter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.ObjectgetObject()booleanwasNull()
-
-
-
Method Detail
-
getObject
public java.lang.Object getObject() throws java.sql.SQLException- Specified by:
getObjectin interfaceAbstractCursor.Getter- Throws:
java.sql.SQLException
-
wasNull
public boolean wasNull() throws java.sql.SQLException- Specified by:
wasNullin interfaceAbstractCursor.Getter- Throws:
java.sql.SQLException
-
-