Package org.apache.drill.exec.store.sys
Enum SystemTable
- All Implemented Interfaces:
Serializable
,Comparable<SystemTable>
,DrillTableSelection
An enumeration of all tables in Drill's system ("sys") schema.
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 Summary
Enum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptiondigest()
The digest of the selection represented by the implementation.getIterator
(ExecutorFragmentContext context, int maxRecords) Class<?>
boolean
static SystemTable
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.
-
Enum Constant Details
-
OPTIONS_OLD
-
OPTIONS
-
INTERNAL_OPTIONS_OLD
-
INTERNAL_OPTIONS
-
BOOT
-
DRILLBITS
-
VERSION
-
MEMORY
-
CONNECTIONS
-
PROFILES
-
PROFILES_JSON
-
THREADS
-
FUNCTIONS
-
STORAGE_ALIASES
-
TABLE_ALIASES
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getIterator
-
getTableName
-
isDistributed
public boolean isDistributed() -
getPojoClass
-
digest
Description copied from interface:DrillTableSelection
The digest of the selection represented by the implementation. The selections that accompany Tables can modify the contained dataset, e.g. a file selection can restrict to a subset of the available data and a format selection can include options that affect the behaviour of the underlying reader. Two scans will end up being considered identical during logical planning if their digests are the same so selection implementations should override this method so that exactly those scans that really are identical (in terms of the data they produce) have matching digests.- Specified by:
digest
in interfaceDrillTableSelection
- Returns:
- this selection's digest, normally a string built from its properties.
-