package st
Type Members
- sealed trait GeospatialInputTypes extends Expression with ImplicitCastInputTypes
ST expressions are behind a feature flag while the geospatial module is under development.
- case class ST_AsBinary(geo: Expression) extends Expression with RuntimeReplaceable with GeospatialInputTypes with UnaryLike[Expression] with Product with Serializable
Returns the input GEOGRAPHY or GEOMETRY value in WKB format.
Returns the input GEOGRAPHY or GEOMETRY value in WKB format. See https://en.wikipedia.org/wiki/Well-known_text_representation_of_geometry#Well-known_binary for more details on the WKB format.
- Annotations
- @ExpressionDescription()
- case class ST_GeogFromWKB(wkb: Expression) extends Expression with RuntimeReplaceable with GeospatialInputTypes with UnaryLike[Expression] with Product with Serializable
Parses the WKB description of a geography and returns the corresponding GEOGRAPHY value.
Parses the WKB description of a geography and returns the corresponding GEOGRAPHY value. The SRID value of the returned GEOGRAPHY value is 4326. See https://en.wikipedia.org/wiki/Well-known_text_representation_of_geometry#Well-known_binary for more details on the WKB format.
- Annotations
- @ExpressionDescription()
- case class ST_GeomFromWKB(wkb: Expression) extends Expression with RuntimeReplaceable with GeospatialInputTypes with UnaryLike[Expression] with Product with Serializable
Parses the WKB description of a geometry and returns the corresponding GEOMETRY value.
Parses the WKB description of a geometry and returns the corresponding GEOMETRY value. The SRID value of the returned GEOMETRY value is 0. See https://en.wikipedia.org/wiki/Well-known_text_representation_of_geometry#Well-known_binary for more details on the WKB format.
- Annotations
- @ExpressionDescription()
- case class ST_SetSrid(geo: Expression, srid: Expression) extends Expression with RuntimeReplaceable with GeospatialInputTypes with BinaryLike[Expression] with Product with Serializable
Returns a new GEOGRAPHY or GEOMETRY value whose SRID is the specified SRID value.
Returns a new GEOGRAPHY or GEOMETRY value whose SRID is the specified SRID value.
- Annotations
- @ExpressionDescription()
- case class ST_Srid(geo: Expression) extends Expression with RuntimeReplaceable with GeospatialInputTypes with UnaryLike[Expression] with Product with Serializable
Returns the SRID of the input GEOGRAPHY or GEOMETRY value.
Returns the SRID of the input GEOGRAPHY or GEOMETRY value. Returns NULL if the input is NULL. See https://en.wikipedia.org/wiki/Spatial_reference_system#Identifier for more details on the Spatial Reference System Identifier (SRID).
- Annotations
- @ExpressionDescription()