| org.geotools.data.AttributeWriter
All known Subclasses: org.geotools.data.property.PropertyAttributeWriter, org.geotools.data.JoiningAttributeWriter, org.geotools.data.jdbc.QueryData,
AttributeWriter | public interface AttributeWriter (Code) | | - 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??
version: $Id: AttributeWriter.java 22266 2006-10-19 11:30:55Z acuster $ author: Ian Schneider author: Sean Geoghegan, Defence Science and Technology Organisation. |
Method Summary | |
void | close() | int | getAttributeCount() The number of attributes this reader can read, i.e the length of a row. | org.geotools.feature.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, Object attribute) Write the given attribute value at the position indicated. |
getAttributeCount | int getAttributeCount()(Code) | | The number of attributes this reader can read, i.e the length of a row.
|
next | void next() throws IOException(Code) | | Advance the AttributeWriter, all calls to write will correspond to the
same set of attributes until next is called again.
|
write | void write(int position, Object attribute) throws IOException(Code) | | Write the given attribute value at the position indicated.
Implementations can choose to immediately flush the write or buffer it.
|
|
|