Class ProtobufPartitionReaderFactory
java.lang.Object
org.apache.spark.sql.execution.datasources.v2.FilePartitionReaderFactory
com.here.platform.data.client.spark.datasources.protobuf.ProtobufPartitionReaderFactory
- All Implemented Interfaces:
Serializable,org.apache.spark.sql.connector.read.PartitionReaderFactory,scala.Equals,scala.Product
public class ProtobufPartitionReaderFactory
extends org.apache.spark.sql.execution.datasources.v2.FilePartitionReaderFactory
implements scala.Product, Serializable
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionProtobufPartitionReaderFactory(org.apache.spark.sql.internal.SQLConf sqlConf, org.apache.spark.broadcast.Broadcast<org.apache.spark.util.SerializableConfiguration> broadcastedConf, org.apache.spark.sql.types.StructType readDataSchema, org.apache.spark.sql.types.StructType partitionSchema, scala.collection.immutable.Map<String, String> opts) -
Method Summary
Modifier and TypeMethodDescriptionabstract static Rapply(T1 v1, T2 v2, T3 v3, T4 v4, T5 v5) org.apache.spark.broadcast.Broadcast<org.apache.spark.util.SerializableConfiguration>org.apache.spark.sql.connector.read.PartitionReader<org.apache.spark.sql.catalyst.InternalRow>buildReader(org.apache.spark.sql.execution.datasources.PartitionedFile file) opts()org.apache.spark.sql.types.StructTypeorg.apache.spark.sql.types.StructTypeorg.apache.spark.sql.internal.SQLConfsqlConf()static StringtoString()Methods inherited from class org.apache.spark.sql.execution.datasources.v2.FilePartitionReaderFactory
buildColumnarReader, createColumnarReader, createReader, supportColumnarReadsMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface scala.Equals
canEqual, equalsMethods inherited from interface scala.Product
productArity, productElement, productElementName, productElementNames, productIterator, productPrefix
-
Constructor Details
-
ProtobufPartitionReaderFactory
public ProtobufPartitionReaderFactory(org.apache.spark.sql.internal.SQLConf sqlConf, org.apache.spark.broadcast.Broadcast<org.apache.spark.util.SerializableConfiguration> broadcastedConf, org.apache.spark.sql.types.StructType readDataSchema, org.apache.spark.sql.types.StructType partitionSchema, scala.collection.immutable.Map<String, String> opts)
-
-
Method Details
-
apply
public abstract static R apply(T1 v1, T2 v2, T3 v3, T4 v4, T5 v5) -
toString
-
sqlConf
public org.apache.spark.sql.internal.SQLConf sqlConf() -
broadcastedConf
public org.apache.spark.broadcast.Broadcast<org.apache.spark.util.SerializableConfiguration> broadcastedConf() -
readDataSchema
public org.apache.spark.sql.types.StructType readDataSchema() -
partitionSchema
public org.apache.spark.sql.types.StructType partitionSchema() -
opts
-
buildReader
public org.apache.spark.sql.connector.read.PartitionReader<org.apache.spark.sql.catalyst.InternalRow> buildReader(org.apache.spark.sql.execution.datasources.PartitionedFile file) - Specified by:
buildReaderin classorg.apache.spark.sql.execution.datasources.v2.FilePartitionReaderFactory
-