Class ScalarTypePgisLineString

java.lang.Object
io.ebean.postgis.ScalarTypePgisLineString
All Implemented Interfaces:
io.ebean.core.type.ScalarDataReader<net.postgis.jdbc.geometry.LineString>, io.ebean.core.type.ScalarType<net.postgis.jdbc.geometry.LineString>, io.ebean.text.StringFormatter, io.ebean.text.StringParser

public class ScalarTypePgisLineString extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    bind(io.ebean.core.type.DataBinder binder, net.postgis.jdbc.geometry.LineString value)
     
    io.ebean.core.type.DocPropertyType
     
    formatValue(net.postgis.jdbc.geometry.LineString value)
     
    boolean
     
    int
     
    net.postgis.jdbc.geometry.LineString
    jsonRead(com.fasterxml.jackson.core.JsonParser parser)
     
    void
    jsonWrite(com.fasterxml.jackson.core.JsonGenerator writer, net.postgis.jdbc.geometry.LineString value)
     
    net.postgis.jdbc.geometry.LineString
    parse(String value)
     
    net.postgis.jdbc.geometry.LineString
    read(io.ebean.core.type.DataReader reader)
     
    net.postgis.jdbc.geometry.LineString
    readData(DataInput dataInput)
     
    net.postgis.jdbc.geometry.LineString
     
     
    Class<net.postgis.jdbc.geometry.LineString>
     
    void
    writeData(DataOutput dataOutput, net.postgis.jdbc.geometry.LineString v)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface io.ebean.core.type.ScalarType

    asVersion, binary, format, isDirty, jsonMapper, length, mutable
  • Constructor Details

    • ScalarTypePgisLineString

      public ScalarTypePgisLineString()
  • Method Details

    • parse

      public net.postgis.jdbc.geometry.LineString parse(String value)
    • bind

      public void bind(io.ebean.core.type.DataBinder binder, net.postgis.jdbc.geometry.LineString value) throws SQLException
      Specified by:
      bind in interface io.ebean.core.type.ScalarType<T extends net.postgis.jdbc.geometry.Geometry>
      Throws:
      SQLException
    • read

      public net.postgis.jdbc.geometry.LineString read(io.ebean.core.type.DataReader reader) throws SQLException
      Specified by:
      read in interface io.ebean.core.type.ScalarDataReader<T extends net.postgis.jdbc.geometry.Geometry>
      Specified by:
      read in interface io.ebean.core.type.ScalarType<T extends net.postgis.jdbc.geometry.Geometry>
      Throws:
      SQLException
    • jdbcNative

      public boolean jdbcNative()
      Specified by:
      jdbcNative in interface io.ebean.core.type.ScalarType<T extends net.postgis.jdbc.geometry.Geometry>
    • jdbcType

      public int jdbcType()
      Specified by:
      jdbcType in interface io.ebean.core.type.ScalarType<T extends net.postgis.jdbc.geometry.Geometry>
    • type

      public Class<net.postgis.jdbc.geometry.LineString> type()
      Specified by:
      type in interface io.ebean.core.type.ScalarType<T extends net.postgis.jdbc.geometry.Geometry>
    • readData

      public net.postgis.jdbc.geometry.LineString readData(DataInput dataInput)
      Specified by:
      readData in interface io.ebean.core.type.ScalarType<T extends net.postgis.jdbc.geometry.Geometry>
    • writeData

      public void writeData(DataOutput dataOutput, net.postgis.jdbc.geometry.LineString v)
      Specified by:
      writeData in interface io.ebean.core.type.ScalarType<T extends net.postgis.jdbc.geometry.Geometry>
    • toJdbcType

      public Object toJdbcType(Object value)
      Specified by:
      toJdbcType in interface io.ebean.core.type.ScalarType<T extends net.postgis.jdbc.geometry.Geometry>
    • toBeanType

      public net.postgis.jdbc.geometry.LineString toBeanType(Object value)
      Specified by:
      toBeanType in interface io.ebean.core.type.ScalarType<T extends net.postgis.jdbc.geometry.Geometry>
    • formatValue

      public String formatValue(net.postgis.jdbc.geometry.LineString value)
      Specified by:
      formatValue in interface io.ebean.core.type.ScalarType<T extends net.postgis.jdbc.geometry.Geometry>
    • docType

      public io.ebean.core.type.DocPropertyType docType()
      Specified by:
      docType in interface io.ebean.core.type.ScalarType<T extends net.postgis.jdbc.geometry.Geometry>
    • jsonRead

      public net.postgis.jdbc.geometry.LineString jsonRead(com.fasterxml.jackson.core.JsonParser parser)
      Specified by:
      jsonRead in interface io.ebean.core.type.ScalarType<T extends net.postgis.jdbc.geometry.Geometry>
    • jsonWrite

      public void jsonWrite(com.fasterxml.jackson.core.JsonGenerator writer, net.postgis.jdbc.geometry.LineString value)
      Specified by:
      jsonWrite in interface io.ebean.core.type.ScalarType<T extends net.postgis.jdbc.geometry.Geometry>