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
-
Method Summary
Modifier and TypeMethodDescriptionstatic ClobConsumer
createConsumer
(VarCharVector vector, int index, boolean nullable) Creates a consumer forVarCharVector
.void
resetValueVector
(VarCharVector vector) Reset the vector within consumer for partial read purpose.Methods inherited from class org.apache.arrow.adapter.jdbc.consumer.BaseConsumer
close
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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:JdbcConsumer
Reset the vector within consumer for partial read purpose.- Specified by:
resetValueVector
in interfaceJdbcConsumer<VarCharVector>
- Overrides:
resetValueVector
in classBaseConsumer<VarCharVector>
-