Class BaseRequestedColumn
java.lang.Object
org.apache.drill.exec.physical.resultSet.project.BaseRequestedColumn
- All Implemented Interfaces:
RequestedColumn
- Direct Known Subclasses:
RequestedColumnImpl,RequestedWildcardColumn
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidbuildName(StringBuilder buf) fullName()Returns the fully-qualified column name.booleanisRoot()name()The column name as projected.booleannameEquals(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, waitMethods 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:RequestedColumnThe 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:
namein interfaceRequestedColumn- Returns:
- the column name as observed in the project list
-
fullName
Description copied from interface:RequestedColumnReturns 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:
fullNamein interfaceRequestedColumn- Returns:
- the full name with enclosing map prefixes, if any
-
buildName
-
nameEquals
Description copied from interface:RequestedColumnCase-insensitive comparison of the column name.- Specified by:
nameEqualsin interfaceRequestedColumn
-