Package

org.apache.spark.sql.geosparksql

expressions

Permalink

package expressions

Visibility
  1. Public
  2. All

Type Members

  1. case class ST_Area(inputExpressions: Seq[Expression]) extends Expression with CodegenFallback with Product with Serializable

    Permalink

    Return the area measurement of a Geometry.

  2. case class ST_Centroid(inputExpressions: Seq[Expression]) extends Expression with CodegenFallback with Product with Serializable

    Permalink

    Return mathematical centroid of a geometry.

  3. case class ST_Circle(inputExpressions: Seq[Expression]) extends Expression with CodegenFallback with UserDataGeneratator with Product with Serializable

    Permalink

    Return a Circle from a Geometry and a radius

    Return a Circle from a Geometry and a radius

    inputExpressions

    This function takes two parameters, a geometry column and a radius, and outputs a circle type

  4. case class ST_Contains(inputExpressions: Seq[Expression]) extends Expression with CodegenFallback with Product with Serializable

    Permalink

    Test if leftGeometry full contains rightGeometry

  5. case class ST_ConvexHull(inputExpressions: Seq[Expression]) extends Expression with CodegenFallback with Product with Serializable

    Permalink

    Return the convex hull of a Geometry.

  6. case class ST_Distance(inputExpressions: Seq[Expression]) extends Expression with CodegenFallback with Product with Serializable

    Permalink

    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.

  7. case class ST_Envelope(inputExpressions: Seq[Expression]) extends Expression with CodegenFallback with Product with Serializable

    Permalink

    Return the bounding rectangle for a Geometry

  8. class ST_Envelope_Aggr extends UserDefinedAggregateFunction

    Permalink

    Return the envelope boundary of the entire column

  9. case class ST_GeomFromGeoJSON(inputExpressions: Seq[Expression]) extends Expression with CodegenFallback with UserDataGeneratator with Product with Serializable

    Permalink

    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.

  10. case class ST_GeomFromWKB(inputExpressions: Seq[Expression]) extends Expression with CodegenFallback with UserDataGeneratator with Product with Serializable

    Permalink

    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.

  11. case class ST_GeomFromWKT(inputExpressions: Seq[Expression]) extends Expression with CodegenFallback with UserDataGeneratator with Product with Serializable

    Permalink

    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.

  12. case class ST_Intersection(inputExpressions: Seq[Expression]) extends Expression with CodegenFallback with Product with Serializable

    Permalink

    Return the intersection shape of two geometries.

    Return the intersection shape of two geometries. The return type is a geometry

  13. case class ST_Intersects(inputExpressions: Seq[Expression]) extends Expression with CodegenFallback with Product with Serializable

    Permalink

    Test if leftGeometry full intersects rightGeometry

  14. case class ST_Length(inputExpressions: Seq[Expression]) extends Expression with CodegenFallback with Product with Serializable

    Permalink

    Return the length measurement of a Geometry

  15. case class ST_LineStringFromText(inputExpressions: Seq[Expression]) extends Expression with CodegenFallback with UserDataGeneratator with Product with Serializable

    Permalink

    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.

  16. case class ST_Point(inputExpressions: Seq[Expression]) extends Expression with CodegenFallback with UserDataGeneratator with Product with Serializable

    Permalink

    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.

  17. case class ST_PointFromText(inputExpressions: Seq[Expression]) extends Expression with CodegenFallback with UserDataGeneratator with Product with Serializable

    Permalink

    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

  18. case class ST_PolygonFromEnvelope(inputExpressions: Seq[Expression]) extends Expression with CodegenFallback with UserDataGeneratator with Product with Serializable

    Permalink

    Return a polygon given minX,minY,maxX,maxY

  19. case class ST_PolygonFromText(inputExpressions: Seq[Expression]) extends Expression with CodegenFallback with UserDataGeneratator with Product with Serializable

    Permalink

    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.

  20. case class ST_Transform(inputExpressions: Seq[Expression]) extends Expression with CodegenFallback with Product with Serializable

    Permalink

    Given a geometry, sourceEPSGcode, and targetEPSGcode, convert the geometry's Spatial Reference System / Coordinate Reference System.

  21. class ST_Union_Aggr extends UserDefinedAggregateFunction

    Permalink

    Return the polygon union of all Polygon in the given column

  22. case class ST_Within(inputExpressions: Seq[Expression]) extends Expression with CodegenFallback with Product with Serializable

    Permalink

    Test if leftGeometry is full within rightGeometry

  23. trait UserDataGeneratator extends AnyRef

    Permalink

Ungrouped