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 AttributeWriter
IOException
public boolean hasNext() throws IOException
AttributeWriter
hasNext
in interface AttributeWriter
IOException
FeatureWriter.hasNext()
public void next() throws IOException
AttributeWriter
next
in interface AttributeWriter
IOException
public void write(int position, Object attribute) throws IOException
AttributeWriter
write
in interface AttributeWriter
IOException
public int getAttributeCount()
AttributeWriter
getAttributeCount
in interface AttributeWriter
public AttributeDescriptor getAttributeType(int i)
AttributeWriter
getAttributeType
in interface AttributeWriter
Copyright © 1996–2019 Geotools. All rights reserved.