Interface OnDiskTableDataServiceDescriptor.Builder
- Enclosing interface:
- OnDiskTableDataServiceDescriptor
public static interface OnDiskTableDataServiceDescriptor.Builder
Builder interface for creating OnDiskTableDataServiceDescriptor instances.
-
Method Summary
Modifier and TypeMethodDescriptionallowRefreshingUserTables(boolean allowRefreshingUserTables) Sets whether user tables should be allowed to refresh.build()Builds a new OnDiskTableDataServiceDescriptor with the configured parameters.storageRoot(Path dbRoot) Sets the storage root path for on-disk data.
-
Method Details
-
storageRoot
Sets the storage root path for on-disk data.- Parameters:
dbRoot- the storage root path- Returns:
- this builder
-
allowRefreshingUserTables
OnDiskTableDataServiceDescriptor.Builder allowRefreshingUserTables(boolean allowRefreshingUserTables) Sets whether user tables should be allowed to refresh.- Parameters:
allowRefreshingUserTables- true if user tables should be allowed to refresh, false otherwise- Returns:
- this builder
-
build
OnDiskTableDataServiceDescriptor build()Builds a new OnDiskTableDataServiceDescriptor with the configured parameters.- Returns:
- a new OnDiskTableDataServiceDescriptor instance
-