package expressions
- Alphabetic
- Public
- All
Type Members
- case class ST_AddPoint(inputExpressions: Seq[Expression]) extends Expression with CodegenFallback with Product with Serializable
-
case class
ST_Area(inputExpressions: Seq[Expression]) extends Expression with CodegenFallback with Product with Serializable
Return the area measurement of a Geometry.
- case class ST_AsBinary(inputExpressions: Seq[Expression]) extends Expression with CodegenFallback with Product with Serializable
- case class ST_AsEWKB(inputExpressions: Seq[Expression]) extends Expression with CodegenFallback with Product with Serializable
- case class ST_AsGeoJSON(inputExpressions: Seq[Expression]) extends Expression with CodegenFallback with Product with Serializable
- case class ST_AsText(inputExpressions: Seq[Expression]) extends Expression with CodegenFallback with Product with Serializable
- case class ST_Azimuth(inputExpressions: Seq[Expression]) extends Expression with CodegenFallback with Product with Serializable
- case class ST_Boundary(inputExpressions: Seq[Expression]) extends Expression with CodegenFallback with Product with Serializable
-
case class
ST_Buffer(inputExpressions: Seq[Expression]) extends Expression with CodegenFallback with Product with Serializable
Returns a geometry/geography that represents all points whose distance from this Geometry/geography is less than or equal to distance.
-
case class
ST_Centroid(inputExpressions: Seq[Expression]) extends Expression with CodegenFallback with Product with Serializable
Return mathematical centroid of a geometry.
-
case class
ST_Contains(inputExpressions: Seq[Expression]) extends ST_Predicate with CodegenFallback with Product with Serializable
Test if leftGeometry full contains rightGeometry
-
case class
ST_ConvexHull(inputExpressions: Seq[Expression]) extends Expression with CodegenFallback with Product with Serializable
Return the convex hull of a Geometry.
-
case class
ST_Crosses(inputExpressions: Seq[Expression]) extends ST_Predicate with CodegenFallback with Product with Serializable
Test if leftGeometry crosses rightGeometry
-
case class
ST_Distance(inputExpressions: Seq[Expression]) extends Expression with CodegenFallback with Product with Serializable
Return the distance between two geometries.
Return the distance between two geometries.
- inputExpressions
This function takes two geometries and calculates the distance between two objects.
- case class ST_Dump(inputExpressions: Seq[Expression]) extends Expression with CodegenFallback with Product with Serializable
- case class ST_DumpPoints(inputExpressions: Seq[Expression]) extends Expression with CodegenFallback with Product with Serializable
- case class ST_EndPoint(inputExpressions: Seq[Expression]) extends Expression with CodegenFallback with Product with Serializable
-
case class
ST_Envelope(inputExpressions: Seq[Expression]) extends Expression with CodegenFallback with Product with Serializable
Return the bounding rectangle for a Geometry
-
class
ST_Envelope_Aggr extends expressions.Aggregator[Geometry, Geometry, Geometry] with TraitSTAggregateExec
Return the envelope boundary of the entire column
-
case class
ST_Equals(inputExpressions: Seq[Expression]) extends ST_Predicate with CodegenFallback with Product with Serializable
Test if leftGeometry is equal to rightGeometry
- case class ST_ExteriorRing(inputExpressions: Seq[Expression]) extends Expression with CodegenFallback with Product with Serializable
-
case class
ST_FlipCoordinates(inputExpressions: Seq[Expression]) extends Expression with CodegenFallback with Product with Serializable
Returns a version of the given geometry with X and Y axis flipped.
Returns a version of the given geometry with X and Y axis flipped.
- inputExpressions
Geometry
- case class ST_GeoHash(inputExpressions: Seq[Expression]) extends Expression with CodegenFallback with Product with Serializable
- case class ST_GeomFromGeoHash(inputExpressions: Seq[Expression]) extends Expression with CodegenFallback with Product with Serializable
-
case class
ST_GeomFromGeoJSON(inputExpressions: Seq[Expression]) extends Expression with CodegenFallback with UserDataGeneratator with Product with Serializable
Return a Geometry from a GeoJSON string
Return a Geometry from a GeoJSON string
- inputExpressions
This function takes 1 parameter which is the geometry string. The string format must be GeoJson.
-
case class
ST_GeomFromText(inputExpressions: Seq[Expression]) extends Expression with CodegenFallback with UserDataGeneratator with Product with Serializable
Return a Geometry from a WKT string
Return a Geometry from a WKT string
- inputExpressions
This function takes 1 parameter which is the geometry string. The string format must be WKT.
-
case class
ST_GeomFromWKB(inputExpressions: Seq[Expression]) extends Expression with CodegenFallback with UserDataGeneratator with Product with Serializable
Return a Geometry from a WKB string
Return a Geometry from a WKB string
- inputExpressions
This function takes 1 parameter which is the geometry string. The string format must be WKB.
-
case class
ST_GeomFromWKT(inputExpressions: Seq[Expression]) extends Expression with CodegenFallback with UserDataGeneratator with Product with Serializable
Return a Geometry from a WKT string
Return a Geometry from a WKT string
- inputExpressions
This function takes 1 parameter which is the geometry string. The string format must be WKT.
- case class ST_GeometryN(inputExpressions: Seq[Expression]) extends Expression with CodegenFallback with Logging with Product with Serializable
- case class ST_GeometryType(inputExpressions: Seq[Expression]) extends Expression with CodegenFallback with Product with Serializable
- case class ST_InteriorRingN(inputExpressions: Seq[Expression]) extends Expression with CodegenFallback with Product with Serializable
-
case class
ST_Intersection(inputExpressions: Seq[Expression]) extends Expression with CodegenFallback with Product with Serializable
Return the intersection shape of two geometries.
Return the intersection shape of two geometries. The return type is a geometry
-
class
ST_Intersection_Aggr extends expressions.Aggregator[Geometry, Geometry, Geometry] with TraitSTAggregateExec
Return the polygon intersection of all Polygon in the given column
-
case class
ST_Intersects(inputExpressions: Seq[Expression]) extends ST_Predicate with CodegenFallback with Product with Serializable
Test if leftGeometry full intersects rightGeometry
- case class ST_IsClosed(inputExpressions: Seq[Expression]) extends Expression with CodegenFallback with Product with Serializable
- case class ST_IsRing(inputExpressions: Seq[Expression]) extends Expression with CodegenFallback with Product with Serializable
-
case class
ST_IsSimple(inputExpressions: Seq[Expression]) extends Expression with CodegenFallback with Product with Serializable
Test if Geometry is simple.
-
case class
ST_IsValid(inputExpressions: Seq[Expression]) extends Expression with CodegenFallback with Product with Serializable
Test if Geometry is valid.
-
case class
ST_Length(inputExpressions: Seq[Expression]) extends Expression with CodegenFallback with Product with Serializable
Return the length measurement of a Geometry
-
case class
ST_LineInterpolatePoint(inputExpressions: Seq[Expression]) extends Expression with CodegenFallback with Product with Serializable
Returns a point interpolated along a line.
Returns a point interpolated along a line. First argument must be a LINESTRING. Second argument is a Double between 0 and 1 representing fraction of total linestring length the point has to be located.
-
case class
ST_LineMerge(inputExpressions: Seq[Expression]) extends Expression with CodegenFallback with Product with Serializable
Returns a LineString formed by sewing together the constituent line work of a MULTILINESTRING.
Returns a LineString formed by sewing together the constituent line work of a MULTILINESTRING. Only works for MultiLineString. Using other geometry will return GEOMETRYCOLLECTION EMPTY If the MultiLineString is can't be merged, the original multilinestring is returned
- inputExpressions
Geometry
-
case class
ST_LineStringFromText(inputExpressions: Seq[Expression]) extends Expression with CodegenFallback with UserDataGeneratator with Product with Serializable
Return a linestring from a string.
Return a linestring from a string. The string must be plain string and each coordinate must be separated by a delimiter.
-
case class
ST_LineSubstring(inputExpressions: Seq[Expression]) extends Expression with CodegenFallback with Product with Serializable
Return a linestring being a substring of the input one starting and ending at the given fractions of total 2d length.
Return a linestring being a substring of the input one starting and ending at the given fractions of total 2d length. Second and third arguments are Double values between 0 and 1. This only works with LINESTRINGs.
- case class ST_MakePolygon(inputExpressions: Seq[Expression]) extends Expression with CodegenFallback with Product with Serializable
-
case class
ST_MakeValid(inputExpressions: Seq[Expression]) extends Expression with Generator with CodegenFallback with UserDataGeneratator with Product with Serializable
Given an invalid polygon or multipolygon and removeHoles boolean flag, create a valid representation of the geometry
- case class ST_MinimumBoundingCircle(inputExpressions: Seq[Expression]) extends Expression with CodegenFallback with Product with Serializable
- case class ST_MinimumBoundingRadius(inputExpressions: Seq[Expression]) extends Expression with CodegenFallback with Product with Serializable
-
case class
ST_NPoints(inputExpressions: Seq[Expression]) extends Expression with CodegenFallback with Product with Serializable
Return the number of Points in geometry.
-
case class
ST_NumGeometries(inputExpressions: Seq[Expression]) extends Expression with CodegenFallback with Product with Serializable
Returns the number of Geometries.
Returns the number of Geometries. If geometry is a GEOMETRYCOLLECTION (or MULTI*) return the number of geometries, for single geometries will return 1
This method implements the SQL/MM specification. SQL-MM 3: 9.1.4
- inputExpressions
Geometry
- case class ST_NumInteriorRings(inputExpressions: Seq[Expression]) extends Expression with CodegenFallback with Product with Serializable
-
case class
ST_Overlaps(inputExpressions: Seq[Expression]) extends ST_Predicate with CodegenFallback with Product with Serializable
Test if leftGeometry overlaps rightGeometry
-
case class
ST_Point(inputExpressions: Seq[Expression]) extends Expression with CodegenFallback with UserDataGeneratator with Product with Serializable
Return a Point from X and Y
Return a Point from X and Y
- inputExpressions
This function takes 2 parameter which are point x and y.
-
case class
ST_PointFromText(inputExpressions: Seq[Expression]) extends Expression with CodegenFallback with UserDataGeneratator with Product with Serializable
Return a point from a string.
Return a point from a string. The string must be plain string and each coordinate must be separated by a delimiter.
- inputExpressions
This function takes 2 parameters. The first parameter is the input geometry string, the second parameter is the delimiter. String format should be similar to CSV/TSV
-
case class
ST_PolygonFromEnvelope(inputExpressions: Seq[Expression]) extends Expression with CodegenFallback with UserDataGeneratator with Product with Serializable
Return a polygon given minX,minY,maxX,maxY
-
case class
ST_PolygonFromText(inputExpressions: Seq[Expression]) extends Expression with CodegenFallback with UserDataGeneratator with Product with Serializable
Return a polygon from a string.
Return a polygon from a string. The string must be plain string and each coordinate must be separated by a delimiter.
-
case class
ST_PrecisionReduce(inputExpressions: Seq[Expression]) extends Expression with CodegenFallback with Product with Serializable
Reduce the precision of the given geometry to the given number of decimal places
Reduce the precision of the given geometry to the given number of decimal places
- inputExpressions
The first arg is a geom and the second arg is an integer scale, specifying the number of decimal places of the new coordinate. The last decimal place will be rounded to the nearest number.
- abstract class ST_Predicate extends Expression
- case class ST_RemovePoint(inputExpressions: Seq[Expression]) extends Expression with CodegenFallback with Product with Serializable
- case class ST_SRID(inputExpressions: Seq[Expression]) extends Expression with CodegenFallback with Product with Serializable
- case class ST_SetSRID(inputExpressions: Seq[Expression]) extends Expression with CodegenFallback with Product with Serializable
-
case class
ST_SimplifyPreserveTopology(inputExpressions: Seq[Expression]) extends Expression with CodegenFallback with Product with Serializable
Simplifies a geometry and ensures that the result is a valid geometry having the same dimension and number of components as the input, and with the components having the same topological relationship.
Simplifies a geometry and ensures that the result is a valid geometry having the same dimension and number of components as the input, and with the components having the same topological relationship. The simplification uses a maximum-distance difference algorithm similar to the Douglas-Peucker algorithm.
- inputExpressions
first arg is geometry second arg is distance tolerance for the simplification(all vertices in the simplified geometry will be within this distance of the original geometry)
- case class ST_StartPoint(inputExpressions: Seq[Expression]) extends Expression with CodegenFallback with Product with Serializable
- case class ST_SubDivide(inputExpressions: Seq[Expression]) extends Expression with CodegenFallback with Product with Serializable
- case class ST_SubDivideExplode(children: Seq[Expression]) extends Expression with Generator with CodegenFallback with Product with Serializable
-
case class
ST_Touches(inputExpressions: Seq[Expression]) extends ST_Predicate with CodegenFallback with Product with Serializable
Test if leftGeometry touches rightGeometry
-
case class
ST_Transform(inputExpressions: Seq[Expression]) extends Expression with CodegenFallback with Product with Serializable
Given a geometry, sourceEPSGcode, and targetEPSGcode, convert the geometry's Spatial Reference System / Coordinate Reference System.
-
class
ST_Union_Aggr extends expressions.Aggregator[Geometry, Geometry, Geometry] with TraitSTAggregateExec
Return the polygon union of all Polygon in the given column
-
case class
ST_Within(inputExpressions: Seq[Expression]) extends ST_Predicate with CodegenFallback with Product with Serializable
Test if leftGeometry is full within rightGeometry
- case class ST_X(inputExpressions: Seq[Expression]) extends Expression with CodegenFallback with Product with Serializable
- case class ST_Y(inputExpressions: Seq[Expression]) extends Expression with CodegenFallback with Product with Serializable
-
trait
TraitSTAggregateExec extends AnyRef
traits for creating Aggregate Function
- trait UserDataGeneratator extends AnyRef