Interface Database.TableAccessAdapter<Options>

Type Parameters:
Options - the option type
Enclosing interface:
Database

public static interface Database.TableAccessAdapter<Options>
Allows for the generic use of a TableAccess from Database. Adapts db.liveTable and db.historicalTable calls into TableAccess.table(Object) calls where supported. Implementations must register a Database.TableAccessAdapter.Provider.
  • Method Details

    • supports

      boolean supports(@NotNull @NotNull Schema schema)
      If the adapter supports the schema.
      Parameters:
      schema - the schema
      Returns:
      true if the adapter supports the schema
    • liveTableOptions

      Options liveTableOptions(@NotNull @NotNull Schema schema, @NotNull @NotNull TableOptions options)
      The entry-point for creating the adapter-specific options via db.liveTable.
      Parameters:
      schema - the schema
      options - the options
      Returns:
      the table
    • historicalTableOptions

      Options historicalTableOptions(@NotNull @NotNull Schema schema, @NotNull @NotNull TableOptions options)
      The entry-point for creating the adapter-specific options via db.historicalTable.
      Parameters:
      schema - the schema
      options - the options
      Returns:
      the table