Module org.elasticsearch.tdigest
Package org.elasticsearch.tdigest.arrays
Interface TDigestLongArray
- All Superinterfaces:
org.apache.lucene.util.Accountable,AutoCloseable,Closeable,Releasable
Minimal interface for LongArray-like classes used within TDigest.
-
Field Summary
Fields inherited from interface org.apache.lucene.util.Accountable
NULL_ACCOUNTABLE -
Method Summary
Methods inherited from interface org.apache.lucene.util.Accountable
getChildResources, ramBytesUsedMethods inherited from interface org.elasticsearch.core.Releasable
close
-
Method Details
-
size
int size() -
get
long get(int index) -
set
void set(int index, long value) -
resize
void resize(int newSize) Resizes the array. If the new size is bigger than the current size, the new elements are set to 0.
-