- java.lang.Object
-
- net.sf.jsqlparser.parser.ASTNodeAccessImpl
-
- net.sf.jsqlparser.expression.HexValue
-
- All Implemented Interfaces:
java.io.Serializable
,Expression
,Model
,ASTNodeAccess
public class HexValue extends ASTNodeAccessImpl implements Expression
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.String
value
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description <T,S>
Taccept(ExpressionVisitor<T> expressionVisitor, S context)
StringValue
getBlob()
java.lang.String
getDigits()
java.lang.Long
getLong()
LongValue
getLongValue()
StringValue
getStringValue()
java.lang.String
getValue()
static byte[]
hexStringToByteArray(java.lang.String s)
void
setValue(java.lang.String value)
java.lang.String
toString()
HexValue
withValue(java.lang.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.parser.ASTNodeAccess
getASTNode, setASTNode
-
Methods inherited from interface net.sf.jsqlparser.expression.Expression
accept
-
-
-
-
Method Detail
-
hexStringToByteArray
public static byte[] hexStringToByteArray(java.lang.String s)
-
accept
public <T,S> T accept(ExpressionVisitor<T> expressionVisitor, S context)
- Specified by:
accept
in interfaceExpression
-
getValue
public java.lang.String getValue()
-
setValue
public void setValue(java.lang.String value)
-
withValue
public HexValue withValue(java.lang.String value)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
getDigits
public java.lang.String getDigits()
-
getLong
public java.lang.Long getLong()
-
getLongValue
public LongValue getLongValue()
-
getStringValue
public StringValue getStringValue()
-
getBlob
public StringValue getBlob()
-
-