Class FieldReference
java.lang.Object
org.apache.drill.common.expression.LogicalExpressionBase
org.apache.drill.common.expression.SchemaPath
org.apache.drill.common.expression.FieldReference
- All Implemented Interfaces:
Iterable<LogicalExpression>
,LogicalExpression
-
Nested Class Summary
-
Field Summary
Fields inherited from class org.apache.drill.common.expression.SchemaPath
DYNAMIC_STAR, STAR_COLUMN
-
Constructor Summary
ConstructorDescriptionFieldReference
(CharSequence value) FieldReference
(CharSequence value, ExpressionPosition pos) FieldReference
(String value, ExpressionPosition pos, TypeProtos.MajorType dataType) -
Method Summary
Modifier and TypeMethodDescriptionstatic FieldReference
getWithQuotedRef
(CharSequence safeString) Create aFieldReference
given an unquoted name.Methods inherited from class org.apache.drill.common.expression.SchemaPath
accept, contains, create, equals, getAsNamePart, getAsUnescapedPath, getChild, getChild, getChild, getChild, getCompoundPath, getCompoundPath, getLastSegment, getRootSegment, getRootSegmentPath, getSimplePath, getUnIndexed, hashCode, isArray, isDynamicStar, isLeaf, isSimplePath, iterator, nameEquals, parseFromString, rootName, toExpr, toString
Methods inherited from class org.apache.drill.common.expression.LogicalExpressionBase
getCumulativeCost, getDescription, getPosition, getSelfCost, i
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
FieldReference
-
FieldReference
-
FieldReference
-
FieldReference
-
-
Method Details
-
getWithQuotedRef
Create aFieldReference
given an unquoted name. (Note: the name here is a misnomer: the name may have been quoted in SQL, but must be unquoted when passed in here.)- Parameters:
safeString
- the unquoted field reference- Returns:
- the field reference expression
-
getMajorType
- Specified by:
getMajorType
in interfaceLogicalExpression
- Overrides:
getMajorType
in classSchemaPath
-