|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The low-level attribute reading API. An AttributeReader is responsible for reading a finite set of attributes from an underlying storage format. It provides meta-data regarding the data it can provide, and an iterative, row-based approach for accessing the data.
AttributeAcceptor
Method Summary | |
void |
close()
Release any resources associated with this reader |
int |
getAttributeCount()
The number of attributes this reader can read, i.e the length of a row. |
AttributeType |
getAttributeType(int index)
Retrieve the AttributeType at the given index. |
boolean |
hasNext()
Does another set of attributes exist in this reader? |
void |
next()
Advance the reader to the next set of attributes. |
java.lang.Object |
read(int index)
Read the attribute at the given index. |
Method Detail |
public int getAttributeCount()
public AttributeType getAttributeType(int index) throws java.lang.ArrayIndexOutOfBoundsException
java.lang.ArrayIndexOutOfBoundsException
public void close() throws java.io.IOException
java.io.IOException
public boolean hasNext() throws java.io.IOException
true
if additional content exists for
AttributeReader
java.io.IOException
public void next() throws java.io.IOException
java.io.IOException
public java.lang.Object read(int index) throws java.io.IOException, java.lang.ArrayIndexOutOfBoundsException
java.io.IOException
java.lang.ArrayIndexOutOfBoundsException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |