Interface TableDataService
- All Known Implementing Classes:
AbstractTableDataService
,CompositeTableDataService
,FilteredTableDataService
public interface TableDataService
Service responsible for
TableLocation
discovery.-
Method Summary
Modifier and TypeMethodDescriptiondefault String
describe()
Get a detailed description string.default @Nullable String
getName()
Get an optional name for this service, or null if no name is defined.@NotNull TableLocationProvider
getTableLocationProvider
(@NotNull TableKey tableKey) Request aTableLocationProvider
from this service.void
reset()
Forget all state for subsequent requests for all tables.void
Forget all state for subsequent requests for a single table.
-
Method Details
-
getTableLocationProvider
@NotNull @NotNull TableLocationProvider getTableLocationProvider(@NotNull @NotNull TableKey tableKey) Request aTableLocationProvider
from this service.- Parameters:
tableKey
- TheTableKey
to lookup- Returns:
- A
TableLocationProvider
for 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
-TableKey
to 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()
-