@InterfaceAudience.Public public class SnapshotDescription extends Object
Modifier and Type | Field and Description |
---|---|
private long |
creationTime |
private String |
name |
private String |
owner |
private SnapshotType |
snapShotType |
private TableName |
table |
private int |
version |
Constructor and Description |
---|
SnapshotDescription(String name) |
SnapshotDescription(String name,
String table)
Deprecated.
since 2.0.0 and will be removed in 3.0.0. Use the version with the TableName
instance instead.
|
SnapshotDescription(String name,
String table,
SnapshotType type)
Deprecated.
since 2.0.0 and will be removed in 3.0.0. Use the version with the TableName
instance instead.
|
SnapshotDescription(String name,
String table,
SnapshotType type,
String owner)
Deprecated.
since 2.0.0 and will be removed in 3.0.0. Use the version with the TableName
instance instead.
|
SnapshotDescription(String name,
String table,
SnapshotType type,
String owner,
long creationTime,
int version)
Deprecated.
since 2.0.0 and will be removed in 3.0.0. Use the version with the TableName
instance instead.
|
SnapshotDescription(String name,
TableName table) |
SnapshotDescription(String name,
TableName table,
SnapshotType type) |
SnapshotDescription(String name,
TableName table,
SnapshotType type,
String owner) |
SnapshotDescription(String name,
TableName table,
SnapshotType type,
String owner,
long creationTime,
int version) |
Modifier and Type | Method and Description |
---|---|
long |
getCreationTime() |
String |
getName() |
String |
getOwner() |
String |
getTable()
Deprecated.
since 2.0.0 and will be removed in 3.0.0. Use
getTableName() or
getTableNameAsString() instead. |
TableName |
getTableName() |
String |
getTableNameAsString() |
SnapshotType |
getType() |
int |
getVersion() |
String |
toString() |
private final SnapshotType snapShotType
private final long creationTime
private final int version
public SnapshotDescription(String name)
@Deprecated public SnapshotDescription(String name, String table)
public SnapshotDescription(String name, TableName table)
@Deprecated public SnapshotDescription(String name, String table, SnapshotType type)
public SnapshotDescription(String name, TableName table, SnapshotType type)
@Deprecated public SnapshotDescription(String name, String table, SnapshotType type, String owner)
public SnapshotDescription(String name, TableName table, SnapshotType type, String owner)
@Deprecated public SnapshotDescription(String name, String table, SnapshotType type, String owner, long creationTime, int version)
public SnapshotDescription(String name, TableName table, SnapshotType type, String owner, long creationTime, int version)
@Deprecated public String getTable()
getTableName()
or
getTableNameAsString()
instead.getTableName()
,
getTableNameAsString()
,
HBASE-16892public String getTableNameAsString()
public TableName getTableName()
public SnapshotType getType()
public long getCreationTime()
public int getVersion()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.