Class NullableColumnBinder
java.lang.Object
org.apache.arrow.adapter.jdbc.binder.NullableColumnBinder
- All Implemented Interfaces:
ColumnBinder
A ColumnBinder that checks for nullability before deferring to a type-specific binder.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbind(PreparedStatement statement, int parameterIndex, int rowIndex) Bind the given row to the given parameter.intGet the JDBC type code used by this binder.Get the vector used by this binder.
-
Constructor Details
-
NullableColumnBinder
-
-
Method Details
-
bind
Description copied from interface:ColumnBinderBind the given row to the given parameter.- Specified by:
bindin interfaceColumnBinder- Parameters:
statement- The statement to bind to.parameterIndex- The parameter to bind to (1-indexed)rowIndex- The row to bind values from (0-indexed)- Throws:
SQLException- if an error occurs
-
getJdbcType
public int getJdbcType()Description copied from interface:ColumnBinderGet the JDBC type code used by this binder.- Specified by:
getJdbcTypein interfaceColumnBinder- Returns:
- A type code from
Types.
-
getVector
Description copied from interface:ColumnBinderGet the vector used by this binder.- Specified by:
getVectorin interfaceColumnBinder
-