public static enum MetastoreResource.Entity extends Enum<MetastoreResource.Entity>
Enum Constant and Description |
---|
CUBE |
DATABASE |
DIMENSION |
DIMTABLE |
FACT |
STORAGE |
Modifier and Type | Method and Description |
---|---|
APIResult |
delete(LensSessionHandle sessionid,
String entityName) |
APIResult |
delete(LensSessionHandle sessionid,
String entityName,
Boolean cascade) |
APIResult |
deleteAll(LensSessionHandle sessionid,
Boolean cascade) |
abstract void |
doDelete(LensSessionHandle sessionid,
String entityName,
Boolean cascade) |
abstract List<String> |
doGetAll(LensSessionHandle sessionid) |
StringList |
getAll(LensSessionHandle sessionid) |
static MetastoreResource.Entity |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MetastoreResource.Entity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MetastoreResource.Entity DATABASE
public static final MetastoreResource.Entity STORAGE
public static final MetastoreResource.Entity CUBE
public static final MetastoreResource.Entity FACT
public static final MetastoreResource.Entity DIMENSION
public static final MetastoreResource.Entity DIMTABLE
public static MetastoreResource.Entity[] values()
for (MetastoreResource.Entity c : MetastoreResource.Entity.values()) System.out.println(c);
public static MetastoreResource.Entity valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic abstract List<String> doGetAll(LensSessionHandle sessionid) throws LensException
LensException
public abstract void doDelete(LensSessionHandle sessionid, String entityName, Boolean cascade) throws LensException
LensException
public StringList getAll(LensSessionHandle sessionid)
public APIResult delete(LensSessionHandle sessionid, String entityName, Boolean cascade)
public APIResult delete(LensSessionHandle sessionid, String entityName)
public APIResult deleteAll(LensSessionHandle sessionid, Boolean cascade)
Copyright © 2014–2016 Apache Software Foundation. All rights reserved.