Interface TableDataService
- All Known Implementing Classes:
AbstractTableDataService,CompositeTableDataService,FilteredTableDataService
public interface TableDataService
Service responsible for
TableLocation discovery.-
Method Summary
Modifier and TypeMethodDescriptiondefault Stringdescribe()Get a detailed description string.default @Nullable StringgetName()Get an optional name for this service, or null if no name is defined.@NotNull TableLocationProvidergetTableLocationProvider(@NotNull TableKey tableKey) Request aTableLocationProviderfrom this service.voidreset()Forget all state for subsequent requests for all tables.voidForget all state for subsequent requests for a single table.
-
Method Details
-
getTableLocationProvider
@NotNull @NotNull TableLocationProvider getTableLocationProvider(@NotNull @NotNull TableKey tableKey) Request aTableLocationProviderfrom this service.- Parameters:
tableKey- TheTableKeyto lookup- Returns:
- A
TableLocationProviderfor the specifiedTableKey
-
reset
void reset()Forget all state for subsequent requests for all tables. -
reset
Forget all state for subsequent requests for a single table.- Parameters:
tableKey-TableKeyto forget state for
-
getName
Get an optional name for this service, or null if no name is defined.- Returns:
- The service name, or null
-
describe
Get a detailed description string.- Returns:
- A description string
- ImplNote:
- Defaults to
Object.toString()
-