Packages

trait SpatialConstructors extends AnyRef

Group of DataFrame DSL functions associated with constructing and encoding JTS types in Spark SQL.

Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SpatialConstructors
  2. AnyRef
  3. 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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  8. def geomCollLit(g: GeometryCollection): TypedColumn[Any, GeometryCollection]

    create a geometry collection literal, encoded as a GeometryCollectionUDT.

  9. def geomLit(g: Geometry): TypedColumn[Any, Geometry]

    Create a generic geometry literal, encoded as a GeometryUDT.

  10. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  11. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. def lineLit(g: LineString): TypedColumn[Any, LineString]

    Create a line literal, encoded as a LineUDT.

  14. def mLineLit(g: MultiLineString): TypedColumn[Any, MultiLineString]

    Create a multi-line literal, encoded as a MultiPointUDT.

  15. def mPointLit(g: MultiPoint): TypedColumn[Any, MultiPoint]

    Create a multi-point literal, encoded as a MultiPointUDT.

  16. def mPolygonLit(g: MultiPolygon): TypedColumn[Any, MultiPolygon]

    Create a multi-polygon literal, encoded as a MultiPolygonUDT.

  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  20. def pointLit(g: Point): TypedColumn[Any, Point]

    Create a point literal, encoded as a PointUDT.

  21. def polygonLit(g: Polygon): TypedColumn[Any, Polygon]

    Create a polygon literal, encoded as a PolygonUDT.

  22. def st_geomFromGeoHash(geohash: Column, precision: Int): TypedColumn[Any, Geometry]
  23. def st_geomFromGeoHash(geohash: Column, precision: Column): TypedColumn[Any, Geometry]
  24. def st_geomFromGeoJSON(wkt: String): TypedColumn[Any, Geometry]
  25. def st_geomFromGeoJSON(wkt: Column): TypedColumn[Any, Geometry]
  26. def st_geomFromWKB(wkb: Array[Byte]): TypedColumn[Any, Geometry]
  27. def st_geomFromWKB(wkb: Column): TypedColumn[Any, Geometry]
  28. def st_geomFromWKT(wkt: String): TypedColumn[Any, Geometry]
  29. def st_geomFromWKT(wkt: Column): TypedColumn[Any, Geometry]
  30. def st_lineFromText(wkt: String): TypedColumn[Any, LineString]
  31. def st_lineFromText(wkt: Column): TypedColumn[Any, LineString]
  32. def st_mLineFromText(wkt: String): TypedColumn[Any, MultiLineString]
  33. def st_mLineFromText(wkt: Column): TypedColumn[Any, MultiLineString]
  34. def st_mPointFromText(wkt: String): TypedColumn[Any, MultiPoint]
  35. def st_mPointFromText(wkt: Column): TypedColumn[Any, MultiPoint]
  36. def st_mPolyFromText(wkt: String): TypedColumn[Any, MultiPolygon]
  37. def st_mPolyFromText(wkt: Column): TypedColumn[Any, MultiPolygon]
  38. def st_makeBBOX(lowerX: Double, lowerY: Double, upperX: Double, upperY: Double): TypedColumn[Any, Geometry]
  39. def st_makeBBOX(lowerX: Column, lowerY: Column, upperX: Column, upperY: Column): TypedColumn[Any, Geometry]
  40. def st_makeBox2D(lowerLeft: Point, upperRight: Point): TypedColumn[Any, Geometry]
  41. def st_makeBox2D(lowerLeft: Column, upperRight: Column): TypedColumn[Any, Geometry]
  42. def st_makeLine(pointSeq: Seq[Point]): TypedColumn[Any, LineString]
  43. def st_makeLine(pointSeq: Column): TypedColumn[Any, LineString]
  44. def st_makePoint(x: Double, y: Double): TypedColumn[Any, Point]
  45. def st_makePoint(x: Column, y: Column): TypedColumn[Any, Point]
  46. def st_makePointM(x: Double, y: Double, m: Double): TypedColumn[Any, Point]
  47. def st_makePointM(x: Column, y: Column, m: Column): TypedColumn[Any, Point]
  48. def st_makePolygon(lineString: LineString): TypedColumn[Any, Polygon]
  49. def st_makePolygon(lineString: Column): TypedColumn[Any, Polygon]
  50. def st_point(x: Double, y: Double): TypedColumn[Any, Point]
  51. def st_point(x: Column, y: Column): TypedColumn[Any, Point]
  52. def st_pointFromGeoHash(geohash: Column, precision: Int): TypedColumn[Any, Point]
  53. def st_pointFromGeoHash(geohash: Column, precision: Column): TypedColumn[Any, Point]
  54. def st_pointFromText(wkt: String): TypedColumn[Any, Point]
  55. def st_pointFromText(wkt: Column): TypedColumn[Any, Point]
  56. def st_pointFromWKB(wkb: Array[Byte]): TypedColumn[Any, Point]
  57. def st_pointFromWKB(wkb: Column): TypedColumn[Any, Point]
  58. def st_polygon(lineString: LineString): TypedColumn[Any, Polygon]
  59. def st_polygon(lineString: Column): TypedColumn[Any, Polygon]
  60. def st_polygonFromText(wkt: String): TypedColumn[Any, Polygon]
  61. def st_polygonFromText(wkt: Column): TypedColumn[Any, Polygon]
  62. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  63. def toString(): String
    Definition Classes
    AnyRef → Any
  64. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  65. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  66. 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 AnyRef

Inherited from Any

Ungrouped