Packages

class GeographyType extends AtomicType with Serializable

The data type representing GEOGRAPHY values which are spatial objects, as defined in the Open Geospatial Consortium (OGC) Simple Feature Access specification (https://portal.ogc.org/files/?artifact_id=25355), with a geographic coordinate system.

Annotations
@Unstable()
Source
GeographyType.scala
Linear Supertypes
Serializable, AtomicType, DataType, AbstractDataType, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. GeographyType
  2. Serializable
  3. AtomicType
  4. DataType
  5. AbstractDataType
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def acceptsGeographyType(gt: GeographyType): Boolean

    The GeographyType with mixed SRID can accept any other GeographyType, i.e.

    The GeographyType with mixed SRID can accept any other GeographyType, i.e. either a fixed SRID GeographyType or another mixed SRID GeographyType. Conversely, a GeographyType with fixed SRID can only accept another GeographyType with the same fixed SRID value, and not a mixed SRID.

  5. val algorithm: EdgeInterpolationAlgorithm
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def catalogString: String

    String representation for the type saved in external catalogs.

    String representation for the type saved in external catalogs.

    Definition Classes
    DataType
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  9. val crs: String
  10. def defaultSize: Int

    The default size of a value of the GeographyType is 2048 bytes, which can store roughly 120 2D points.

    The default size of a value of the GeographyType is 2048 bytes, which can store roughly 120 2D points.

    Definition Classes
    GeographyTypeDataType
  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def equals(obj: Any): Boolean

    Two types are considered equal iff they are both GeographyTypes and have the same type info.

    Two types are considered equal iff they are both GeographyTypes and have the same type info. For the GEOGRAPHY type, the SRID value and algorithm uniquely identify its type information.

    Definition Classes
    GeographyType → AnyRef → Any
  13. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  14. def hashCode(): Int

    The hash code of the GeographyType is derived from its SRID value.

    The hash code of the GeographyType is derived from its SRID value.

    Definition Classes
    GeographyType → AnyRef → Any
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. def isMixedSrid: Boolean

    The GeographyType is a mixed SRID type iff the SRID is MIXED_SRID.

    The GeographyType is a mixed SRID type iff the SRID is MIXED_SRID. Semantically, this means that different SRID values per row are allowed.

  17. def json: String

    The compact JSON representation of this data type.

    The compact JSON representation of this data type.

    Definition Classes
    DataType
  18. def jsonValue: JValue

    JSON representation of the GeographyType, which uses the CRS string and edge interpolation algorithm string, in line with the current storage specifications (e.g.

    JSON representation of the GeographyType, which uses the CRS string and edge interpolation algorithm string, in line with the current storage specifications (e.g. Parquet, Delta, Iceberg). Note that mixed SRID is disallowed, and only fixed SRID types can be stored. This is also in accordance to storage formats.

    Definition Classes
    GeographyTypeDataType
  19. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  21. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  22. def prettyJson: String

    The pretty (i.e.

    The pretty (i.e. indented) JSON representation of this data type.

    Definition Classes
    DataType
  23. def simpleString: String

    Readable string representation for the type.

    Readable string representation for the type.

    Definition Classes
    DataType → AbstractDataType
  24. def sql: String
    Definition Classes
    DataType
  25. val srid: Int

    Spatial Reference Identifier (SRID) value of the geography type.

  26. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  27. def toString(): String

    String representation of the GeographyType, which uses SRID for fixed SRID types and "ANY" for mixed SRID types, providing a clear and concise user-friendly format for this type.

    String representation of the GeographyType, which uses SRID for fixed SRID types and "ANY" for mixed SRID types, providing a clear and concise user-friendly format for this type.

    Definition Classes
    GeographyType → AnyRef → Any
  28. def typeName: String

    Type name that is displayed to users.

    Type name that is displayed to users.

    Definition Classes
    GeographyTypeDataType
  29. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  30. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  31. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from Serializable

Inherited from AtomicType

Inherited from DataType

Inherited from AbstractDataType

Inherited from AnyRef

Inherited from Any

Ungrouped