Class ClobConsumer
java.lang.Object
org.apache.arrow.adapter.jdbc.consumer.BaseConsumer<VarCharVector>
org.apache.arrow.adapter.jdbc.consumer.ClobConsumer
- All Implemented Interfaces:
AutoCloseable,JdbcConsumer<VarCharVector>
Consumer which consume clob type values from
ResultSet. Write the data to VarCharVector.-
Field Summary
Fields inherited from class org.apache.arrow.adapter.jdbc.consumer.BaseConsumer
columnIndexInResultSet, currentIndex, vector -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ClobConsumercreateConsumer(VarCharVector vector, int index, boolean nullable) Creates a consumer forVarCharVector.voidresetValueVector(VarCharVector vector) Reset the vector within consumer for partial read purpose.Methods inherited from class org.apache.arrow.adapter.jdbc.consumer.BaseConsumer
closeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.arrow.adapter.jdbc.consumer.JdbcConsumer
consume
-
Constructor Details
-
ClobConsumer
Instantiate a ClobConsumer.
-
-
Method Details
-
createConsumer
Creates a consumer forVarCharVector. -
resetValueVector
Description copied from interface:JdbcConsumerReset the vector within consumer for partial read purpose.- Specified by:
resetValueVectorin interfaceJdbcConsumer<VarCharVector>- Overrides:
resetValueVectorin classBaseConsumer<VarCharVector>
-