|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.hops.ext.dbcall
public class dbcall
Allows access to the AQM or if not connection known simulates the backend access throw the console
Constructor Summary | |
---|---|
dbcall(boolean userData,
java.lang.String dbfile)
Creates a new instance of dummy db |
Method Summary | |
---|---|
attrval |
consultDB(attrval q,
stackp commitments,
stackp believes)
Consults the database. |
stackp |
queryDB(attrval exequery,
java.util.ArrayList requestedData,
stackp commitments,
stackp believes,
PlanSet plans)
Execute a query in the database. |
static void |
selectRefineAttribute(stackp stack)
Converts a stackp to a RecognitionObject of HopsAttributes static private RecognitionObject toRecognitionObject( stackp stackin ){ RecognitionObject ro = new RecognitionObject(); HopsAttribute ha; for ( int i=0; i |
static boolean |
validDBParameter(attrval param,
PlanSet plans)
the param is valid if it exists on the plans |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public dbcall(boolean userData, java.lang.String dbfile)
Method Detail |
---|
public static boolean validDBParameter(attrval param, PlanSet plans)
param
- the parameterplans
- the DM planspublic attrval consultDB(attrval q, stackp commitments, stackp believes)
q
- the attribute we are searchingcommitments
- the commitments stackbelieves
- the believes stack
public stackp queryDB(attrval exequery, java.util.ArrayList requestedData, stackp commitments, stackp believes, PlanSet plans)
exequery
- the name of the query to executerequestedData
- the data expected to obtaincommitments
- the commitments stackbelieves
- the believes stack
public static void selectRefineAttribute(stackp stack)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |