Package io.deephaven.extensions.arrow
Class ArrowWrapperTools
java.lang.Object
io.deephaven.extensions.arrow.ArrowWrapperTools
This class contains tools for dealing apache arrow data.
ArrowBooleanColumnSource- usesBitVectorunder the hood, returns BooleanArrowByteColumnSource- usesTinyIntVectorunder the hood, returns byteArrowCharColumnSource- usesUInt2Vectorunder the hood, returns longArrowFloatColumnSource- usesFloat4Vectorunder the hood, returns floatArrowDoubleColumnSource- usesFloat8Vectorunder the hood, returns doubleArrowShortColumnSource- usesSmallIntVectorunder the hood, returns shortArrowIntColumnSource- usesIntVectorunder the hood, returns intArrowLongColumnSource- usesBigIntVectorunder the hood, returns longArrowUInt1ColumnSource- usesUInt1Vectorunder the hood, returns shortArrowUInt4ColumnSource- usesUInt4Vectorunder the hood, returns longArrowObjectColumnSource<BigInteger>- usesUInt8Vectorunder the hood, returns BigIntegerArrowLocalTimeColumnSource- usesTimeMilliVectorunder the hood, returns LocalTimeArrowInstantColumnSource- usesTimeStampVectorunder the hood, returns DateTimeArrowStringColumnSource- usesVarCharVectorunder the hood, returns StringArrowObjectColumnSource<byte[]>- usesFixedSizeBinaryVectorunder the hood, returns byte[]ArrowObjectColumnSource<byte[]>- usesVarBinaryVectorunder the hood, returns byte[]ArrowObjectColumnSource<BigDecimal>- usesDecimalVectorunder the hood, returns BigDecimalArrowObjectColumnSource<BigDecimal>- usesDecimal256Vectorunder the hood, returns BigDecimalArrowObjectColumnSource<LocalDateTime>- usesDateMilliVectorunder the hood, returns LocalDateTime
Note that Arrow's Java implementation only supports feather v2, as a result this class only supports feather v2.
There are some performance issues under certain data access patterns. See deephaven-core#3633 for details and suggested future improvements.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic final class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic QueryTablereadFeather(@NotNull String path) Reads arrow data from a feather-formatted file and returns a query table
-
Constructor Details
-
ArrowWrapperTools
public ArrowWrapperTools()
-
-
Method Details
-
readFeather
Reads arrow data from a feather-formatted file and returns a query table
-