Class ArrowByteArrayConsumer
java.lang.Object
com.alibaba.fastjson2.support.arrow.ArrowByteArrayConsumer
- All Implemented Interfaces:
ByteArrayValueConsumer
-
Constructor Summary
ConstructorsConstructorDescriptionArrowByteArrayConsumer(org.apache.arrow.vector.types.pojo.Schema schema, int rowCount, ObjIntConsumer<org.apache.arrow.vector.VectorSchemaRoot> rootConsumer, Consumer<Long[]> committer) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.alibaba.fastjson2.reader.ByteArrayValueConsumer
beforeRow, end, start
-
Constructor Details
-
ArrowByteArrayConsumer
public ArrowByteArrayConsumer(org.apache.arrow.vector.types.pojo.Schema schema, int rowCount, ObjIntConsumer<org.apache.arrow.vector.VectorSchemaRoot> rootConsumer, Consumer<Long[]> committer)
-
-
Method Details
-
afterRow
public void afterRow(int row) - Specified by:
afterRowin interfaceByteArrayValueConsumer
-
allocateNew
public void allocateNew(int blockSize) -
accept
- Specified by:
acceptin interfaceByteArrayValueConsumer
-