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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanGetter for catalog.Getter for createdAt.byte[]Getter for details.Getter for namespace.Getter for policy.Getter for status.getTable()Getter for table.Getter for taskId.inthashCode()voidsetCatalog(String catalog) Setter for catalog.voidsetCreatedAt(Long createdAt) Setter for createdAt.voidsetDetails(byte[] details) Setter for details.voidsetNamespace(String namespace) Setter for namespace.voidSetter for policy.voidSetter for status.voidSetter for table.voidSetter for taskId.toString()
-
Constructor Details
-
TaskObject
public TaskObject()
-
-
Method Details
-
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
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
Getter for taskId. Unique identified for task in UUID format. -
setTaskId
Setter for taskId. Unique identified for task in UUID format. -
getPolicy
Getter for policy. The policy name. -
setPolicy
Setter for policy. The policy name. -
getCatalog
Getter for catalog. The catalog name. -
setCatalog
Setter for catalog. The catalog name. -
getNamespace
Getter for namespace. The namespace name. -
setNamespace
Setter for namespace. The namespace name. -
getTable
Getter for table. The table name. -
setTable
Setter for table. The table name. -
getCreatedAt
Getter for createdAt. The task creation time in epoch milliseconds. -
setCreatedAt
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
-
hashCode
public int hashCode() -
toString
-