object Adapter
- Alphabetic
- By Inheritance
- Adapter
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
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
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toDf(spatialPairRDD: <error>, schema: <error>, sparkSession: <error>): <error>
Convert a JavaPairRDD to DataFrame with a specified schema.
Convert a JavaPairRDD to DataFrame with a specified schema.
The schema is expected to follow the format: [left geometry, (left user data columns), right geometry, (right user data columns)]
Note that the schema _must_ provide columns for left and right user data, even if they do not exist in the original data.
Also note that some complex types, such as
MapType
, and schemas as strings are not supported.- schema
Desired output schema
- sparkSession
Spark session
- returns
Spatial pair RDD as a DataFrame with the desired schema
- def toDf(spatialPairRDD: <error>, leftFieldnames: Seq[String], rightFieldNames: Seq[String], sparkSession: <error>): <error>
- def toDf(spatialPairRDD: <error>, sparkSession: <error>): <error>
-
def
toDf[T](spatialRDD: <error>, schema: <error>, sparkSession: <error>): <error>
Convert a spatial RDD to DataFrame with a given schema.
Convert a spatial RDD to DataFrame with a given schema.
- T
Geometry
- spatialRDD
Spatial RDD
- schema
Desired schema
- sparkSession
Spark Session
- returns
DataFrame with the specified schema
- def toDf[T](spatialRDD: <error>, fieldNames: Seq[String], sparkSession: <error>): <error>
- def toDf[T](spatialRDD: <error>, sparkSession: <error>): <error>
-
def
toSpatialRdd(dataFrame: <error>, geometryColId: Int): <error>
Convert a Spatial DF to a Spatial RDD.
Convert a Spatial DF to a Spatial RDD. The geometry column can be at any place in the DF
-
def
toSpatialRdd(dataFrame: <error>, geometryColId: Int, fieldNames: Seq[String]): <error>
Convert a Spatial DF to a Spatial RDD with a list of user-supplied col names (except geom col).
Convert a Spatial DF to a Spatial RDD with a list of user-supplied col names (except geom col). The geometry column can be at any place in the DF.
-
def
toSpatialRdd(dataFrame: <error>, geometryFieldName: String, fieldNames: Seq[String]): <error>
Convert a Spatial DF to a Spatial RDD with a list of user-supplied col names (except geom col).
Convert a Spatial DF to a Spatial RDD with a list of user-supplied col names (except geom col). The geometry column can be at any place in the DF.
-
def
toSpatialRdd(dataFrame: <error>, geometryFieldName: String): <error>
Convert a Spatial DF to a Spatial RDD.
Convert a Spatial DF to a Spatial RDD. The geometry column can be at any place in the DF
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )