|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.geotools.data.geometryless.attributeio.PointXYAttributeIO
WARNING - this may mess up if the geometry is not the last attribute in the schema. Some one please test this and remove this/fix it.
This is a very specific AttributeIO to deal with a point from two x, y columns. This probably should be generalized, into a more generic scheme to map multiple columns into one object, either geometry or non-geometry columns. Hopefully we can revisit this relatively soon.
Constructor Summary | |
PointXYAttributeIO()
|
Method Summary | |
java.lang.Object |
read(java.sql.ResultSet rs,
int position)
Reads a feature attribute out of a ResultSet |
void |
write(java.sql.PreparedStatement ps,
int position,
java.lang.Object value)
NOT YET IMPLEMENTED!!! |
void |
write(java.sql.ResultSet rs,
int position,
java.lang.Object value)
NOT YET IMPLEMENTED!!! |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PointXYAttributeIO()
Method Detail |
public java.lang.Object read(java.sql.ResultSet rs, int position) throws java.io.IOException
AttributeIO
read
in interface AttributeIO
rs
- - the resultset to be readposition
- - the position of the attribute in the resultset
java.io.IOException
- - if some exception occurs while reading the attributeAttributeIO.read(java.sql.ResultSet,
int)
public void write(java.sql.ResultSet rs, int position, java.lang.Object value) throws java.io.IOException
write
in interface AttributeIO
rs
- - the result set to be modifiedposition
- - the position in which the attribute will inserted into the result setvalue
- - the attribute that will be written into the resultset
java.io.IOException
- - if some exception occurs while writing the attributeAttributeIO.write(java.sql.ResultSet,
int, java.lang.Object)
public void write(java.sql.PreparedStatement ps, int position, java.lang.Object value) throws java.io.IOException
write
in interface AttributeIO
ps
- - the result set to be modifiedposition
- - the position in which the attribute will inserted into the result setvalue
- - the attribute that will be written into the resultset
java.io.IOException
- - if some exception occurs while writing the attributeAttributeIO.write(java.sql.PreparedStatement,
int, java.lang.Object)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |