Class ProtobufDataSourceV2
java.lang.Object
com.here.platform.data.client.spark.datasources.protobuf.ProtobufDataSourceV2
- All Implemented Interfaces:
org.apache.spark.sql.connector.catalog.TableProvider,org.apache.spark.sql.execution.datasources.v2.FileDataSourceV2,org.apache.spark.sql.sources.DataSourceRegister
public class ProtobufDataSourceV2
extends Object
implements org.apache.spark.sql.execution.datasources.v2.FileDataSourceV2
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionClass<? extends org.apache.spark.sql.execution.datasources.FileFormat>org.apache.spark.sql.connector.catalog.TablegetTable(org.apache.spark.sql.util.CaseInsensitiveStringMap options, org.apache.spark.sql.types.StructType schema) org.apache.spark.sql.SparkSessionMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.spark.sql.execution.datasources.v2.FileDataSourceV2
getOptionsWithoutPaths, getPaths, getTable, getTableName, inferPartitioning, inferSchema, org$apache$spark$sql$execution$datasources$v2$FileDataSourceV2$$t, org$apache$spark$sql$execution$datasources$v2$FileDataSourceV2$$t_$eq, supportsExternalMetadata
-
Constructor Details
-
ProtobufDataSourceV2
public ProtobufDataSourceV2()
-
-
Method Details
-
fallbackFileFormat
- Specified by:
fallbackFileFormatin interfaceorg.apache.spark.sql.execution.datasources.v2.FileDataSourceV2
-
getTable
public org.apache.spark.sql.connector.catalog.Table getTable(org.apache.spark.sql.util.CaseInsensitiveStringMap options, org.apache.spark.sql.types.StructType schema) - Specified by:
getTablein interfaceorg.apache.spark.sql.execution.datasources.v2.FileDataSourceV2
-
shortName
- Specified by:
shortNamein interfaceorg.apache.spark.sql.sources.DataSourceRegister
-
sparkSession
public org.apache.spark.sql.SparkSession sparkSession()- Specified by:
sparkSessionin interfaceorg.apache.spark.sql.execution.datasources.v2.FileDataSourceV2
-