Class AbstractTableDataService
java.lang.Object
io.deephaven.engine.table.impl.locations.impl.AbstractTableDataService
- All Implemented Interfaces:
TableDataService,NamedImplementation
- Direct Known Subclasses:
CompositeTableDataService,FilteredTableDataService,PythonTableDataService
public abstract class AbstractTableDataService
extends Object
implements TableDataService, NamedImplementation
Partial
TableDataService implementation.-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractTableDataService(@Nullable String name) Construct an AbstractTableDataService. -
Method Summary
Modifier and TypeMethodDescriptiongetName()Get an optional name for this service, or null if no name is defined.@Nullable TableLocationProvidergetRawTableLocationProvider(@NotNull TableKey tableKey, @NotNull TableLocationKey tableLocationKey) Request the single rawTableLocationProviderfrom this service that has theTableLocationfortableKeyandtableLocationKey.final @NotNull TableLocationProvidergetTableLocationProvider(@NotNull TableKey tableKey) Request aTableLocationProviderfrom this service.protected abstract @NotNull TableLocationProvidermakeTableLocationProvider(@NotNull TableKey tableKey) voidreset()Forget all state for subsequent requests for all tables.voidForget all state for subsequent requests for a single table.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.deephaven.util.type.NamedImplementation
getImplementationNameMethods inherited from interface io.deephaven.engine.table.impl.locations.TableDataService
describe
-
Constructor Details
-
AbstractTableDataService
Construct an AbstractTableDataService.- Parameters:
name- Optional service name
-
-
Method Details
-
getTableLocationProvider
@NotNull public final @NotNull TableLocationProvider getTableLocationProvider(@NotNull @NotNull TableKey tableKey) Description copied from interface:TableDataServiceRequest aTableLocationProviderfrom this service.- Specified by:
getTableLocationProviderin interfaceTableDataService- Parameters:
tableKey- TheTableKeyto lookup- Returns:
- A
TableLocationProviderfor the specifiedTableKey
-
getRawTableLocationProvider
@Nullable public @Nullable TableLocationProvider getRawTableLocationProvider(@NotNull @NotNull TableKey tableKey, @NotNull @NotNull TableLocationKey tableLocationKey) Description copied from interface:TableDataServiceRequest the single rawTableLocationProviderfrom this service that has theTableLocationfortableKeyandtableLocationKey. A rawTableLocationProviderdoes not compose multipleTableLocationProvidersor delegate to other implementations.- Specified by:
getRawTableLocationProviderin interfaceTableDataService- Parameters:
tableKey- TheTableKeyto lookuptableLocationKey- TheTableLocationKeyto lookup- Returns:
- The raw
TableLocationProviderthat has theTableLocationfortableKeyandtableLocationKey, ornullif there is none
-
reset
public void reset()Description copied from interface:TableDataServiceForget all state for subsequent requests for all tables.- Specified by:
resetin interfaceTableDataService
-
reset
Description copied from interface:TableDataServiceForget all state for subsequent requests for a single table.- Specified by:
resetin interfaceTableDataService- Parameters:
tableKey-TableKeyto forget state for
-
makeTableLocationProvider
@NotNull protected abstract @NotNull TableLocationProvider makeTableLocationProvider(@NotNull @NotNull TableKey tableKey) -
getName
Description copied from interface:TableDataServiceGet an optional name for this service, or null if no name is defined.- Specified by:
getNamein interfaceTableDataService- Returns:
- The service name, or null
-