|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.bigdata.btree.raba.codec.AbstractCodedRaba
public abstract class AbstractCodedRaba
Abstract implementation throws UnsupportedOperationException for all
mutation operations.
| Constructor Summary | |
|---|---|
protected |
AbstractCodedRaba()
|
| Method Summary | |
|---|---|
int |
add(byte[] a)
Append a byte[] value to the end of the logical byte[][] (optional operation). |
int |
add(byte[] value,
int off,
int len)
Append a byte[] value to the end of the logical byte[][] (optional operation). |
int |
add(DataInput in,
int len)
Append a byte[] value to the end of the logical byte[][] (optional operation). |
boolean |
isReadOnly()
Implementation is read-only. |
Iterator<byte[]> |
iterator()
Basic implementation may be overridden if a faster implementation is available. |
void |
set(int index,
byte[] a)
Set the byte[] value at the specified index (optional operation). |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.bigdata.btree.raba.codec.ICodedRaba |
|---|
data |
| Methods inherited from interface com.bigdata.btree.raba.IRaba |
|---|
capacity, copy, get, isEmpty, isFull, isKeys, isNull, length, search, size |
| Constructor Detail |
|---|
protected AbstractCodedRaba()
| Method Detail |
|---|
public final boolean isReadOnly()
isReadOnly in interface IRabapublic final int add(byte[] a)
IRaba
add in interface IRabaa - A value.
public final int add(byte[] value,
int off,
int len)
IRaba
add in interface IRabavalue - A valueoff - The offset of the first byte to be copied.len - The #of bytes to be copied.
public final int add(DataInput in,
int len)
throws IOException
IRaba
add in interface IRabain - The input stream from which the byte[] will be read.len - The #of bytes to be read.
IOException
public final void set(int index,
byte[] a)
IRaba
set in interface IRabaindex - The index in [0:IRaba.size()-1].a - The byte[] value.public final String toString()
toString in class Objectpublic Iterator<byte[]> iterator()
iterator in interface IRabaiterator in interface Iterable<byte[]>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||