Class CheckpointControl.RepairOptions

java.lang.Object
io.deephaven.configuration.CheckpointControl.RepairOptions
Enclosing class:
CheckpointControl

@Immutable public abstract static class CheckpointControl.RepairOptions extends Object
Configuration for a repair request: the tables to inspect, whether to actually make changes, and a logger.

Tables may be selected individually with CheckpointControl.RepairOptions.Builder.addTable(String, String), a namespace at a time with CheckpointControl.RepairOptions.Builder.addNamespace(String), or a whole namespace set at a time with CheckpointControl.RepairOptions.Builder.addNamespaceSet(NamespaceSet). The selections are unioned, and at least one must be made.

  • Constructor Details

    • RepairOptions

      public RepairOptions()
  • Method Details

    • tables

      @NotNull public abstract @NotNull List<CheckpointControl.TableKey> tables()
      The individually selected tables.
      Returns:
      the selected tables
    • namespaces

      @NotNull public abstract @NotNull List<String> namespaces()
      The selected namespaces. Every table in each of these namespaces is inspected.
      Returns:
      the selected namespaces
    • namespaceSets

      @NotNull public abstract @NotNull List<NamespaceSet> namespaceSets()
      The selected namespace sets. Every table in every namespace of each of these sets is inspected.
      Returns:
      the selected namespace sets
    • force

      @Default public boolean force()
      Whether repairs should actually be performed. When false (the default), problems are reported but nothing is modified.
      Returns:
      true to perform repairs
    • logger

      @Default @NotNull public @NotNull com.fishlib.io.logger.Logger logger()
      The logger used for user-facing messages emitted during the operation. Defaults to CheckpointControl's process-wide logger.
      Returns:
      the logger
    • schemaService

      @Default @NotNull public @NotNull SchemaService schemaService()
      The schema service used to enumerate and validate the selected namespaces and tables, and to read their definitions. Defaults to SchemaServiceFactory.getDefault().
      Returns:
      the schema service
    • builder

      @NotNull public static @NotNull CheckpointControl.RepairOptions.Builder builder()
      Returns:
      a new CheckpointControl.RepairOptions.Builder