|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.wkb4j.engine.WKBReader
Creation date: 3 juil. 2002 00:16:50
Field Summary | |
protected java.lang.String[] |
emptyStringArray
|
protected static org.apache.log4j.Logger |
log
|
Fields inherited from interface org.wkb4j.engine.WKBGeometryTypes |
linearRing, wkbGeometryCollection, wkbLineString, wkbMultiLineString, wkbMultiPoint, wkbMultiPolygon, wkbPoint, wkbPolygon |
Constructor Summary | |
WKBReader()
Constructor for WKBReader. |
Method Summary | |
private void |
invertInt(byte[] record,
int offset)
|
private void |
invertLong(byte[] record,
int offset)
|
private byte[] |
parseNDRRecord(byte[] record)
|
void |
readData(java.sql.Connection dbConn,
java.lang.String completeSQLQuery,
java.util.List wordList,
org.wkb4j.engine.WKBParser parser)
Fetches the binary data from the database and pass each record to the WKBParser with the submitted WKBFactory. |
void |
readData(java.sql.Connection dbConn,
java.lang.String completeSQLQuery,
org.wkb4j.engine.WKBParser parser)
Fetches the binary data from the database and pass each record to the WKBParser with the submitted WKBFactory. |
void |
readDataWithPartialQuery(java.sql.Connection dbConn,
java.lang.String geocolumn,
java.lang.String partialSQLQuery,
org.wkb4j.engine.WKBParser parser)
Fetches the binary data from the database and pass each record to the submitted WKBParser. |
void |
readDataWithWhereClause(java.sql.Connection dbConn,
java.lang.String geocolumn,
java.lang.String geotable,
java.lang.String whereClause,
org.wkb4j.engine.WKBParser parser)
Fetches the binary data from the database and pass each record to the submitted WKBParser. |
protected java.lang.String[] |
sanitizeWords(java.util.List words)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected static org.apache.log4j.Logger log
protected java.lang.String[] emptyStringArray
Constructor Detail |
public WKBReader()
Method Detail |
protected java.lang.String[] sanitizeWords(java.util.List words)
public void readDataWithPartialQuery(java.sql.Connection dbConn, java.lang.String geocolumn, java.lang.String partialSQLQuery, org.wkb4j.engine.WKBParser parser)
partialSQLQuery
:
"FROM geotable WHERE id BETWEEN 125 AND 168"
- Parameters:
dbConn
- partialSQLQuery
- parser
-
public void readDataWithWhereClause(java.sql.Connection dbConn, java.lang.String geocolumn, java.lang.String geotable, java.lang.String whereClause, org.wkb4j.engine.WKBParser parser)
partialSQLQuery
:
"FROM geotable WHERE id BETWEEN 125 AND 168"
- Parameters:
dbConn
- parser
-
public void readData(java.sql.Connection dbConn, java.lang.String completeSQLQuery, java.util.List wordList, org.wkb4j.engine.WKBParser parser)
completeSQLQuery
:
"SELECT srid(geocolumn) AS srid, asbinary(geocolumn,'XDR') AS wkb FROM geotable WHERE id BETWEEN 125 AND 168"
dbConn
- completeSQLQuery
- wordList
- parser
- public void readData(java.sql.Connection dbConn, java.lang.String completeSQLQuery, org.wkb4j.engine.WKBParser parser)
"SELECT srid(geocolumn) AS srid, asbinary(geocolumn,'XDR') AS wkb FROM geotable WHERE id BETWEEN 125 AND 168"
dbConn
- completeSQLQuery
- parser
- private byte[] parseNDRRecord(byte[] record)
private void invertInt(byte[] record, int offset)
private void invertLong(byte[] record, int offset)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |