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 voidacceptVisitor(LanguageObjectVisitor visitor)StringgetDependentValueId()The id of the dependent values this parameter references.Class<?>getType()Determine the type returned by this expression.intgetValueIndex()0-based index of the parameter values in theBulkCommand.getParameterValues()row valuevoidsetDependentValueId(String dependentValueId)voidsetType(Class<?> type)voidsetValueIndex(int valueIndex)-
Methods inherited from class org.teiid.language.BaseLanguageObject
toString
-
-
-
-
Method Detail
-
getType
public Class<?> getType()
Description copied from interface:ExpressionDetermine the type returned by this expression.- Specified by:
getTypein interfaceExpression- Returns:
- The type, as defined by a Java class
-
setType
public void setType(Class<?> type)
-
acceptVisitor
public void acceptVisitor(LanguageObjectVisitor visitor)
- Specified by:
acceptVisitorin 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)
-
-