- java.lang.Object
-
- net.sf.jsqlparser.parser.ASTNodeAccessImpl
-
- net.sf.jsqlparser.expression.JdbcParameter
-
- All Implemented Interfaces:
Serializable,Expression,Model,net.sf.jsqlparser.parser.ASTNodeAccess
public class JdbcParameter extends net.sf.jsqlparser.parser.ASTNodeAccessImpl implements Expression
A '?' in a statement or a ?<number> e.g. ?4- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description JdbcParameter()JdbcParameter(Integer index, boolean useFixedIndex, String parameterCharacter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T,S>
Taccept(ExpressionVisitor<T> expressionVisitor, S context)IntegergetIndex()StringgetParameterCharacter()booleanisUseFixedIndex()voidsetIndex(Integer index)JdbcParametersetParameterCharacter(String parameterCharacter)voidsetUseFixedIndex(boolean useFixedIndex)StringtoString()JdbcParameterwithIndex(Integer index)JdbcParameterwithUseFixedIndex(boolean useFixedIndex)-
Methods inherited from class net.sf.jsqlparser.parser.ASTNodeAccessImpl
appendTo, getASTNode, getParent, getParent, setASTNode
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface net.sf.jsqlparser.expression.Expression
accept
-
-
-
-
Method Detail
-
getParameterCharacter
public String getParameterCharacter()
-
setParameterCharacter
public JdbcParameter setParameterCharacter(String parameterCharacter)
-
getIndex
public Integer getIndex()
-
setIndex
public void setIndex(Integer index)
-
isUseFixedIndex
public boolean isUseFixedIndex()
-
setUseFixedIndex
public void setUseFixedIndex(boolean useFixedIndex)
-
accept
public <T,S> T accept(ExpressionVisitor<T> expressionVisitor, S context)
- Specified by:
acceptin interfaceExpression
-
withIndex
public JdbcParameter withIndex(Integer index)
-
withUseFixedIndex
public JdbcParameter withUseFixedIndex(boolean useFixedIndex)
-
-