|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.hops.ext.dbdummy
public class dbdummy
simulates data base results without user intervention
Constructor Summary | |
---|---|
dbdummy()
|
Method Summary | |
---|---|
static attrval |
consultDB(attrval q,
boolean userData,
loc_db simdb,
stackp commitments,
stackp believes)
Consults the database. |
static stackp |
queryDBDummy(attrval q,
boolean userData,
java.util.HashMap focusvalues,
java.util.ArrayList requestedData,
ca_db simdb,
PlanSet plans,
java.lang.Object logger)
Simulates the DB query |
static stackp |
toStack(java.lang.String queryname,
BackEndResult ber,
PlanSet plans)
This functions converts a HopsAttribute array to stack of attrval. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public dbdummy()
Method Detail |
---|
public static attrval consultDB(attrval q, boolean userData, loc_db simdb, stackp commitments, stackp believes)
q
- the attribute we are searchinguserData
- true if the user inserts the data, false if default system data
public static stackp queryDBDummy(attrval q, boolean userData, java.util.HashMap focusvalues, java.util.ArrayList requestedData, ca_db simdb, PlanSet plans, java.lang.Object logger)
q
- the exequery name
public static stackp toStack(java.lang.String queryname, BackEndResult ber, PlanSet plans)
queryname
- the name of BE queryber
- the BackEndResults of HopsAttributes
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |