Package | Description |
---|---|
org.elasticsearch.common.bytes | |
org.elasticsearch.common.io.stream | |
org.elasticsearch.common.util |
Modifier and Type | Field and Description |
---|---|
protected ByteArray |
PagedBytesReference.bytearray |
Constructor and Description |
---|
PagedBytesReference(BigArrays bigarrays,
ByteArray bytearray,
int length) |
PagedBytesReference(BigArrays bigarrays,
ByteArray bytearray,
int from,
int length) |
ReleasablePagedBytesReference(BigArrays bigarrays,
ByteArray bytearray,
int length) |
Modifier and Type | Field and Description |
---|---|
protected ByteArray |
BytesStreamOutput.bytes |
Modifier and Type | Method and Description |
---|---|
ByteArray |
BigArrays.grow(ByteArray array,
long minSize)
Grow an array to a size that is larger than
minSize , preserving content, and potentially reusing part of the provided array. |
ByteArray |
BigArrays.newByteArray(long size)
Allocate a new
ByteArray initialized with zeros. |
ByteArray |
BigArrays.newByteArray(long size,
boolean clearOnResize)
Allocate a new
ByteArray . |
ByteArray |
BigArrays.resize(ByteArray array,
long size)
Resize the array to the exact provided size.
|
Modifier and Type | Method and Description |
---|---|
boolean |
BigArrays.equals(ByteArray array,
ByteArray other) |
ByteArray |
BigArrays.grow(ByteArray array,
long minSize)
Grow an array to a size that is larger than
minSize , preserving content, and potentially reusing part of the provided array. |
int |
BigArrays.hashCode(ByteArray array) |
ByteArray |
BigArrays.resize(ByteArray array,
long size)
Resize the array to the exact provided size.
|
Copyright © 2009–2016. All rights reserved.