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 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 BaseConsumer
closeMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface 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>
-