com.cloudera.api.model
Class ApiReplicationCommand
java.lang.Object
com.cloudera.api.model.ApiCommand
com.cloudera.api.model.ApiReplicationCommand
public class ApiReplicationCommand
- extends ApiCommand
Information about a replication command.
This object holds all the information a regular ApiCommand object provides,
and adds specific information about the results of a replication command.
Depending on the type of the service where the replication was run, a
different result property will be populated.
Methods inherited from class com.cloudera.api.model.ApiCommand |
getCanRetry, getChildren, getClusterRef, getEndTime, getHostRef, getId, getName, getParent, getResultDataUrl, getResultMessage, getRoleRef, getServiceRef, getStartTime, getSuccess, isActive, isCanRetry, setActive, setCanRetry, setChildren, setClusterRef, setEndTime, setHostRef, setId, setName, setParent, setResultDataUrl, setResultMessage, setRoleRef, setServiceRef, setStartTime, setSuccess, toStringHelper |
ApiReplicationCommand
public ApiReplicationCommand()
getHdfsResult
public ApiHdfsReplicationResult getHdfsResult()
- Results for replication commands on HDFS services.
setHdfsResult
public void setHdfsResult(ApiHdfsReplicationResult hdfsResult)
getHiveResult
public ApiHiveReplicationResult getHiveResult()
- Results for replication commands on Hive services.
setHiveResult
public void setHiveResult(ApiHiveReplicationResult hiveResult)
equals
public boolean equals(Object o)
- Overrides:
equals
in class ApiCommand
hashCode
public int hashCode()
- Overrides:
hashCode
in class ApiCommand
toString
public String toString()
- Overrides:
toString
in class ApiCommand
Copyright © Cloudera, Inc. Released under Apache License, Version 2.0.