com.cloudera.api.model
Class ApiHdfsSnapshotResult

java.lang.Object
  extended by com.cloudera.api.model.ApiHdfsSnapshotResult

public class ApiHdfsSnapshotResult
extends Object

Detailed information about an HDFS snapshot command.


Constructor Summary
ApiHdfsSnapshotResult()
           
 
Method Summary
 boolean equals(Object o)
           
 Integer getCreatedSnapshotCount()
          Number of snapshots created.
 List<ApiHdfsSnapshot> getCreatedSnapshots()
          List of snapshots created.
 Integer getCreationErrorCount()
          Number of errors detected when creating snapshots.
 List<ApiHdfsSnapshotError> getCreationErrors()
          List of errors encountered when creating snapshots.
 Integer getDeletedSnapshotCount()
          Number of snapshots deleted.
 List<ApiHdfsSnapshot> getDeletedSnapshots()
          List of snapshots deleted.
 Integer getDeletionErrorCount()
          Number of errors detected when deleting snapshots.
 List<ApiHdfsSnapshotError> getDeletionErrors()
          List of errors encountered when deleting snapshots.
 Integer getProcessedPathCount()
          Number of processed paths.
 List<String> getProcessedPaths()
          The list of processed paths.
 Integer getUnprocessedPathCount()
          Number of unprocessed paths.
 List<String> getUnprocessedPaths()
          The list of unprocessed paths.
 int hashCode()
           
 void setCreatedSnapshotCount(Integer createdSnapshotCount)
           
 void setCreatedSnapshots(List<ApiHdfsSnapshot> createdSnapshots)
           
 void setCreationErrorCount(Integer creationErrorCount)
           
 void setCreationErrors(List<ApiHdfsSnapshotError> creationErrors)
           
 void setDeletedSnapshotCount(Integer deletedSnapshotCount)
           
 void setDeletedSnapshots(List<ApiHdfsSnapshot> deletedSnapshots)
           
 void setDeletionErrorCount(Integer deletionErrorCount)
           
 void setDeletionErrors(List<ApiHdfsSnapshotError> deletionErrors)
           
 void setProcessedPathCount(Integer processedPathCount)
           
 void setProcessedPaths(List<String> paths)
           
 void setUnprocessedPathCount(Integer unprocessedPathCount)
           
 void setUnprocessedPaths(List<String> paths)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ApiHdfsSnapshotResult

public ApiHdfsSnapshotResult()
Method Detail

getProcessedPathCount

public Integer getProcessedPathCount()
Number of processed paths.


setProcessedPathCount

public void setProcessedPathCount(Integer processedPathCount)

getProcessedPaths

public List<String> getProcessedPaths()
The list of processed paths.

This is only available in the full view.


setProcessedPaths

public void setProcessedPaths(List<String> paths)

getUnprocessedPathCount

public Integer getUnprocessedPathCount()
Number of unprocessed paths.


setUnprocessedPathCount

public void setUnprocessedPathCount(Integer unprocessedPathCount)

getUnprocessedPaths

public List<String> getUnprocessedPaths()
The list of unprocessed paths. Note that paths that are currently being processed will also be included in this list.

This is only available in the full view.


setUnprocessedPaths

public void setUnprocessedPaths(List<String> paths)

getCreatedSnapshotCount

public Integer getCreatedSnapshotCount()
Number of snapshots created.


setCreatedSnapshotCount

public void setCreatedSnapshotCount(Integer createdSnapshotCount)

getCreatedSnapshots

public List<ApiHdfsSnapshot> getCreatedSnapshots()
List of snapshots created.

This is only available in the full view.


setCreatedSnapshots

public void setCreatedSnapshots(List<ApiHdfsSnapshot> createdSnapshots)

getDeletedSnapshotCount

public Integer getDeletedSnapshotCount()
Number of snapshots deleted.


setDeletedSnapshotCount

public void setDeletedSnapshotCount(Integer deletedSnapshotCount)

getDeletedSnapshots

public List<ApiHdfsSnapshot> getDeletedSnapshots()
List of snapshots deleted.

This is only available in the full view.


setDeletedSnapshots

public void setDeletedSnapshots(List<ApiHdfsSnapshot> deletedSnapshots)

getCreationErrorCount

public Integer getCreationErrorCount()
Number of errors detected when creating snapshots.


setCreationErrorCount

public void setCreationErrorCount(Integer creationErrorCount)

getCreationErrors

public List<ApiHdfsSnapshotError> getCreationErrors()
List of errors encountered when creating snapshots.

This is only available in the full view.


setCreationErrors

public void setCreationErrors(List<ApiHdfsSnapshotError> creationErrors)

getDeletionErrorCount

public Integer getDeletionErrorCount()
Number of errors detected when deleting snapshots.


setDeletionErrorCount

public void setDeletionErrorCount(Integer deletionErrorCount)

getDeletionErrors

public List<ApiHdfsSnapshotError> getDeletionErrors()
List of errors encountered when deleting snapshots.

This is only available in the full view.


setDeletionErrors

public void setDeletionErrors(List<ApiHdfsSnapshotError> deletionErrors)

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


Copyright © Cloudera, Inc. Released under Apache License, Version 2.0.