Package io.deephaven.enterprise.database
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.-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceDiscovered viaServiceLoaderfor use byDatabaseimplementations. -
Method Summary
Modifier and TypeMethodDescriptionhistoricalTableOptions(@NotNull Schema schema, @NotNull TableOptions options) The entry-point for creating the adapter-specific options viadb.historicalTable.liveTableOptions(@NotNull Schema schema, @NotNull TableOptions options) The entry-point for creating the adapter-specific options viadb.liveTable.booleanIf the adapter supports theschema.
-
Method Details
-
supports
If the adapter supports theschema.- Parameters:
schema- the schema- Returns:
trueif the adapter supports theschema
-
liveTableOptions
The entry-point for creating the adapter-specific options viadb.liveTable.- Parameters:
schema- the schemaoptions- 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 viadb.historicalTable.- Parameters:
schema- the schemaoptions- the options- Returns:
- the table
-