List Spark spatial indexes
get
/spatialviewer/api/v1/spark/indexes
List the spatial indexes that were created using the Spark API and that have their metadata in the directory spark_index_metadata contained in the SpatialViewer local working directory (see SpatialViewer configuration).
Request
There are no request parameters for this operation.
Response
Supported Media Types
- application/json
200 Response
successful request
Body
List of indexes metadata.
Root Schema : ListHadoopIndexesResponse
Type:
objectList of indexes metadata.
- o:successCode
-
Type:
stringExample:SV-05001 - response
-
Type:
objectresponse - status
-
Type:
stringExample:success - title
-
Type:
stringExample:Get indexes.
Nested Schema : response
Type:
object- items
-
Type:
arrayitems
Nested Schema : items
Type:
array-
Type:
objectHadoopIndexMetadata
Nested Schema : HadoopIndexMetadata
Type:
object- attributesList
-
Type:
arrayattributesListExtra fields of the indexed records (see 2.8.2.1 Spatial Indexing Class Structure). - attributesListString
-
Type:
stringExtra fields of the indexed records (see 2.8.2.1 Spatial Indexing Class Structure) in a string format.Example:followers_count, friends_count, location, user_id - geodetic
-
Type:
booleantrue if the geometries are geodetic, false otherwise.Example:true - indexPath
-
Type:
stringThe index path.Example:hdfs://hadoop.cluster.url:8020/user/oracle/spatialviewer/TweetsApril - mbr
-
Type:
arraymbrMBR (Minimum Bounding Rectangle) of the indexed geometries. - name
-
Type:
stringThe index name.Example:TweetsApril - srid
-
Type:
integer(int32)SRID of the indexed geometries.Example:8307 - tolerance
-
Type:
number(double)Double value that represents the tolerance used when performing spatial operations.Example:0.05 - userInputString
-
Type:
stringPath of the file or files that were indexed. The path is as provided by the user.Example:/user/oracle/spatialviewer/tweetsApril.json
Nested Schema : attributesList