@Evolving public interface SupportsMetalakes
Modifier and Type | Method and Description |
---|---|
Metalake |
alterMetalake(NameIdentifier ident,
MetalakeChange... changes)
Alter a metalake with specified identifier.
|
Metalake |
createMetalake(NameIdentifier ident,
java.lang.String comment,
java.util.Map<java.lang.String,java.lang.String> properties)
Create a metalake with specified identifier.
|
boolean |
dropMetalake(NameIdentifier ident)
Drop a metalake with specified identifier.
|
Metalake[] |
listMetalakes()
List all metalakes.
|
Metalake |
loadMetalake(NameIdentifier ident)
Load a metalake by its identifier.
|
default boolean |
metalakeExists(NameIdentifier ident)
Check if a metalake exists.
|
Metalake[] listMetalakes()
Metalake loadMetalake(NameIdentifier ident) throws NoSuchMetalakeException
ident
- the identifier of the metalake.NoSuchMetalakeException
- If the metalake does not exist.default boolean metalakeExists(NameIdentifier ident)
ident
- The identifier of the metalake.Metalake createMetalake(NameIdentifier ident, java.lang.String comment, java.util.Map<java.lang.String,java.lang.String> properties) throws MetalakeAlreadyExistsException
ident
- The identifier of the metalake.comment
- The comment of the metalake.properties
- The properties of the metalake.MetalakeAlreadyExistsException
- If the metalake already exists.Metalake alterMetalake(NameIdentifier ident, MetalakeChange... changes) throws NoSuchMetalakeException, java.lang.IllegalArgumentException
ident
- The identifier of the metalake.changes
- The changes to apply.NoSuchMetalakeException
- If the metalake does not exist.java.lang.IllegalArgumentException
- If the changes cannot be applied to the metalake.boolean dropMetalake(NameIdentifier ident)
ident
- The identifier of the metalake.