Class TaskObject

java.lang.Object
com.cloudera.cdp.lakehouseopt.model.TaskObject

@Generated(value="com.cloudera.cdp.client.codegen.CdpSDKJavaCodegen", date="2026-05-01T09:59:31.533-07:00") public class TaskObject extends Object
Task metadata for a policy on a table.
  • Constructor Details

    • TaskObject

      public TaskObject()
  • Method Details

    • getStatus

      public String getStatus()
      Getter for status. The task status. It can be INIT, SUBMITTED, COMPLETED, FAILED. Initially the task status would be INIT and transition to SUBMITTED after submitting to spark. Based on the spark execution it changed to COMPLETED, FAILED.
    • setStatus

      public void setStatus(String status)
      Setter for status. The task status. It can be INIT, SUBMITTED, COMPLETED, FAILED. Initially the task status would be INIT and transition to SUBMITTED after submitting to spark. Based on the spark execution it changed to COMPLETED, FAILED.
    • getTaskId

      public String getTaskId()
      Getter for taskId. Unique identified for task in UUID format.
    • setTaskId

      public void setTaskId(String taskId)
      Setter for taskId. Unique identified for task in UUID format.
    • getPolicy

      public String getPolicy()
      Getter for policy. The policy name.
    • setPolicy

      public void setPolicy(String policy)
      Setter for policy. The policy name.
    • getCatalog

      public String getCatalog()
      Getter for catalog. The catalog name.
    • setCatalog

      public void setCatalog(String catalog)
      Setter for catalog. The catalog name.
    • getNamespace

      public String getNamespace()
      Getter for namespace. The namespace name.
    • setNamespace

      public void setNamespace(String namespace)
      Setter for namespace. The namespace name.
    • getTable

      public String getTable()
      Getter for table. The table name.
    • setTable

      public void setTable(String table)
      Setter for table. The table name.
    • getCreatedAt

      public Long getCreatedAt()
      Getter for createdAt. The task creation time in epoch milliseconds.
    • setCreatedAt

      public void setCreatedAt(Long createdAt)
      Setter for createdAt. The task creation time in epoch milliseconds.
    • getDetails

      public byte[] getDetails()
      Getter for details. A base64 encoded version of task details json.
    • setDetails

      public void setDetails(byte[] details)
      Setter for details. A base64 encoded version of task details json.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object