| Package | Description |
|---|---|
| org.apache.parquet.bytes |
| Modifier and Type | Class and Description |
|---|---|
class |
DirectByteBufferAllocator |
class |
HeapByteBufferAllocator |
| Modifier and Type | Method and Description |
|---|---|
static CapacityByteArrayOutputStream |
CapacityByteArrayOutputStream.withTargetNumSlabs(int minSlabSize,
int maxCapacityHint,
int targetNumSlabs,
ByteBufferAllocator allocator)
Construct a CapacityByteArrayOutputStream configured such that its initial slab size is
determined by
CapacityByteArrayOutputStream.initialSlabSizeHeuristic(int, int, int), with targetCapacity == maxCapacityHint |
| Constructor and Description |
|---|
CapacityByteArrayOutputStream(int initialSlabSize,
ByteBufferAllocator allocator)
|
CapacityByteArrayOutputStream(int initialSlabSize,
int maxCapacityHint,
ByteBufferAllocator allocator) |
Copyright © 2018 The Apache Software Foundation. All rights reserved.