Class SparkView

java.lang.Object
org.apache.iceberg.spark.source.SparkView
All Implemented Interfaces:
org.apache.spark.sql.connector.catalog.View

public class SparkView extends Object implements org.apache.spark.sql.connector.catalog.View
  • Field Details

  • Constructor Details

    • SparkView

      public SparkView(String catalogName, View icebergView)
  • Method Details

    • view

      public View view()
    • name

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

      public String query()
      Specified by:
      query in interface org.apache.spark.sql.connector.catalog.View
    • currentCatalog

      public String currentCatalog()
      Specified by:
      currentCatalog in interface org.apache.spark.sql.connector.catalog.View
    • currentNamespace

      public String[] currentNamespace()
      Specified by:
      currentNamespace in interface org.apache.spark.sql.connector.catalog.View
    • schema

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

      public String[] queryColumnNames()
      Specified by:
      queryColumnNames in interface org.apache.spark.sql.connector.catalog.View
    • columnAliases

      public String[] columnAliases()
      Specified by:
      columnAliases in interface org.apache.spark.sql.connector.catalog.View
    • columnComments

      public String[] columnComments()
      Specified by:
      columnComments in interface org.apache.spark.sql.connector.catalog.View
    • properties

      public Map<String,String> properties()
      Specified by:
      properties in interface org.apache.spark.sql.connector.catalog.View
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object other)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object