com.cloudera.api.model
Class ApiHBaseSnapshot

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

public class ApiHBaseSnapshot
extends Object

An HBase snapshot descriptor.


Nested Class Summary
static class ApiHBaseSnapshot.Storage
           
 
Constructor Summary
ApiHBaseSnapshot()
           
ApiHBaseSnapshot(String snapshotName, String tableName)
           
ApiHBaseSnapshot(String snapshotName, String tableName, Date creationTime)
           
ApiHBaseSnapshot(String snapshotName, String tableName, Date creationTime, ApiHBaseSnapshot.Storage storage)
           
 
Method Summary
 boolean equals(Object o)
           
 Date getCreationTime()
          Snapshot creation time.
 String getSnapshotName()
          Snapshot name.
 ApiHBaseSnapshot.Storage getStorage()
          The location where a snapshot is stored.
 String getTableName()
          Name of the table this snapshot is for.
 int hashCode()
           
 void setCreationTime(Date creationTime)
           
 void setSnapshotName(String snapshotName)
           
 void setStorage(ApiHBaseSnapshot.Storage storage)
           
 void setTableName(String tableName)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ApiHBaseSnapshot

public ApiHBaseSnapshot()

ApiHBaseSnapshot

public ApiHBaseSnapshot(String snapshotName,
                        String tableName)

ApiHBaseSnapshot

public ApiHBaseSnapshot(String snapshotName,
                        String tableName,
                        Date creationTime)

ApiHBaseSnapshot

public ApiHBaseSnapshot(String snapshotName,
                        String tableName,
                        Date creationTime,
                        ApiHBaseSnapshot.Storage storage)
Method Detail

getSnapshotName

public String getSnapshotName()
Snapshot name.


setSnapshotName

public void setSnapshotName(String snapshotName)

getTableName

public String getTableName()
Name of the table this snapshot is for.


setTableName

public void setTableName(String tableName)

getCreationTime

public Date getCreationTime()
Snapshot creation time.


setCreationTime

public void setCreationTime(Date creationTime)

getStorage

public ApiHBaseSnapshot.Storage getStorage()
The location where a snapshot is 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.