@Evolving public interface SupportsMetalakes
| Modifier and Type | Method and Description | 
|---|---|
Metalake | 
alterMetalake(java.lang.String name,
             MetalakeChange... changes)
Alter a metalake with specified metalake name and changes. 
 | 
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 name, comment and properties. 
 | 
void | 
disableMetalake(java.lang.String name)
Disable a metalake. 
 | 
default boolean | 
dropMetalake(java.lang.String name)
Drop a metalake with specified name. 
 | 
boolean | 
dropMetalake(java.lang.String name,
            boolean force)
Drop a metalake with specified name. 
 | 
void | 
enableMetalake(java.lang.String name)
Enable a metalake. 
 | 
Metalake[] | 
listMetalakes()
List all metalakes. 
 | 
Metalake | 
loadMetalake(java.lang.String name)
Load a metalake by its name. 
 | 
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.default boolean dropMetalake(java.lang.String name)
                      throws NonEmptyEntityException,
                             MetalakeInUseException
NonEmptyEntityException will be
       thrown.
   disableMetalake(String) has been called before dropping the metalake.
       Otherwise, a MetalakeInUseException will be thrown.
 dropMetalake(name, false).name - The name of the metalake.NonEmptyEntityException - If the metalake is not empty.MetalakeInUseException - If the metalake is in use.boolean dropMetalake(java.lang.String name,
                     boolean force)
              throws NonEmptyEntityException,
                     MetalakeInUseException
dropMetalake(String).name - The name of the metalake.force - Whether to force the drop.NonEmptyEntityException - If the metalake is not empty and force is false.MetalakeInUseException - If the metalake is in use and force is false.void enableMetalake(java.lang.String name)
             throws NoSuchMetalakeException
name - The name of the metalake.NoSuchMetalakeException - If the metalake does not exist.void disableMetalake(java.lang.String name)
              throws NoSuchMetalakeException
MetalakeNotInUseException.
   MetalakeNotInUseException.
 name - The name of the metalake.NoSuchMetalakeException - If the metalake does not exist.