com.cloudera.api.model
Class ApiHBaseSnapshotPolicyArguments

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

public class ApiHBaseSnapshotPolicyArguments
extends Object

HBase specific snapshot policy arguments.


Constructor Summary
ApiHBaseSnapshotPolicyArguments()
           
ApiHBaseSnapshotPolicyArguments(List<String> tableRegExps)
           
ApiHBaseSnapshotPolicyArguments(List<String> tableRegExps, ApiHBaseSnapshot.Storage storage)
           
 
Method Summary
 boolean equals(Object o)
           
 ApiHBaseSnapshot.Storage getStorage()
          The location where the snapshots should be stored.
 List<String> getTableRegExps()
          The regular expressions specifying the tables.
 int hashCode()
           
 void setStorage(ApiHBaseSnapshot.Storage storage)
           
 void setTableRegExps(List<String> tableRegExps)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ApiHBaseSnapshotPolicyArguments

public ApiHBaseSnapshotPolicyArguments()

ApiHBaseSnapshotPolicyArguments

public ApiHBaseSnapshotPolicyArguments(List<String> tableRegExps)

ApiHBaseSnapshotPolicyArguments

public ApiHBaseSnapshotPolicyArguments(List<String> tableRegExps,
                                       ApiHBaseSnapshot.Storage storage)
Method Detail

getTableRegExps

public List<String> getTableRegExps()
The regular expressions specifying the tables. Tables matching any of them will be eligible for snapshot creation.


setTableRegExps

public void setTableRegExps(List<String> tableRegExps)

getStorage

public ApiHBaseSnapshot.Storage getStorage()
The location where the snapshots should be stored.


setStorage

public void setStorage(ApiHBaseSnapshot.Storage storage)

toString

public String toString()
Overrides:
toString in class Object

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object


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