public class JoiningAttributeReader extends Object implements AttributeReader
| Constructor and Description |
|---|
JoiningAttributeReader(AttributeReader[] readers)
Creates a new instance of JoiningAttributeReader
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
AttributeDescriptor |
getAttributeType(int i)
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.
|
Object |
read(int idx)
Read the attribute at the given index.
|
public JoiningAttributeReader(AttributeReader[] readers)
readers - Readers to joinpublic void close()
throws IOException
AttributeReaderclose in interface AttributeReaderIOExceptionpublic boolean hasNext()
throws IOException
AttributeReaderhasNext in interface AttributeReadertrue if additional content exists for AttributeReaderIOExceptionpublic void next()
throws IOException
AttributeReadernext in interface AttributeReaderIOExceptionpublic Object read(int idx) throws IOException
AttributeReaderread in interface AttributeReaderIOExceptionpublic int getAttributeCount()
AttributeReadergetAttributeCount in interface AttributeReaderpublic AttributeDescriptor getAttributeType(int i)
AttributeReadergetAttributeType in interface AttributeReaderCopyright © 1996–2019 Geotools. All rights reserved.