com.caucho.db.sql
Class Parser
java.lang.Object
com.caucho.db.sql.Parser
@Module
public class Parser
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
parse
public static Query parse(Database database,
java.lang.String sql)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
parseExpr
public static Expr parseExpr(Database database,
java.lang.String sql)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
parseReferences
public void parseReferences(java.util.ArrayList<java.lang.String> name)
throws java.sql.SQLException
- Parses the references clause.
- Throws:
java.sql.SQLException
parseColumnNames
public java.util.ArrayList<java.lang.String> parseColumnNames()
throws java.sql.SQLException
- Parses a list of column names
- Throws:
java.sql.SQLException