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
Nested Classes -
Field Summary
Fields inherited from class org.apache.drill.common.expression.SchemaPath
DYNAMIC_STAR, STAR_COLUMN -
Constructor Summary
ConstructorsConstructorDescriptionFieldReference(CharSequence value) FieldReference(CharSequence value, ExpressionPosition pos) FieldReference(String value, ExpressionPosition pos, TypeProtos.MajorType dataType) -
Method Summary
Modifier and TypeMethodDescriptionstatic FieldReferencegetWithQuotedRef(CharSequence safeString) Create aFieldReferencegiven 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, toStringMethods inherited from class org.apache.drill.common.expression.LogicalExpressionBase
getCumulativeCost, getDescription, getPosition, getSelfCost, iMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
FieldReference
-
FieldReference
-
FieldReference
-
FieldReference
-
-
Method Details
-
getWithQuotedRef
Create aFieldReferencegiven 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:
getMajorTypein interfaceLogicalExpression- Overrides:
getMajorTypein classSchemaPath
-