Package | Description |
---|---|
oracle.spatial.spark.vector |
Core components used by the whole API
|
oracle.spatial.spark.vector.rdd |
Spatial RDD definitions
|
oracle.spatial.spark.vector.recordinfoprovider |
Contains RecordInfoProviders for GeoJSON files and ESRI Shapefiles.
|
oracle.spatial.spark.vector.streaming.dstream |
Spatial DStream Defintions
|
oracle.spatial.spark.vector.util |
Utility classes for the Spark Vector API
|
Modifier and Type | Method and Description |
---|---|
boolean |
SparkRecordInfoProvider.getRecordInfo(V value, SparkRecordInfo recordInfo)
Extracts spatial and other required data from the value input parameter and sets the extracted data to the recordInfo output parameter
|
void |
SparkRecordInfo.setRecordInfo(SparkRecordInfo recordInfo)
Copies the data (geometry and fields) from recordInfo
|
Constructor and Description |
---|
SparkRecordInfo(SparkRecordInfo recordInfo)
Creates a new instance with the same data than recordIndfo
|
Modifier and Type | Method and Description |
---|---|
SparkRecordInfo |
SpatialTransformationContext.getRecordInfo(T record)
Gets a
SparkRecordInfo containing information from the give record. |
Modifier and Type | Method and Description |
---|---|
static <T> SpatialJavaRDD<SparkRecordInfo> |
SpatialJavaRDD.fromJavaRDD(<any> rdd, SparkRecordInfoProvider<T> recordInfoProvider)
Creates a spatial RDD of type SparkRecordInfo from the given rdd.
|
Modifier and Type | Method and Description |
---|---|
boolean |
ShapeFileRecordInfoProvider.getRecordInfo(MapWritable value, SparkRecordInfo recordInfo) |
boolean |
GeoJsonRecordInfoProvider.getRecordInfo(Text value, SparkRecordInfo recordInfo) |
Modifier and Type | Method and Description |
---|---|
static <T> SpatialJavaDStream<SparkRecordInfo> |
SpatialJavaDStream.fromJavaDStream(<any> src, SparkRecordInfoProvider<T> recordInfoProvider)
Creates a spatial JavaDStream which records are of type
SparkRecordInfo |
Modifier and Type | Method and Description |
---|---|
static SpatialJavaRDD<SparkRecordInfo> |
JDBCUtils.createSpatialRDDFromQuery(JavaSparkContext sc, JDBCUtils.ConnectionSupplier getConnection, java.lang.String sql, SparkRecordInfoProvider<java.sql.ResultSet> recordInfoProvider)
Creates a Spatial RDD given a SQL query to a database.
|
static SpatialJavaRDD<SparkRecordInfo> |
JDBCUtils.createSpatialRDDFromQuery(JavaSparkContext sc, JDBCUtils.ConnectionSupplier getConnection, java.lang.String sql, SparkRecordInfoProvider<java.sql.ResultSet> recordInfoProvider, long rowsPerPartition)
Creates a Spatial RDD given a SQL query to a database.
|
static SpatialJavaRDD<SparkRecordInfo> |
JDBCUtils.createSpatialRDDFromTable(JavaSparkContext sc, JDBCUtils.ConnectionSupplier getConnection, java.lang.String tableName, java.util.List<java.lang.String> fields, SparkRecordInfoProvider<java.sql.ResultSet> recordInfoProvider)
Creates a Spatial RDD given the name of a table and the fields to be selected.
|
static SpatialJavaRDD<SparkRecordInfo> |
JDBCUtils.createSpatialRDDFromTable(JavaSparkContext sc, JDBCUtils.ConnectionSupplier getConnection, java.lang.String tableName, java.util.List<java.lang.String> fields, SparkRecordInfoProvider<java.sql.ResultSet> recordInfoProvider, long rowsPerPartition)
Creates a Spatial RDD given the name of a table and the fields to be selected.
|
Copyright © 2017 Oracle and/or its affiliates. All Rights Reserved.