- java.lang.Object
-
- net.sf.jsqlparser.parser.ASTNodeAccessImpl
-
- net.sf.jsqlparser.expression.OracleHint
-
- All Implemented Interfaces:
Serializable
,Expression
,Model
,net.sf.jsqlparser.parser.ASTNodeAccess
public class OracleHint extends net.sf.jsqlparser.parser.ASTNodeAccessImpl implements Expression
Oracle Hint Expression- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description OracleHint()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description <T,S>
Taccept(ExpressionVisitor<T> expressionVisitor, S context)
static OracleHint
getHintFromSelectBody(Select selectBody)
String
getValue()
static boolean
isHintMatch(String comment)
boolean
isSingleLine()
void
setComment(String comment)
void
setSingleLine(boolean singleLine)
void
setValue(String value)
String
toString()
OracleHint
withSingleLine(boolean singleLine)
OracleHint
withValue(String value)
-
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
-
isHintMatch
public static boolean isHintMatch(String comment)
-
getHintFromSelectBody
public static OracleHint getHintFromSelectBody(Select selectBody)
-
setComment
public final void setComment(String comment)
-
getValue
public String getValue()
-
setValue
public void setValue(String value)
-
isSingleLine
public boolean isSingleLine()
-
setSingleLine
public void setSingleLine(boolean singleLine)
-
accept
public <T,S> T accept(ExpressionVisitor<T> expressionVisitor, S context)
- Specified by:
accept
in interfaceExpression
-
withValue
public OracleHint withValue(String value)
-
withSingleLine
public OracleHint withSingleLine(boolean singleLine)
-
-