Package org.teiid.language
Class Parameter
- java.lang.Object
-
- org.teiid.language.BaseLanguageObject
-
- org.teiid.language.Parameter
-
- All Implemented Interfaces:
Expression
,LanguageObject
public class Parameter extends BaseLanguageObject implements Expression
-
-
Constructor Summary
Constructors Constructor Description Parameter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
acceptVisitor(LanguageObjectVisitor visitor)
String
getDependentValueId()
The id of the dependent values this parameter references.Class<?>
getType()
Determine the type returned by this expression.int
getValueIndex()
0-based index of the parameter values in theBulkCommand.getParameterValues()
row valuevoid
setDependentValueId(String dependentValueId)
void
setType(Class<?> type)
void
setValueIndex(int valueIndex)
-
Methods inherited from class org.teiid.language.BaseLanguageObject
toString
-
-
-
-
Method Detail
-
getType
public Class<?> getType()
Description copied from interface:Expression
Determine the type returned by this expression.- Specified by:
getType
in interfaceExpression
- Returns:
- The type, as defined by a Java class
-
setType
public void setType(Class<?> type)
-
acceptVisitor
public void acceptVisitor(LanguageObjectVisitor visitor)
- Specified by:
acceptVisitor
in interfaceLanguageObject
-
setValueIndex
public void setValueIndex(int valueIndex)
-
getValueIndex
public int getValueIndex()
0-based index of the parameter values in theBulkCommand.getParameterValues()
row value- Returns:
-
getDependentValueId
public String getDependentValueId()
The id of the dependent values this parameter references. Dependent values are available viaSelect.getDependentValues()
Will only be set for dependent join pushdown.- Returns:
-
setDependentValueId
public void setDependentValueId(String dependentValueId)
-
-