|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.geotools.data.postgis.attributeio.PgWKBAttributeIO
An attribute IO implementation that can manage the WKB
| Constructor Summary | |
PgWKBAttributeIO(boolean useByteArray)
|
|
| Method Summary | |
static byte |
getFromChar(char c)
Turns a char that encodes four bits in hexadecimal notation into a byte |
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)
Writes a feature attribute into a PreparedStatement |
void |
write(java.sql.ResultSet rs,
int position,
java.lang.Object value)
Unsupported, will throw an UnsupportedOperationException |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public PgWKBAttributeIO(boolean useByteArray)
| Method Detail |
public static byte getFromChar(char c)
c -
public java.lang.Object read(java.sql.ResultSet rs,
int position)
throws java.io.IOException
AttributeIO
read in interface AttributeIOrs - - 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 AttributeIOrs - - 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
AttributeIO
write in interface AttributeIOps - - 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 | ||||||||||