Class OnDiskTableDataService
java.lang.Object
io.deephaven.engine.table.impl.locations.impl.AbstractTableDataService
io.deephaven.enterprise.tabledataservice.OnDiskTableDataService
- All Implemented Interfaces:
TableDataService,EnterpriseTableDataService,NamedImplementation
public class OnDiskTableDataService
extends AbstractTableDataService
implements EnterpriseTableDataService
A
TableDataService implementation that expects data to be located on
a local filesystem.-
Constructor Summary
ConstructorsConstructorDescriptionOnDiskTableDataService(@NotNull Logger log, @Nullable String name, @NotNull SchemaService schemaService, @NotNull OnDiskTableDataServiceDescriptor descriptor) Construct aTableDataServicethat sources tables from the local filesystem.OnDiskTableDataService(@NotNull Logger log, @Nullable String name, @NotNull Path storageRoot, @NotNull SchemaService schemaService, boolean allowRefreshingUserTables) Construct aTableDataServicethat sources tables from the local filesystem. -
Method Summary
Modifier and TypeMethodDescription@NotNull OnDiskTableDataServiceDescriptorReturn an immutable descriptor object that identifies this TableDataService instance and does not hold resources.io.deephaven.shadow.enterprise.com.illumon.iris.db.v2.locations.local.LocalTablePathManagerReturns the path manager used by this service for internal operations and testing.protected @NotNull TableLocationProvidermakeTableLocationProvider(@NotNull TableKey tableKey) toString()Methods inherited from class io.deephaven.engine.table.impl.locations.impl.AbstractTableDataService
getName, getRawTableLocationProvider, getTableLocationProvider, reset, resetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface io.deephaven.util.type.NamedImplementation
getImplementationNameMethods inherited from interface io.deephaven.engine.table.impl.locations.TableDataService
describe, getName, getRawTableLocationProvider, getTableLocationProvider, reset, reset
-
Constructor Details
-
OnDiskTableDataService
public OnDiskTableDataService(@NotNull @NotNull Logger log, @Nullable @Nullable String name, @NotNull @NotNull SchemaService schemaService, @NotNull @NotNull OnDiskTableDataServiceDescriptor descriptor) Construct aTableDataServicethat sources tables from the local filesystem.- Parameters:
log- A logger for loggingname- The service name (optional)schemaService- TheSchemaServiceto use for locatingTableDefinitionsdescriptor- The configuration for this TableDataService
-
OnDiskTableDataService
public OnDiskTableDataService(@NotNull @NotNull Logger log, @Nullable @Nullable String name, @NotNull @NotNull Path storageRoot, @NotNull @NotNull SchemaService schemaService, boolean allowRefreshingUserTables) Construct aTableDataServicethat sources tables from the local filesystem.- Parameters:
log- A logger for loggingname- The service name (optional)storageRoot- The root of the database on the filesystemschemaService- TheSchemaServiceto use for locatingTableDefinitionsallowRefreshingUserTables- true if user tables are allowed to refresh
-
-
Method Details
-
makeTableLocationProvider
@NotNull protected @NotNull TableLocationProvider makeTableLocationProvider(@NotNull @NotNull TableKey tableKey) - Specified by:
makeTableLocationProviderin classAbstractTableDataService
-
getPathManager
@InternalUseOnly @VisibleForTesting public io.deephaven.shadow.enterprise.com.illumon.iris.db.v2.locations.local.LocalTablePathManager getPathManager()Returns the path manager used by this service for internal operations and testing. This method is only intended for internal use and testing.- Returns:
- the LocalTablePathManager used by this service
-
toString
-
getDescriptor
Description copied from interface:EnterpriseTableDataServiceReturn an immutable descriptor object that identifies this TableDataService instance and does not hold resources.- Specified by:
getDescriptorin interfaceEnterpriseTableDataService- Returns:
- the TableDataServiceDescriptor for this TableDataService
-