@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 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,
Map<String,Object> snapshotProps) |
限定符和类型 | 方法和说明 |
---|---|
long |
getCreationTime() |
long |
getMaxFileSize() |
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, Map<String,Object> snapshotProps)
public 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. TTLpublic 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()
public long getMaxFileSize()
Copyright © 2007–2021 The Apache Software Foundation. All rights reserved.