Interface MaintenanceRunsObj

All Superinterfaces:
org.apache.polaris.persistence.nosql.api.obj.BaseCommitObj, org.apache.polaris.persistence.nosql.api.obj.Obj

@PolarisImmutable public interface MaintenanceRunsObj extends org.apache.polaris.persistence.nosql.api.obj.BaseCommitObj
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
     
    static final class 
     

    Nested classes/interfaces inherited from interface org.apache.polaris.persistence.nosql.api.obj.Obj

    org.apache.polaris.persistence.nosql.api.obj.Obj.ObjSerializeAll, org.apache.polaris.persistence.nosql.api.obj.Obj.StorageView
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
    static final org.apache.polaris.persistence.nosql.api.obj.ObjType
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static org.apache.polaris.persistence.nosql.maintenance.impl.ImmutableMaintenanceRunsObj.Builder
     
    org.apache.polaris.persistence.nosql.api.obj.ObjRef
    The ID of the object holding the maintenance run information.
    default org.apache.polaris.persistence.nosql.api.obj.ObjType
     

    Methods inherited from interface org.apache.polaris.persistence.nosql.api.obj.BaseCommitObj

    directParent, seq, tail

    Methods inherited from interface org.apache.polaris.persistence.nosql.api.obj.Obj

    createdAtMicros, id, numParts, versionToken, withCreatedAtMicros, withNumParts
  • Field Details

    • MAINTENANCE_RUNS_REF_NAME

      static final String MAINTENANCE_RUNS_REF_NAME
      See Also:
    • TYPE

      static final org.apache.polaris.persistence.nosql.api.obj.ObjType TYPE
  • Method Details

    • builder

      static org.apache.polaris.persistence.nosql.maintenance.impl.ImmutableMaintenanceRunsObj.Builder builder()
    • maintenanceRunId

      org.apache.polaris.persistence.nosql.api.obj.ObjRef maintenanceRunId()
      The ID of the object holding the maintenance run information.

      The maintenance run information is not included in this object, because MaintenanceRunObj is initially written as "currently running" and then updated with the final state of the maintenance run. Updating the MaintenanceRunObj is not great but okay, but updating a BaseCommitObj is an absolute no-go.

    • type

      default org.apache.polaris.persistence.nosql.api.obj.ObjType type()
      Specified by:
      type in interface org.apache.polaris.persistence.nosql.api.obj.Obj