public class RexDynamicParam extends RexVariable
name, type| Constructor and Description |
|---|
RexDynamicParam(RelDataType type,
int index)
Creates a dynamic parameter.
|
| Modifier and Type | Method and Description |
|---|---|
<R> R |
accept(RexVisitor<R> visitor)
Accepts a visitor, dispatching to the right overloaded
visitXxx method. |
int |
getIndex() |
SqlKind |
getKind()
Returns the kind of node this is.
|
getName, getTypeisA, isA, isAlwaysFalse, isAlwaysTrue, toStringpublic RexDynamicParam(RelDataType type, int index)
type - inferred type of parameterindex - 0-based index of dynamic parameter in statementpublic SqlKind getKind()
RexNodepublic int getIndex()
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.
Copyright © 2012–2015 The Apache Software Foundation. All rights reserved.