Class TimeStampBinder
java.lang.Object
org.apache.arrow.adapter.jdbc.binder.BaseColumnBinder<TimeStampVector>
org.apache.arrow.adapter.jdbc.binder.TimeStampBinder
- All Implemented Interfaces:
- ColumnBinder
A column binder for timestamps.
- 
Field SummaryFields inherited from class org.apache.arrow.adapter.jdbc.binder.BaseColumnBinderjdbcType, vector
- 
Constructor SummaryConstructorsConstructorDescriptionTimeStampBinder(TimeStampVector vector, Calendar calendar) Create a binder for a timestamp vector using the default JDBC type code.TimeStampBinder(TimeStampVector vector, Calendar calendar, int jdbcType) Create a binder for a timestamp vector.
- 
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- 
TimeStampBinderCreate a binder for a timestamp vector using the default JDBC type code.
- 
TimeStampBinderCreate a binder for a timestamp vector.- Parameters:
- vector- The vector to pull values from.
- calendar- Optionally, the calendar to pass to JDBC.
- jdbcType- The JDBC type code to use for null values.
 
 
- 
- 
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
 
 
-