Class VeniceHdfsInputTable

java.lang.Object
com.linkedin.venice.spark.input.hdfs.VeniceHdfsInputTable
All Implemented Interfaces:
org.apache.spark.sql.connector.catalog.SupportsRead, org.apache.spark.sql.connector.catalog.Table

public class VeniceHdfsInputTable extends Object implements org.apache.spark.sql.connector.catalog.SupportsRead
A table format that is used by Spark to read Avro files from HDFS for use in VenicePushJob.
  • Constructor Details

    • VeniceHdfsInputTable

      public VeniceHdfsInputTable(VeniceProperties jobConfig)
  • Method Details

    • newScanBuilder

      public org.apache.spark.sql.connector.read.ScanBuilder newScanBuilder(org.apache.spark.sql.util.CaseInsensitiveStringMap options)
      Specified by:
      newScanBuilder in interface org.apache.spark.sql.connector.catalog.SupportsRead
    • name

      public String name()
      Specified by:
      name in interface org.apache.spark.sql.connector.catalog.Table
    • schema

      public org.apache.spark.sql.types.StructType schema()
      Specified by:
      schema in interface org.apache.spark.sql.connector.catalog.Table
    • capabilities

      public Set<org.apache.spark.sql.connector.catalog.TableCapability> capabilities()
      Specified by:
      capabilities in interface org.apache.spark.sql.connector.catalog.Table