Class FetchPlanningResultResponse

java.lang.Object
org.apache.iceberg.rest.responses.BaseScanTaskResponse
org.apache.iceberg.rest.responses.FetchPlanningResultResponse
All Implemented Interfaces:
RESTMessage, RESTResponse

public class FetchPlanningResultResponse extends BaseScanTaskResponse
  • Method Details

    • planStatus

      public PlanStatus planStatus()
    • errorResponse

      public ErrorResponse errorResponse()
    • credentials

      public List<Credential> credentials()
    • builder

      public static FetchPlanningResultResponse.Builder builder()
    • builder

      public static FetchPlanningResultResponse.Builder builder(Map<Integer,PartitionSpec> specsById)
      Returns a new builder pre-populated with the given partition specs map. Required for server responses that serialize fileScanTasks or deleteFiles; the specs are used only to serialize partition data and are never written to the response payload.
    • toBuilder

      Returns a builder pre-populated with this response's fields, suitable for producing a copy with one or more fields modified.
    • validate

      public void validate()
      Description copied from interface: RESTMessage
      Ensures that a constructed instance of a REST message is valid according to the REST spec.

      This is needed when parsing data that comes from external sources and the object might have been constructed without all the required fields present.