@InterfaceAudience.Public public class SnapshotDescription extends Object
构造器和说明 |
---|
SnapshotDescription(String name) |
SnapshotDescription(String name,
String table)
已过时。
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)
已过时。
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)
已过时。
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)
已过时。
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) |
限定符和类型 | 方法和说明 |
---|---|
long |
getCreationTime() |
String |
getName() |
String |
getOwner() |
String |
getTable()
已过时。
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() |
public SnapshotDescription(String name)
@Deprecated public SnapshotDescription(String name, String 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)
public String getName()
@Deprecated public String getTable()
getTableName()
or
getTableNameAsString()
instead.public String getTableNameAsString()
public TableName getTableName()
public SnapshotType getType()
public String getOwner()
public long getCreationTime()
public int getVersion()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.