public class FieldReference extends SchemaPath
Modifier and Type | Class and Description |
---|---|
static class |
FieldReference.De |
static class |
FieldReference.Se |
DYNAMIC_STAR, STAR_COLUMN
Constructor and Description |
---|
FieldReference(CharSequence value) |
FieldReference(CharSequence value,
ExpressionPosition pos) |
FieldReference(SchemaPath sp) |
FieldReference(String value,
ExpressionPosition pos,
TypeProtos.MajorType dataType) |
Modifier and Type | Method and Description |
---|---|
TypeProtos.MajorType |
getMajorType() |
static FieldReference |
getWithQuotedRef(CharSequence safeString)
Create a
FieldReference given an unquoted name. |
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
getCumulativeCost, getDescription, getPosition, getSelfCost, i
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
forEach, spliterator
public FieldReference(SchemaPath sp)
public FieldReference(CharSequence value)
public FieldReference(CharSequence value, ExpressionPosition pos)
public FieldReference(String value, ExpressionPosition pos, TypeProtos.MajorType dataType)
public static FieldReference getWithQuotedRef(CharSequence safeString)
FieldReference
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.)safeString
- the unquoted field referencepublic TypeProtos.MajorType getMajorType()
getMajorType
in interface LogicalExpression
getMajorType
in class SchemaPath
Copyright © 1970 The Apache Software Foundation. All rights reserved.