@InterfaceAudience.Public public class SnapshotDescription extends Object
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 snapshotName,
TableName tableName,
SnapshotType type,
Map<String,Object> snapshotProps)
SnapshotDescription Parameterized Constructor
|
SnapshotDescription(String name,
TableName table,
SnapshotType type,
String owner) |
SnapshotDescription(String name,
TableName table,
SnapshotType type,
String owner,
long creationTime,
int version)
Deprecated.
since 2.3.0 and will be removed in 4.0.0. Use
SnapshotDescription(String, TableName, SnapshotType, String, long, int, Map) |
SnapshotDescription(String name,
TableName table,
SnapshotType type,
String owner,
long creationTime,
int version,
Map<String,Object> snapshotProps)
SnapshotDescription Parameterized Constructor
|
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() |
long |
getTtl() |
SnapshotType |
getType() |
int |
getVersion() |
String |
toString() |
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)
@Deprecated public SnapshotDescription(String name, TableName table, SnapshotType type, String owner, long creationTime, int version)
SnapshotDescription(String, TableName, SnapshotType, String, long, int, Map)
name
- Name of the snapshottable
- TableName associated with the snapshottype
- Type of the snapshot - enum SnapshotTypeowner
- Snapshot OwnercreationTime
- Creation time for Snapshotversion
- Snapshot Versionpublic SnapshotDescription(String name, TableName table, SnapshotType type, String owner, long creationTime, int version, Map<String,Object> snapshotProps)
name
- Name of the snapshottable
- TableName associated with the snapshottype
- Type of the snapshot - enum SnapshotTypeowner
- Snapshot OwnercreationTime
- Creation time for Snapshotversion
- Snapshot VersionsnapshotProps
- Additional properties for snapshot e.g. TTLpublic SnapshotDescription(String snapshotName, TableName tableName, SnapshotType type, Map<String,Object> snapshotProps)
snapshotName
- Name of the snapshottableName
- TableName associated with the snapshottype
- Type of the snapshot - enum SnapshotTypesnapshotProps
- Additional properties for snapshot e.g. TTL@Deprecated public String getTable()
getTableName()
or
getTableNameAsString()
instead.getTableName()
,
getTableNameAsString()
,
HBASE-16892public String getTableNameAsString()
public TableName getTableName()
public SnapshotType getType()
public long getCreationTime()
public long getTtl()
public int getVersion()
Copyright © 2007–2021 The Apache Software Foundation. All rights reserved.