Class ParserUtils
- java.lang.Object
-
- org.evomaster.client.java.controller.internal.db.ParserUtils
-
public class ParserUtils extends Object
-
-
Constructor Summary
Constructors Constructor Description ParserUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static net.sf.jsqlparser.statement.StatementasStatement(String statement)static net.sf.jsqlparser.expression.ExpressiongetWhere(net.sf.jsqlparser.statement.Statement statement)static booleanisDelete(String sql)static booleanisInsert(String sql)static booleanisSelect(String sql)static booleanisUpdate(String sql)
-
-
-
Method Detail
-
isSelect
public static boolean isSelect(String sql)
-
isDelete
public static boolean isDelete(String sql)
-
isUpdate
public static boolean isUpdate(String sql)
-
isInsert
public static boolean isInsert(String sql)
-
getWhere
public static net.sf.jsqlparser.expression.Expression getWhere(net.sf.jsqlparser.statement.Statement statement)
-
asStatement
public static net.sf.jsqlparser.statement.Statement asStatement(String statement)
-
-