|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
- Added hasNext to support the FeatureWriter API. - Changed order of writer parameters to match Collections, JDBC API. - Added IOExceptions on all methods. - Do we want AttributeWriters to know about the schema and perform validation??
Method Summary | |
void |
close()
|
int |
getAttributeCount()
The number of attributes this reader can read, i.e the length of a row. |
AttributeType |
getAttributeType(int i)
Retrieve the AttributeType at the given index. |
boolean |
hasNext()
Query whether there are other rows in the attribute writer. |
void |
next()
Advance the AttributeWriter, all calls to write will correspond to the same set of attributes until next is called again. |
void |
write(int position,
java.lang.Object attribute)
Write the given attribute value at the position indicated. |
Method Detail |
public int getAttributeCount()
public AttributeType getAttributeType(int i) throws java.lang.ArrayIndexOutOfBoundsException
java.lang.ArrayIndexOutOfBoundsException
public void next() throws java.io.IOException
java.io.IOException
public void write(int position, java.lang.Object attribute) throws java.io.IOException
java.io.IOException
public void close() throws java.io.IOException
java.io.IOException
public boolean hasNext() throws java.io.IOException
java.io.IOException
FeatureWriter.hasNext()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |