public final class SliceBigArray extends Object
| Constructor and Description |
|---|
SliceBigArray() |
SliceBigArray(io.airlift.slice.Slice slice) |
| Modifier and Type | Method and Description |
|---|---|
void |
ensureCapacity(long length)
Ensures this big array is at least the specified length.
|
io.airlift.slice.Slice |
get(long index)
Returns the element of this big array at specified index.
|
void |
set(long index,
io.airlift.slice.Slice value)
Sets the element of this big array at specified index.
|
long |
sizeOf()
Returns the size of this big array in bytes.
|
public SliceBigArray()
public SliceBigArray(io.airlift.slice.Slice slice)
public long sizeOf()
public io.airlift.slice.Slice get(long index)
index - a position in this big array.public void set(long index,
io.airlift.slice.Slice value)
index - a position in this big array.public void ensureCapacity(long length)
Copyright © 2012–2022. All rights reserved.