Interface TableProvider

    • Method Detail

      • getTableType

        java.lang.String getTableType()
        Gets the table type this provider handles.
      • createTable

        void createTable​(Table table)
        Creates a table.
      • dropTable

        void dropTable​(java.lang.String tableName)
        Drops a table.
        Parameters:
        tableName -
      • getTables

        java.util.Map<java.lang.String,​Table> getTables()
        Get all tables from this provider.
      • getTable

        default @Nullable Table getTable​(java.lang.String tableName)
        Get a specific table from this provider it is present, or null if it is not present.
      • getSubProviders

        default java.util.Set<java.lang.String> getSubProviders()
        Returns all sub-providers, e.g. sub-schemas. Temporary, this logic needs to live in BeamCalciteSchema.
      • getSubProvider

        default @Nullable TableProvider getSubProvider​(java.lang.String name)
        Returns a sub-provider, e.g. sub-schema. Temporary, this logic needs to live in BeamCalciteSchema.
      • supportsPartitioning

        default boolean supportsPartitioning​(Table table)