Package net.sf.jsqlparser.expression
Class OracleHint
- java.lang.Object
-
- net.sf.jsqlparser.parser.ASTNodeAccessImpl
-
- net.sf.jsqlparser.expression.OracleHint
-
- All Implemented Interfaces:
java.io.Serializable
,Expression
,Model
,ASTNodeAccess
public class OracleHint extends ASTNodeAccessImpl implements Expression
Oracle Hint Expression- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private static java.util.regex.Pattern
MULTI_LINE
private static java.util.regex.Pattern
SINGLE_LINE
private boolean
singleLine
private java.lang.String
value
-
Constructor Summary
Constructors Constructor Description OracleHint()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(ExpressionVisitor visitor)
static OracleHint
getHintFromSelectBody(Select selectBody)
java.lang.String
getValue()
static boolean
isHintMatch(java.lang.String comment)
boolean
isSingleLine()
void
setComment(java.lang.String comment)
void
setSingleLine(boolean singleLine)
void
setValue(java.lang.String value)
java.lang.String
toString()
OracleHint
withSingleLine(boolean singleLine)
OracleHint
withValue(java.lang.String value)
-
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
-
-
-
-
Method Detail
-
isHintMatch
public static boolean isHintMatch(java.lang.String comment)
-
setComment
public final void setComment(java.lang.String comment)
-
getValue
public java.lang.String getValue()
-
setValue
public void setValue(java.lang.String value)
-
isSingleLine
public boolean isSingleLine()
-
setSingleLine
public void setSingleLine(boolean singleLine)
-
accept
public void accept(ExpressionVisitor visitor)
- Specified by:
accept
in interfaceExpression
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
withValue
public OracleHint withValue(java.lang.String value)
-
withSingleLine
public OracleHint withSingleLine(boolean singleLine)
-
getHintFromSelectBody
public static OracleHint getHintFromSelectBody(Select selectBody)
-
-