Package net.sf.jsqlparser.expression
Class JdbcParameter
java.lang.Object
net.sf.jsqlparser.parser.ASTNodeAccessImpl
net.sf.jsqlparser.expression.JdbcParameter
- All Implemented Interfaces:
Serializable
,Expression
,Model
,ASTNodeAccess
A '?' in a statement or a ?<number> e.g. ?4
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionJdbcParameter
(Integer index, boolean useFixedIndex, String parameterCharacter) -
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(ExpressionVisitor expressionVisitor) getIndex()
boolean
void
setParameterCharacter
(String parameterCharacter) void
setUseFixedIndex
(boolean useFixedIndex) toString()
withUseFixedIndex
(boolean useFixedIndex) Methods inherited from class net.sf.jsqlparser.parser.ASTNodeAccessImpl
appendTo, getASTNode, 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.parser.ASTNodeAccess
getASTNode, setASTNode
-
Field Details
-
parameterCharacter
-
index
-
useFixedIndex
private boolean useFixedIndex
-
-
Constructor Details
-
JdbcParameter
public JdbcParameter() -
JdbcParameter
-
-
Method Details
-
getParameterCharacter
-
setParameterCharacter
-
getIndex
-
setIndex
-
isUseFixedIndex
public boolean isUseFixedIndex() -
setUseFixedIndex
public void setUseFixedIndex(boolean useFixedIndex) -
accept
- Specified by:
accept
in interfaceExpression
-
toString
-
withIndex
-
withUseFixedIndex
-