Package com.alibaba.druid.sql.visitor
Class SQLEvalVisitorUtils
java.lang.Object
com.alibaba.druid.sql.visitor.SQLEvalVisitorUtils
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Object
static Object
static Object
static BigInteger
castToBigInteger
(Object val) static Boolean
castToBoolean
(Object val) static Byte
castToByte
(Object val) static Date
castToDate
(Object val) static Date
castToDate
(String text) static BigDecimal
castToDecimal
(Object val) static Double
castToDouble
(Object val) static Float
castToFloat
(Object val) static Integer
castToInteger
(Object val) static Long
castToLong
(Object val) static Number
castToNumber
(String val) static Short
castToShort
(Object val) static String
castToString
(Object val) static SQLEvalVisitor
createEvalVisitor
(DbType dbType) static Object
static boolean
static Object
static Object
static Object
static Object
static Object
static Object
static boolean
static boolean
static boolean
static boolean
static boolean
static Object
static Object
rightShift
(Object a, Object b) static Object
static SQLExpr
static boolean
visit
(SQLEvalVisitor visitor, SQLBetweenExpr x) static boolean
visit
(SQLEvalVisitor visitor, SQLBinaryExpr x) static boolean
visit
(SQLEvalVisitor visitor, SQLBinaryOpExpr x) static boolean
visit
(SQLEvalVisitor visitor, SQLCaseExpr x) static boolean
visit
(SQLEvalVisitor visitor, SQLCharExpr x) static boolean
visit
(SQLEvalVisitor visitor, SQLHexExpr x) static boolean
visit
(SQLEvalVisitor visitor, SQLIdentifierExpr x) static boolean
visit
(SQLEvalVisitor visitor, SQLInListExpr x) static boolean
visit
(SQLEvalVisitor visitor, SQLMethodInvokeExpr x) static boolean
visit
(SQLEvalVisitor visitor, SQLNullExpr x) static boolean
visit
(SQLEvalVisitor visitor, SQLNumericLiteralExpr x) static boolean
visit
(SQLEvalVisitor visitor, SQLQueryExpr x) static boolean
visit
(SQLEvalVisitor visitor, SQLUnaryExpr x) static boolean
visit
(SQLEvalVisitor visitor, SQLVariantRefExpr x)
-
Constructor Details
-
SQLEvalVisitorUtils
public SQLEvalVisitorUtils()
-
-
Method Details
-
evalExpr
-
evalExpr
-
eval
-
getValue
-
eval
-
eval
-
createEvalVisitor
-
visit
-
visit
-
visit
-
visit
-
unwrap
-
visit
-
visit
-
visit
-
visit
-
visit
-
visit
-
visit
-
visit
-
visit
-
castToBoolean
-
castToString
-
castToByte
-
castToShort
-
castToInteger
-
castToLong
-
castToFloat
-
castToDouble
-
castToBigInteger
-
castToNumber
-
castToDate
-
castToDate
-
castToDecimal
-
rightShift
-
bitAnd
-
bitOr
-
div
-
gt
-
gteq
-
lt
-
lteq
-
eq
-
add
-
sub
-
multi
-
like
-
visit
-