Example #1
0
 public Geometry getGeometry() {
   DataInputStream in = new DataInputStream(new ByteArrayInputStream(stmt.columnBlob(1)));
   try {
     return Line.fromBinary(in);
   } catch (IOException e) {
     throw new EGisException(e);
   }
 }
Example #2
0
 public void close() {
   stmt.close();
 }
Example #3
0
 public Object getRaw() {
   return stmt.columnBlob(0);
 }
Example #4
0
 public boolean next() {
   return stmt.next();
 }