|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--DBSimpleQuery
A Class that searches a relational DB for elements and attributes that have free text matches to the query string. It returns a result set consisting of the root nodeid for each document that satisfies the query
Method Summary | |
java.util.Hashtable |
findRootNodes(java.lang.String query)
routine to search the elements and attributes looking to match query |
static void |
main(java.lang.String[] args)
the main routine used to test the DBSimpleQuery utility. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Method Detail |
public static void main(java.lang.String[] args)
query
- the text to search for in the element and attribute contentuser
- the username to use for the database connectionpassword
- the password to use for the database connectiondbstring
- the connection info to use for the database connectionpublic java.util.Hashtable findRootNodes(java.lang.String query)
query
- the text to search for
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |