public abstract static class PackedInts.Reader extends Object implements Accountable
NULL_ACCOUNTABLE| Constructor and Description |
|---|
Reader() |
| Modifier and Type | Method and Description |
|---|---|
abstract long |
get(int index)
Get the long at the given index.
|
int |
get(int index,
long[] arr,
int off,
int len)
Bulk get: read at least one and at most
len longs starting
from index into arr[off:off+len] and return
the actual number of values that have been read. |
abstract int |
size() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetChildResources, ramBytesUsedpublic abstract long get(int index)
public int get(int index,
long[] arr,
int off,
int len)
len longs starting
from index into arr[off:off+len] and return
the actual number of values that have been read.public abstract int size()
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.