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