Package org.geotools.data
Class JoiningAttributeReader
Object
JoiningAttributeReader
- All Implemented Interfaces:
AttributeReader
Attribute Reader that joins.
- Author:
- Ian Schneider
-
Constructor Summary
ConstructorsConstructorDescriptionJoiningAttributeReader(AttributeReader... readers) Creates a new instance of JoiningAttributeReader -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()Release any resources associated with this readerintThe number of attributes this reader can read, i.e the length of a row.getAttributeType(int i) Retrieve the AttributeType at the given index.booleanhasNext()Does another set of attributes exist in this reader?voidnext()Advance the reader to the next set of attributes.read(int idx) Read the attribute at the given index.
-
Constructor Details
-
JoiningAttributeReader
Creates a new instance of JoiningAttributeReader- Parameters:
readers- Readers to join
-
-
Method Details
-
close
Description copied from interface:AttributeReaderRelease any resources associated with this reader- Specified by:
closein interfaceAttributeReader- Throws:
IOException
-
hasNext
Description copied from interface:AttributeReaderDoes another set of attributes exist in this reader?- Specified by:
hasNextin interfaceAttributeReader- Returns:
trueif additional content exists for AttributeReader- Throws:
IOException
-
next
Description copied from interface:AttributeReaderAdvance the reader to the next set of attributes.- Specified by:
nextin interfaceAttributeReader- Throws:
IOException
-
read
Description copied from interface:AttributeReaderRead the attribute at the given index.- Specified by:
readin interfaceAttributeReader- Returns:
- Object Attribute at given index
- Throws:
IOException
-
getAttributeCount
public int getAttributeCount()Description copied from interface:AttributeReaderThe number of attributes this reader can read, i.e the length of a row.- Specified by:
getAttributeCountin interfaceAttributeReader- Returns:
- Number of attribtues this reader can read
-
getAttributeType
Description copied from interface:AttributeReaderRetrieve the AttributeType at the given index.- Specified by:
getAttributeTypein interfaceAttributeReader- Returns:
- AttributeType at given index
-