Interface TableDataService
- All Known Implementing Classes:
AbstractTableDataService
,CompositeTableDataService
,FilteredTableDataService
,PythonTableDataService
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.@Nullable TableLocationProvider
getRawTableLocationProvider
(@NotNull TableKey tableKey, @NotNull TableLocationKey tableLocationKey) Request the single rawTableLocationProvider
from this service that has theTableLocation
fortableKey
andtableLocationKey
.@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
-
getRawTableLocationProvider
@Nullable @Nullable TableLocationProvider getRawTableLocationProvider(@NotNull @NotNull TableKey tableKey, @NotNull @NotNull TableLocationKey tableLocationKey) Request the single rawTableLocationProvider
from this service that has theTableLocation
fortableKey
andtableLocationKey
. A rawTableLocationProvider
does not compose multipleTableLocationProviders
or delegate to other implementations.- Parameters:
tableKey
- TheTableKey
to lookuptableLocationKey
- TheTableLocationKey
to lookup- Returns:
- The raw
TableLocationProvider
that has theTableLocation
fortableKey
andtableLocationKey
, ornull
if there is none - Throws:
TableDataException
- If more than oneTableLocationProvider
has theTableLocation
-
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()
-