Interface ViewDefinition


public interface ViewDefinition
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final org.apache.iceberg.Schema
     
  • Method Summary

    Modifier and Type
    Method
    Description
    of(String sql, org.apache.iceberg.Schema schema, String sessionCatalog, List<String> sessionNamespace)
     
    org.apache.iceberg.Schema
    Returns the view query output schema.
    Returns the session catalog when the view is created.
    Returns the session namespace when the view is created.
    sql()
    Returns the view query SQL text.
  • Field Details

    • EMPTY_SCHEMA

      static final org.apache.iceberg.Schema EMPTY_SCHEMA
  • Method Details

    • of

      static ViewDefinition of(String sql, org.apache.iceberg.Schema schema, String sessionCatalog, List<String> sessionNamespace)
    • sql

      String sql()
      Returns the view query SQL text.
      Returns:
      the view query SQL text
    • schema

      org.apache.iceberg.Schema schema()
      Returns the view query output schema.
      Returns:
      the view query output schema
    • sessionCatalog

      String sessionCatalog()
      Returns the session catalog when the view is created.
      Returns:
      the session catalog
    • sessionNamespace

      List<String> sessionNamespace()
      Returns the session namespace when the view is created.
      Returns:
      the session namespace