- java.lang.Object
-
- net.sf.jsqlparser.parser.ASTNodeAccessImpl
-
- net.sf.jsqlparser.expression.TimestampValue
-
- All Implemented Interfaces:
java.io.Serializable
,Expression
,Model
,ASTNodeAccess
public final class TimestampValue extends ASTNodeAccessImpl implements Expression
A Timestamp in the form {ts 'yyyy-mm-dd hh:mm:ss.f . . .'}- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TimestampValue()
TimestampValue(java.lang.String value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T,S>
Taccept(ExpressionVisitor<T> expressionVisitor, S context)
java.lang.String
getRawValue()
java.sql.Timestamp
getValue()
void
setRawValue(java.lang.String rawValue)
void
setValue(java.sql.Timestamp d)
java.lang.String
toString()
TimestampValue
withValue(java.sql.Timestamp 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.parser.ASTNodeAccess
getASTNode, setASTNode
-
Methods inherited from interface net.sf.jsqlparser.expression.Expression
accept
-
-
-
-
Field Detail
-
QUOTATION
private static final char QUOTATION
- See Also:
- Constant Field Values
-
value
private java.sql.Timestamp value
-
rawValue
private java.lang.String rawValue
-
-
Method Detail
-
accept
public <T,S> T accept(ExpressionVisitor<T> expressionVisitor, S context)
- Specified by:
accept
in interfaceExpression
-
getValue
public java.sql.Timestamp getValue()
-
setValue
public void setValue(java.sql.Timestamp d)
-
getRawValue
public java.lang.String getRawValue()
-
setRawValue
public void setRawValue(java.lang.String rawValue)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
withValue
public TimestampValue withValue(java.sql.Timestamp value)
-
-