| Package | Description |
|---|---|
| org.apache.arrow.vector.compression | |
| org.apache.arrow.vector.ipc |
| Modifier and Type | Method and Description |
|---|---|
static CompressionUtil.CodecType |
CompressionUtil.CodecType.fromCompressionType(byte type)
Gets the codec type from the compression type defined in
CompressionType. |
CompressionUtil.CodecType |
NoCompressionCodec.getCodecType() |
CompressionUtil.CodecType |
CompressionCodec.getCodecType()
Gets the type of the codec.
|
static CompressionUtil.CodecType |
CompressionUtil.CodecType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CompressionUtil.CodecType[] |
CompressionUtil.CodecType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
CompressionCodec |
NoCompressionCodec.Factory.createCodec(CompressionUtil.CodecType codecType) |
CompressionCodec |
CompressionCodec.Factory.createCodec(CompressionUtil.CodecType codecType)
Creates the codec based on the codec type.
|
| Constructor and Description |
|---|
ArrowFileWriter(VectorSchemaRoot root,
DictionaryProvider provider,
WritableByteChannel out,
Map<String,String> metaData,
IpcOption option,
CompressionCodec.Factory compressionFactory,
CompressionUtil.CodecType codecType) |
ArrowStreamWriter(VectorSchemaRoot root,
DictionaryProvider provider,
WritableByteChannel out,
IpcOption option,
CompressionCodec.Factory compressionFactory,
CompressionUtil.CodecType codecType)
Construct an ArrowStreamWriter with compression enabled.
|
ArrowWriter(VectorSchemaRoot root,
DictionaryProvider provider,
WritableByteChannel out,
IpcOption option,
CompressionCodec.Factory compressionFactory,
CompressionUtil.CodecType codecType)
Note: fields are not closed when the writer is closed.
|
Copyright © 2023 The Apache Software Foundation. All rights reserved.