| Package | Description |
|---|---|
| org.apache.parquet.bytes | |
| org.apache.parquet.compression |
| Modifier and Type | Class and Description |
|---|---|
class |
ConcatenatingByteArrayCollector
Deprecated.
Use
ConcatenatingByteBufferCollector instead. |
class |
ConcatenatingByteBufferCollector
Alternative to
ConcatenatingByteArrayCollector but using ByteBuffers allocated by its
ByteBufferAllocator. |
| Modifier and Type | Method and Description |
|---|---|
static BytesInput |
BytesInput.concat(BytesInput... inputs)
logically concatenate the provided inputs
|
static BytesInput |
BytesInput.concat(List<BytesInput> inputs)
logically concatenate the provided inputs
|
BytesInput |
BytesInput.copy(ByteBufferAllocator allocator,
Consumer<ByteBuffer> callback)
Copies the content of this
BytesInput object to a newly created ByteBuffer and returns it wrapped
in a BytesInput object. |
BytesInput |
BytesInput.copy(ByteBufferReleaser releaser)
Similar to
copy(ByteBufferAllocator, Consumer) where the allocator and the callback are in the specified
ByteBufferReleaser. |
static BytesInput |
BytesInput.copy(BytesInput bytesInput)
Deprecated.
Use
copy(ByteBufferAllocator, Consumer) instead |
static BytesInput |
BytesInput.empty() |
static BytesInput |
BytesInput.from(byte[] in) |
static BytesInput |
BytesInput.from(byte[] in,
int offset,
int length) |
static BytesInput |
BytesInput.from(ByteArrayOutputStream baos) |
static BytesInput |
BytesInput.from(ByteBuffer... buffers) |
static BytesInput |
BytesInput.from(ByteBuffer buffer,
int offset,
int length)
Deprecated.
Will be removed in 2.0.0
|
static BytesInput |
BytesInput.from(CapacityByteArrayOutputStream arrayOut) |
static BytesInput |
BytesInput.from(InputStream in,
int bytes) |
static BytesInput |
BytesInput.from(List<ByteBuffer> buffers) |
static BytesInput |
BytesInput.fromInt(int intValue) |
static BytesInput |
BytesInput.fromUnsignedVarInt(int intValue) |
static BytesInput |
BytesInput.fromUnsignedVarLong(long longValue) |
static BytesInput |
BytesInput.fromZigZagVarInt(int intValue) |
static BytesInput |
BytesInput.fromZigZagVarLong(long longValue) |
| Modifier and Type | Method and Description |
|---|---|
void |
ConcatenatingByteArrayCollector.collect(BytesInput bytesInput)
Deprecated.
|
void |
ConcatenatingByteBufferCollector.collect(BytesInput bytesInput)
Collects the content of the specified input.
|
static BytesInput |
BytesInput.concat(BytesInput... inputs)
logically concatenate the provided inputs
|
static BytesInput |
BytesInput.copy(BytesInput bytesInput)
Deprecated.
Use
copy(ByteBufferAllocator, Consumer) instead |
| Modifier and Type | Method and Description |
|---|---|
static BytesInput |
BytesInput.concat(List<BytesInput> inputs)
logically concatenate the provided inputs
|
| Modifier and Type | Method and Description |
|---|---|
BytesInput |
CompressionCodecFactory.BytesInputCompressor.compress(BytesInput bytes)
Compresses the specified
BytesInput data and returns it as BytesInput. |
BytesInput |
CompressionCodecFactory.BytesInputDecompressor.decompress(BytesInput bytes,
int decompressedSize)
Decompresses the specified
BytesInput data and returns it as BytesInput. |
| Modifier and Type | Method and Description |
|---|---|
BytesInput |
CompressionCodecFactory.BytesInputCompressor.compress(BytesInput bytes)
Compresses the specified
BytesInput data and returns it as BytesInput. |
BytesInput |
CompressionCodecFactory.BytesInputDecompressor.decompress(BytesInput bytes,
int decompressedSize)
Decompresses the specified
BytesInput data and returns it as BytesInput. |
Copyright © 2023 The Apache Software Foundation. All rights reserved.