public class NullableColumnBinder extends Object implements ColumnBinder
Constructor and Description |
---|
NullableColumnBinder(ColumnBinder wrapped) |
Modifier and Type | Method and Description |
---|---|
void |
bind(PreparedStatement statement,
int parameterIndex,
int rowIndex)
Bind the given row to the given parameter.
|
int |
getJdbcType()
Get the JDBC type code used by this binder.
|
FieldVector |
getVector()
Get the vector used by this binder.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forVector, forVector
public NullableColumnBinder(ColumnBinder wrapped)
public void bind(PreparedStatement statement, int parameterIndex, int rowIndex) throws SQLException
ColumnBinder
bind
in interface ColumnBinder
statement
- 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 occurspublic int getJdbcType()
ColumnBinder
getJdbcType
in interface ColumnBinder
Types
.public FieldVector getVector()
ColumnBinder
getVector
in interface ColumnBinder
Copyright © 2023 The Apache Software Foundation. All rights reserved.