Class VarBinaryBinder<T extends FieldVector & ElementAddressableVector>
java.lang.Object
org.apache.arrow.adapter.jdbc.binder.BaseColumnBinder<T>
org.apache.arrow.adapter.jdbc.binder.VarBinaryBinder<T>
- Type Parameters:
- T- The binary vector.
- All Implemented Interfaces:
- ColumnBinder
public class VarBinaryBinder<T extends FieldVector & ElementAddressableVector>
extends BaseColumnBinder<T>
A binder for variable-width binary types.
- 
Field SummaryFields inherited from class org.apache.arrow.adapter.jdbc.binder.BaseColumnBinderjdbcType, vector
- 
Constructor SummaryConstructorsConstructorDescriptionVarBinaryBinder(T vector, int jdbcType) Create a binder for the given vector using the given JDBC type for null values.
- 
Method SummaryModifier and TypeMethodDescriptionvoidbind(PreparedStatement statement, int parameterIndex, int rowIndex) Bind the given row to the given parameter.Methods inherited from class org.apache.arrow.adapter.jdbc.binder.BaseColumnBindergetJdbcType, getVector
- 
Constructor Details- 
VarBinaryBinderCreate a binder for the given vector using the given JDBC type for null values.- Parameters:
- vector- The vector to draw values from.
- jdbcType- The JDBC type code.
 
 
- 
- 
Method Details- 
bindDescription copied from interface:ColumnBinderBind the given row to the given parameter.- 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
 
 
-