public class RexPatternFieldRef extends RexInputRef
RexSlot.SelfPopulatingList| Modifier and Type | Field and Description |
|---|---|
private String |
alpha |
name, type| Constructor and Description |
|---|
RexPatternFieldRef(String alpha,
int index,
RelDataType type) |
| Modifier and Type | Method and Description |
|---|---|
<R,P> R |
accept(RexBiVisitor<R,P> visitor,
P arg)
Accepts a visitor with a payload, dispatching to the right overloaded
RexBiVisitor.visitInputRef(RexInputRef, Object) visitXxx} method. |
<R> R |
accept(RexVisitor<R> visitor)
Accepts a visitor, dispatching to the right overloaded
visitXxx method. |
String |
getAlpha() |
SqlKind |
getKind()
Returns the kind of node this is.
|
static RexPatternFieldRef |
of(String alpha,
int index,
RelDataType type) |
static RexPatternFieldRef |
of(String alpha,
RexInputRef ref) |
createName, equals, hashCode, of, of, of2getName, getTypeisA, isA, isAlwaysFalse, isAlwaysTrue, toStringprivate final String alpha
public RexPatternFieldRef(String alpha, int index, RelDataType type)
public String getAlpha()
public static RexPatternFieldRef of(String alpha, int index, RelDataType type)
public static RexPatternFieldRef of(String alpha, RexInputRef ref)
public <R> R accept(RexVisitor<R> visitor)
RexNodevisitXxx method.
Also see RexUtil.apply(RexVisitor, java.util.List, RexNode),
which applies a visitor to several expressions simultaneously.
accept in class RexInputRefpublic <R,P> R accept(RexBiVisitor<R,P> visitor, P arg)
RexNodeRexBiVisitor.visitInputRef(RexInputRef, Object) visitXxx} method.accept in class RexInputRefpublic SqlKind getKind()
RexNodegetKind in class RexInputRefCopyright © 2012–2018 The Apache Software Foundation. All rights reserved.