public class ListBinder extends BaseColumnBinder<ListVector>
jdbcType, vector| Constructor and Description |
|---|
ListBinder(ListVector vector) |
ListBinder(ListVector vector,
int jdbcType)
Init ListBinder and determine type of data vector.
|
| Modifier and Type | Method and Description |
|---|---|
void |
bind(PreparedStatement statement,
int parameterIndex,
int rowIndex)
Bind the given row to the given parameter.
|
getJdbcType, getVectorclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforVector, forVectorpublic ListBinder(ListVector vector)
public ListBinder(ListVector vector, int jdbcType)
vector - corresponding data vector from arrow buffer for bindingjdbcType - parameter jdbc typepublic void bind(PreparedStatement statement, int parameterIndex, int rowIndex) throws SQLException
ColumnBinderstatement - The statement to bind to.parameterIndex - The parameter to bind to (1-indexed)rowIndex - The row to bind values from (0-indexed)SQLException - if an error occursCopyright © 2024 The Apache Software Foundation. All rights reserved.