models.ebean
Class ScalarGeometry
java.lang.Object
com.avaje.ebeaninternal.server.type.ScalarTypeBase<com.vividsolutions.jts.geom.Geometry>
models.ebean.ScalarGeometry
- All Implemented Interfaces:
- com.avaje.ebean.text.StringFormatter, com.avaje.ebean.text.StringParser, com.avaje.ebeaninternal.server.type.ScalarDataReader<com.vividsolutions.jts.geom.Geometry>, com.avaje.ebeaninternal.server.type.ScalarType<com.vividsolutions.jts.geom.Geometry>
public class ScalarGeometry
- extends com.avaje.ebeaninternal.server.type.ScalarTypeBase<com.vividsolutions.jts.geom.Geometry>
Field Summary |
static com.vividsolutions.jts.io.WKBReader |
wkbReader
|
static com.vividsolutions.jts.io.WKBWriter |
wkbWriter
|
Fields inherited from class com.avaje.ebeaninternal.server.type.ScalarTypeBase |
jdbcNative, jdbcType, type |
Method Summary |
void |
bind(com.avaje.ebeaninternal.server.type.DataBind b,
com.vividsolutions.jts.geom.Geometry value)
|
java.lang.String |
formatValue(com.vividsolutions.jts.geom.Geometry t)
|
byte[] |
fromGeom(com.vividsolutions.jts.geom.Geometry geometry)
|
boolean |
isDateTimeCapable()
|
java.lang.Object |
luceneFromIndexValue(java.lang.Object value)
|
java.lang.Object |
luceneToIndexValue(java.lang.Object value)
|
com.vividsolutions.jts.geom.Geometry |
parse(java.lang.String value)
|
com.vividsolutions.jts.geom.Geometry |
parseDateTime(long systemTimeMillis)
|
com.vividsolutions.jts.geom.Geometry |
read(com.avaje.ebeaninternal.server.type.DataReader dataReader)
|
java.lang.Object |
readData(java.io.DataInput dataInput)
|
com.vividsolutions.jts.geom.Geometry |
toBeanType(java.lang.Object value)
|
java.lang.Object |
toJdbcType(java.lang.Object value)
|
void |
writeData(java.io.DataOutput dataOutput,
java.lang.Object v)
|
Methods inherited from class com.avaje.ebeaninternal.server.type.ScalarTypeBase |
accumulateScalarTypes, format, getDbNullValue, getJdbcType, getLength, getType, isDbNull, isJdbcNative, jsonFromString, jsonToString, jsonWrite, loadIgnore |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
wkbReader
public static final com.vividsolutions.jts.io.WKBReader wkbReader
wkbWriter
public static final com.vividsolutions.jts.io.WKBWriter wkbWriter
ScalarGeometry
public ScalarGeometry()
fromGeom
public byte[] fromGeom(com.vividsolutions.jts.geom.Geometry geometry)
bind
public void bind(com.avaje.ebeaninternal.server.type.DataBind b,
com.vividsolutions.jts.geom.Geometry value)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
read
public com.vividsolutions.jts.geom.Geometry read(com.avaje.ebeaninternal.server.type.DataReader dataReader)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
toJdbcType
public java.lang.Object toJdbcType(java.lang.Object value)
toBeanType
public com.vividsolutions.jts.geom.Geometry toBeanType(java.lang.Object value)
formatValue
public java.lang.String formatValue(com.vividsolutions.jts.geom.Geometry t)
parse
public com.vividsolutions.jts.geom.Geometry parse(java.lang.String value)
parseDateTime
public com.vividsolutions.jts.geom.Geometry parseDateTime(long systemTimeMillis)
isDateTimeCapable
public boolean isDateTimeCapable()
luceneFromIndexValue
public java.lang.Object luceneFromIndexValue(java.lang.Object value)
luceneToIndexValue
public java.lang.Object luceneToIndexValue(java.lang.Object value)
readData
public java.lang.Object readData(java.io.DataInput dataInput)
throws java.io.IOException
- Throws:
java.io.IOException
writeData
public void writeData(java.io.DataOutput dataOutput,
java.lang.Object v)
throws java.io.IOException
- Throws:
java.io.IOException