Interface IndexDataFrameReader
- All Superinterfaces:
LayerDataFrameReader
LayerDataFrameReader to query data from an
index layer.-
Nested Class Summary
Nested classes/interfaces inherited from interface com.here.platform.data.client.spark.LayerDataFrameReader
LayerDataFrameReader.SparkSessionExt -
Method Summary
Modifier and TypeMethodDescriptionSpecifies the format of the data stored in the layer.Adds an input option for the underlying data source.Adds an input option for the underlying data source.Adds an input option for the underlying data source.Adds an input option for the underlying data source.Specifies the query to use when querying the layer.queryMetadata(String query) Specifies the query to use when querying the layer partitions metadata.schema(org.apache.spark.sql.types.StructType schema) Specifies the schema of the data stored in the layer.Methods inherited from interface com.here.platform.data.client.spark.LayerDataFrameReader
load, option
-
Method Details
-
format
Description copied from interface:LayerDataFrameReaderSpecifies the format of the data stored in the layer.- Specified by:
formatin interfaceLayerDataFrameReader
-
option
Description copied from interface:LayerDataFrameReaderAdds an input option for the underlying data source.- Specified by:
optionin interfaceLayerDataFrameReader
-
option
Description copied from interface:LayerDataFrameReaderAdds an input option for the underlying data source.- Specified by:
optionin interfaceLayerDataFrameReader
-
option
Description copied from interface:LayerDataFrameReaderAdds an input option for the underlying data source.- Specified by:
optionin interfaceLayerDataFrameReader
-
option
Description copied from interface:LayerDataFrameReaderAdds an input option for the underlying data source.- Specified by:
optionin interfaceLayerDataFrameReader
-
query
Description copied from interface:LayerDataFrameReaderSpecifies the query to use when querying the layer.- Specified by:
queryin interfaceLayerDataFrameReader- Parameters:
query- Query string to retrieve layer data. Format of query should follow RSQL. See https://github.com/jirutka/rsql-parser
-
queryMetadata
Description copied from interface:LayerDataFrameReaderSpecifies the query to use when querying the layer partitions metadata.- Specified by:
queryMetadatain interfaceLayerDataFrameReader- Parameters:
query- Query string to retrieve layer partitions metadata. Format of query should follow RSQL. See https://github.com/jirutka/rsql-parser
-
schema
Description copied from interface:LayerDataFrameReaderSpecifies the schema of the data stored in the layer. Some data formats such as Apache Avro can infer the schema automatically from the data. By specifying the schema here, the underlying data source can skip the schema inference step, and thus speed up data loading.- Specified by:
schemain interfaceLayerDataFrameReader
-