Class Decimal256Consumer
java.lang.Object
org.apache.arrow.adapter.jdbc.consumer.BaseConsumer<Decimal256Vector>
org.apache.arrow.adapter.jdbc.consumer.Decimal256Consumer
- All Implemented Interfaces:
- AutoCloseable,- JdbcConsumer<Decimal256Vector>
Consumer which consume decimal type values from 
ResultSet. Write the data to Decimal256Vector.- 
Field SummaryFields inherited from class org.apache.arrow.adapter.jdbc.consumer.BaseConsumercolumnIndexInResultSet, currentIndex, vector
- 
Constructor SummaryConstructorsConstructorDescriptionDecimal256Consumer(Decimal256Vector vector, int index) Constructs a new consumer.Decimal256Consumer(Decimal256Vector vector, int index, RoundingMode bigDecimalRoundingMode) Constructs a new consumer, with optional coercibility.
- 
Method SummaryModifier and TypeMethodDescriptionstatic JdbcConsumer<Decimal256Vector>createConsumer(Decimal256Vector vector, int index, boolean nullable, RoundingMode bigDecimalRoundingMode) Creates a consumer forDecimal256Vector.protected voidset(BigDecimal value) Methods inherited from class org.apache.arrow.adapter.jdbc.consumer.BaseConsumerclose, resetValueVectorMethods 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
- 
Constructor Details- 
Decimal256ConsumerConstructs a new consumer.- Parameters:
- vector- the underlying vector for the consumer.
- index- the column id for the consumer.
 
- 
Decimal256ConsumerConstructs a new consumer, with optional coercibility.- Parameters:
- vector- the underlying vector for the consumer.
- index- the column index for the consumer.
- bigDecimalRoundingMode- java.math.RoundingMode to be applied if the BigDecimal scale does not match that of the target vector. Set to null to retain strict matching behavior (scale of source and target vector must match exactly).
 
 
- 
- 
Method Details- 
createConsumerpublic static JdbcConsumer<Decimal256Vector> createConsumer(Decimal256Vector vector, int index, boolean nullable, RoundingMode bigDecimalRoundingMode) Creates a consumer forDecimal256Vector.
- 
set
 
-