Class ArrayConsumer
java.lang.Object
org.apache.arrow.adapter.jdbc.consumer.BaseConsumer<ListVector>
org.apache.arrow.adapter.jdbc.consumer.ArrayConsumer
- All Implemented Interfaces:
- AutoCloseable,- JdbcConsumer<ListVector>
Consumer which consume array type values from 
ResultSet. Write the data to ListVector.- 
Field SummaryFieldsFields inherited from class org.apache.arrow.adapter.jdbc.consumer.BaseConsumercolumnIndexInResultSet, currentIndex, vector
- 
Constructor SummaryConstructorsConstructorDescriptionArrayConsumer(ListVector vector, JdbcConsumer delegate, int index) Instantiate a ArrayConsumer.
- 
Method SummaryModifier and TypeMethodDescriptionvoidclose()Close this consumer, do some clean work such as clear reuse ArrowBuf.static ArrayConsumercreateConsumer(ListVector vector, JdbcConsumer delegate, int index, boolean nullable) Creates a consumer forListVector.voidresetValueVector(ListVector vector) Reset the vector within consumer for partial read purpose.Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.arrow.adapter.jdbc.consumer.JdbcConsumerconsume
- 
Field Details- 
delegate
- 
innerVectorIndexprotected int innerVectorIndex
 
- 
- 
Constructor Details- 
ArrayConsumerInstantiate a ArrayConsumer.
 
- 
- 
Method Details- 
createConsumerpublic static ArrayConsumer createConsumer(ListVector vector, JdbcConsumer delegate, int index, boolean nullable) Creates a consumer forListVector.
- 
closeDescription copied from interface:JdbcConsumerClose this consumer, do some clean work such as clear reuse ArrowBuf.- Specified by:
- closein interface- AutoCloseable
- Specified by:
- closein interface- JdbcConsumer<ListVector>
- Overrides:
- closein class- BaseConsumer<ListVector>
- Throws:
- Exception
 
- 
resetValueVectorDescription copied from interface:JdbcConsumerReset the vector within consumer for partial read purpose.- Specified by:
- resetValueVectorin interface- JdbcConsumer<ListVector>
- Overrides:
- resetValueVectorin class- BaseConsumer<ListVector>
 
 
-