public class ReadOnlyValuesRaba extends AbstractRaba
nulls but does not support
search.| Modifier and Type | Field and Description |
|---|---|
static ReadOnlyValuesRaba |
EMPTY
A read-only empty values raba.
|
a, capacity, fromIndex, toIndex| Constructor and Description |
|---|
ReadOnlyValuesRaba(byte[][] a)
Create a view of a byte[][].
|
ReadOnlyValuesRaba(int size,
byte[][] a)
Create a view of a byte[][].
|
ReadOnlyValuesRaba(int fromIndex,
int toIndex,
byte[][] a)
Create a view of a
byte[][] slice. |
ReadOnlyValuesRaba(int fromIndex,
int toIndex,
int capacity,
byte[][] a)
Create a view from a slice of a byte[][].
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isKeys()
No.
|
boolean |
isReadOnly()
This view is read-only.
|
add, add, add, assertNotFull, assertNotReadOnly, assertNullAllowed, capacity, copy, get, isEmpty, isFull, isNull, iterator, length, rangeCheck, resize, search, set, size, toString, toStringpublic static final transient ReadOnlyValuesRaba EMPTY
public ReadOnlyValuesRaba(byte[][] a)
a - The backing byte[][].public ReadOnlyValuesRaba(int size,
byte[][] a)
size-1 are assumed to have valid data.size - The #of elements with valid data.a - The backing byte[][].public ReadOnlyValuesRaba(int fromIndex,
int toIndex,
byte[][] a)
byte[][] slice. The slice will include
only those elements between the fromIndex and the toIndex. The capacity
will be the #of elements. AbstractRaba.isFull() will report true
.
Note: This constructor is used when we split an
IKeyArrayIndexProcedure based on a key-range partitioned index.
fromIndex - The index of the first visible in the view (inclusive lower
bound).toIndex - The index of the first element beyond the view (exclusive
upper bound). If toIndex == fromIndex then the view is empty.a - The backing byte[][].public ReadOnlyValuesRaba(int fromIndex,
int toIndex,
int capacity,
byte[][] a)
fromIndex - The index of the first element in the byte[][] which is
visible in the view (inclusive lower bound).toIndex - The index of the first element in the byte[][] which lies
beyond the view (exclusive upper bound).capacity - The #of elements which may be used in the view.a - The backing byte[][].public final boolean isReadOnly()
public final boolean isKeys()
true if the IRaba represents B+Tree keys and
false if it represents B+Tree values.Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.