class GeometryType extends AtomicType with Serializable
The data type representing GEOMETRY 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 Cartesian coordinate system.
- Annotations
- @Unstable()
- Source
- GeometryType.scala
- Alphabetic
- By Inheritance
- GeometryType
- Serializable
- AtomicType
- DataType
- AbstractDataType
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def acceptsGeometryType(gt: GeometryType): Boolean
The GeometryType with a mixed SRID can accept any other GeometryType, i.e.
The GeometryType with a mixed SRID can accept any other GeometryType, i.e. either a fixed SRID GeometryType or another mixed SRID GeometryType. Conversely, a GeometryType with a fixed SRID can only accept another GeometryType with the same fixed SRID value, and not a mixed SRID.
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def catalogString: String
String representation for the type saved in external catalogs.
String representation for the type saved in external catalogs.
- Definition Classes
- DataType
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- val crs: String
- def defaultSize: Int
The default size of a value of the GeometryType is 2048 bytes, which can store roughly 120 2D points.
The default size of a value of the GeometryType is 2048 bytes, which can store roughly 120 2D points.
- Definition Classes
- GeometryType → DataType
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(obj: Any): Boolean
Two types are considered equal iff they are both GeometryTypes and have the same SRID value.
Two types are considered equal iff they are both GeometryTypes and have the same SRID value. For the GEOMETRY type, the SRID value uniquely identifies its type information.
- Definition Classes
- GeometryType → AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def hashCode(): Int
The hash code of the GeometryType is derived from its SRID value.
The hash code of the GeometryType is derived from its SRID value.
- Definition Classes
- GeometryType → AnyRef → Any
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isMixedSrid: Boolean
The GeometryType is a mixed SRID type iff the SRID is MIXED_SRID.
The GeometryType is a mixed SRID type iff the SRID is MIXED_SRID. Semantically, this means that different SRID values per row are allowed.
- def json: String
The compact JSON representation of this data type.
The compact JSON representation of this data type.
- Definition Classes
- DataType
- def jsonValue: JValue
JSON representation of the GeometryType, which uses the CRS string, in line with the current storage specifications (e.g.
JSON representation of the GeometryType, which uses the CRS 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
- GeometryType → DataType
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- def prettyJson: String
The pretty (i.e.
The pretty (i.e. indented) JSON representation of this data type.
- Definition Classes
- DataType
- def simpleString: String
Readable string representation for the type.
Readable string representation for the type.
- Definition Classes
- DataType → AbstractDataType
- def sql: String
- Definition Classes
- DataType
- val srid: Int
Spatial Reference Identifier (SRID) value of the geometry type.
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
String representation of the GeometryType, 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 GeometryType, 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
- GeometryType → AnyRef → Any
- def typeName: String
Type name that is displayed to users.
Type name that is displayed to users.
- Definition Classes
- GeometryType → DataType
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)