Package | Description |
---|---|
org.apache.hadoop.hbase.client |
Provides HBase Client
|
org.apache.hadoop.hbase.shaded.protobuf | |
org.apache.hadoop.hbase.snapshot |
Modifier and Type | Method and Description |
---|---|
CompletableFuture<List<SnapshotDescription>> |
AsyncAdmin.listSnapshots()
List completed snapshots.
|
List<SnapshotDescription> |
Admin.listSnapshots()
List completed snapshots.
|
CompletableFuture<List<SnapshotDescription>> |
AsyncAdmin.listSnapshots(Pattern pattern)
List all the completed snapshots matching the given pattern.
|
List<SnapshotDescription> |
Admin.listSnapshots(Pattern pattern)
List all the completed snapshots matching the given pattern.
|
CompletableFuture<List<SnapshotDescription>> |
AsyncAdmin.listTableSnapshots(Pattern tableNamePattern)
List all the completed snapshots matching the given table name pattern.
|
CompletableFuture<List<SnapshotDescription>> |
AsyncAdmin.listTableSnapshots(Pattern tableNamePattern,
Pattern snapshotNamePattern)
List all the completed snapshots matching the given table name regular expression and snapshot
name regular expression.
|
List<SnapshotDescription> |
Admin.listTableSnapshots(Pattern tableNamePattern,
Pattern snapshotNamePattern)
List all the completed snapshots matching the given table name regular expression and snapshot
name regular expression.
|
Modifier and Type | Method and Description |
---|---|
CompletableFuture<Boolean> |
AsyncAdmin.isSnapshotFinished(SnapshotDescription snapshot)
Check the current state of the passed snapshot.
|
boolean |
Admin.isSnapshotFinished(SnapshotDescription snapshot)
Check the current state of the passed snapshot.
|
CompletableFuture<Void> |
AsyncAdmin.snapshot(SnapshotDescription snapshot)
Take a snapshot and wait for the server to complete that snapshot asynchronously.
|
void |
Admin.snapshot(SnapshotDescription snapshot)
Take a snapshot and wait for the server to complete that snapshot (blocking).
|
Future<Void> |
Admin.snapshotAsync(SnapshotDescription snapshot)
Take a snapshot without waiting for the server to complete that snapshot (asynchronous).
|
Modifier and Type | Method and Description |
---|---|
static SnapshotDescription |
ProtobufUtil.createSnapshotDesc(org.apache.hadoop.hbase.shaded.protobuf.generated.SnapshotProtos.SnapshotDescription snapshotDesc)
Convert from
SnapshotProtos.SnapshotDescription to
SnapshotDescription |
Modifier and Type | Method and Description |
---|---|
static List<SnapshotDescription> |
ProtobufUtil.toSnapshotDescriptionList(org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProtos.GetCompletedSnapshotsResponse response,
Pattern pattern) |
Modifier and Type | Method and Description |
---|---|
static org.apache.hadoop.hbase.shaded.protobuf.generated.SnapshotProtos.SnapshotDescription |
ProtobufUtil.createHBaseProtosSnapshotDesc(SnapshotDescription snapshotDesc)
Convert from
SnapshotDescription to
SnapshotProtos.SnapshotDescription |
Modifier and Type | Method and Description |
---|---|
SnapshotDescription |
HBaseSnapshotException.getSnapshotDescription() |
Constructor and Description |
---|
CorruptedSnapshotException(String message,
SnapshotDescription snapshotDescription)
Snapshot was corrupt for some reason.
|
HBaseSnapshotException(String message,
SnapshotDescription snapshotDescription)
Exception for the given snapshot that has no previous root cause.
|
HBaseSnapshotException(String message,
Throwable cause,
SnapshotDescription snapshotDescription)
Exception for the given snapshot due to another exception.
|
RestoreSnapshotException(String message,
SnapshotDescription snapshotDescription) |
RestoreSnapshotException(String message,
Throwable cause,
SnapshotDescription snapshotDescription) |
SnapshotCreationException(String message,
SnapshotDescription snapshotDescription)
Failure to create the specified snapshot.
|
SnapshotCreationException(String message,
Throwable cause,
SnapshotDescription snapshotDescription)
Failure to create the specified snapshot due to an external cause.
|
SnapshotDoesNotExistException(SnapshotDescription snapshotDescription) |
SnapshotExistsException(String message,
SnapshotDescription snapshotDescription)
Failure due to the snapshot already existing.
|
Copyright © 2007–2021 The Apache Software Foundation. All rights reserved.