public enum SystemTable extends Enum<SystemTable>
OPTION, DRILLBITS and VERSION are local tables available on every Drillbit. MEMORY and THREADS are distributed tables with one record on every Drillbit.
| Enum Constant and Description |
|---|
BOOT |
DRILLBITS |
INTERNAL_OPTIONS |
INTERNAL_OPTIONS_VAL |
MEMORY |
OPTION |
OPTION_VAL |
THREADS |
VERSION |
| Modifier and Type | Method and Description |
|---|---|
Iterator<Object> |
getIterator(FragmentContext context) |
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 OPTION
public static final SystemTable OPTION_VAL
public static final SystemTable INTERNAL_OPTIONS
public static final SystemTable INTERNAL_OPTIONS_VAL
public static final SystemTable BOOT
public static final SystemTable DRILLBITS
public static final SystemTable VERSION
public static final SystemTable MEMORY
public static final SystemTable THREADS
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(FragmentContext context)
public String getTableName()
public boolean isDistributed()
public Class<?> getPojoClass()
Copyright © 2017 The Apache Software Foundation. All rights reserved.