Class ListBinder
java.lang.Object
org.apache.arrow.adapter.jdbc.binder.BaseColumnBinder<ListVector>
org.apache.arrow.adapter.jdbc.binder.ListBinder
- All Implemented Interfaces:
ColumnBinder
A column binder for list of primitive values.
-
Field Summary
Fields inherited from class org.apache.arrow.adapter.jdbc.binder.BaseColumnBinder
jdbcType, vector
-
Constructor Summary
ConstructorDescriptionListBinder
(ListVector vector) ListBinder
(ListVector vector, int jdbcType) Init ListBinder and determine type of data vector. -
Method Summary
Modifier and TypeMethodDescriptionvoid
bind
(PreparedStatement statement, int parameterIndex, int rowIndex) Bind the given row to the given parameter.Methods inherited from class org.apache.arrow.adapter.jdbc.binder.BaseColumnBinder
getJdbcType, getVector
-
Constructor Details
-
ListBinder
-
ListBinder
Init ListBinder and determine type of data vector.- Parameters:
vector
- corresponding data vector from arrow buffer for bindingjdbcType
- parameter jdbc type
-
-
Method Details
-
bind
Description copied from interface:ColumnBinder
Bind 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
-