Class BaseRequestedColumn
java.lang.Object
org.apache.drill.exec.physical.resultSet.project.BaseRequestedColumn
- All Implemented Interfaces:
RequestedColumn
- Direct Known Subclasses:
RequestedColumnImpl
,RequestedWildcardColumn
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
buildName
(StringBuilder buf) fullName()
Returns the fully-qualified column name.boolean
isRoot()
name()
The column name as projected.boolean
nameEquals
(String target) Case-insensitive comparison of the column name.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.drill.exec.physical.resultSet.project.RequestedColumn
arrayDims, hasIndex, hasIndexes, indexes, isArray, isSimple, isTuple, isWildcard, maxIndex, qualifier, tuple
-
Constructor Details
-
BaseRequestedColumn
-
-
Method Details
-
isRoot
public boolean isRoot() -
name
Description copied from interface:RequestedColumn
The column name as projected. If the same column appears multiple times (as ina[1], A[2]
, then the case of the first appearance is used.- Specified by:
name
in interfaceRequestedColumn
- Returns:
- the column name as observed in the project list
-
fullName
Description copied from interface:RequestedColumn
Returns the fully-qualified column name. If the column is in the top-level tuple, this is the same asname()
. If the column is nested in an array, then this name includes the enclosing columns:a.b.c
.- Specified by:
fullName
in interfaceRequestedColumn
- Returns:
- the full name with enclosing map prefixes, if any
-
buildName
-
nameEquals
Description copied from interface:RequestedColumn
Case-insensitive comparison of the column name.- Specified by:
nameEquals
in interfaceRequestedColumn
-