public enum SystemTable extends Enum<SystemTable> implements DrillTableSelection
OPTION, DRILLBITS and VERSION are local tables available on every Drillbit. MEMORY and THREADS are distributed tables with one record on every Drillbit. PROFILES and PROFILES_JSON are stored in local / distributed storage.
Enum Constant and Description |
---|
BOOT |
CONNECTIONS |
DRILLBITS |
FUNCTIONS |
INTERNAL_OPTIONS |
INTERNAL_OPTIONS_OLD |
MEMORY |
OPTIONS |
OPTIONS_OLD |
PROFILES |
PROFILES_JSON |
STORAGE_ALIASES |
TABLE_ALIASES |
THREADS |
VERSION |
Modifier and Type | Method and Description |
---|---|
String |
digest()
The digest of the selection represented by the implementation.
|
Iterator<Object> |
getIterator(ExecutorFragmentContext context,
int maxRecords) |
Class<?> |
getPojoClass() |
String |
getTableName() |
boolean |
isDistributed() |
static SystemTable |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SystemTable[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SystemTable OPTIONS_OLD
public static final SystemTable OPTIONS
public static final SystemTable INTERNAL_OPTIONS_OLD
public static final SystemTable INTERNAL_OPTIONS
public static final SystemTable BOOT
public static final SystemTable DRILLBITS
public static final SystemTable VERSION
public static final SystemTable MEMORY
public static final SystemTable CONNECTIONS
public static final SystemTable PROFILES
public static final SystemTable PROFILES_JSON
public static final SystemTable THREADS
public static final SystemTable FUNCTIONS
public static final SystemTable STORAGE_ALIASES
public static final SystemTable TABLE_ALIASES
public static SystemTable[] values()
for (SystemTable c : SystemTable.values()) System.out.println(c);
public static SystemTable 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 Iterator<Object> getIterator(ExecutorFragmentContext context, int maxRecords)
public String getTableName()
public boolean isDistributed()
public Class<?> getPojoClass()
public String digest()
DrillTableSelection
digest
in interface DrillTableSelection
Copyright © 1970 The Apache Software Foundation. All rights reserved.