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
AttributeReader
close
in interface AttributeReader
IOException
public boolean hasNext() throws IOException
AttributeReader
hasNext
in interface AttributeReader
true
if additional content exists for AttributeReaderIOException
public void next() throws IOException
AttributeReader
next
in interface AttributeReader
IOException
public Object read(int idx) throws IOException
AttributeReader
read
in interface AttributeReader
IOException
public int getAttributeCount()
AttributeReader
getAttributeCount
in interface AttributeReader
public AttributeDescriptor getAttributeType(int i)
AttributeReader
getAttributeType
in interface AttributeReader
Copyright © 1996–2019 Geotools. All rights reserved.