Package org.jiql.db

Examples of org.jiql.db.Row



public org.jiql.jdbc.ResultSet process(SQLParser sqp)throws SQLException{
       Vector r = new Vector();
       //sqp.setResults(r);
      r.add(new Row());
    org.jiql.jdbc.ResultSet resultset = new org.jiql.jdbc.ResultSet(r,sqp);
     SelectValueResultMetaObj rmo = new SelectValueResultMetaObj(resultset);
     Object o = sqp.getSelectParser().getSelectValue().getValue();
      int  i = sqp.getSelectParser().getSelectValue().getType();
    rmo.setValue(o);
View Full Code Here


  if (validF.contains(f))return true;

  Vector<Row> vr = Gateway.get(sqp.getProperties()).getTypeInfo(sqp);

  Row r = null;
  for (int ct = 0;ct < vr.size();ct++)
  {
    r = vr.elementAt(ct);
    if (r.get("TYPE_NAME").equals(f))return true;
  }
 
  return false;
}
View Full Code Here

     */
    public ResultSet getSchemas() throws SQLException {
          dmetaLog("getSchemas 0 ");
    Vector v = new Vector();

    Row r = new Row();
    //r.setRowId("1");
    //r.put("tablename","information_schema");
    //v.add(r);
    r = new Row();
    r.put("tablename","jiql");
    r.put("TABLE_CATALOG","jiql");
    r.setRowId("2");

    v.add(r);

    SQLParser sqp = new SQLParser("TABLE_SCHEM",connection);
    sqp.setAction("showTables");
View Full Code Here

TOP

Related Classes of org.jiql.db.Row

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.