public class JoiningAttributeWriter extends Object implements AttributeWriter
| Constructor and Description |
|---|
JoiningAttributeWriter(AttributeWriter[] writers) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
int |
getAttributeCount()
The number of attributes this reader can read, i.e the length of a row.
|
AttributeDescriptor |
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.
|
public JoiningAttributeWriter(AttributeWriter[] writers)
public void close()
throws IOException
close in interface AttributeWriterIOExceptionpublic boolean hasNext()
throws IOException
AttributeWriterhasNext in interface AttributeWriterIOExceptionFeatureWriter.hasNext()public void next()
throws IOException
AttributeWriternext in interface AttributeWriterIOExceptionpublic void write(int position,
Object attribute)
throws IOException
AttributeWriterwrite in interface AttributeWriterIOExceptionpublic int getAttributeCount()
AttributeWritergetAttributeCount in interface AttributeWriterpublic AttributeDescriptor getAttributeType(int i)
AttributeWritergetAttributeType in interface AttributeWriterCopyright © 1996–2019 Geotools. All rights reserved.