|
Copyright © 2000, 2008, Oracle and/or its affiliates. All rights reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.bea.query.QueryManager
public class QueryManager
QueryManager is used to submit and return results from the query portion of the DRE. This is done using the QueryRequest and QueryResult classes.
The default constructor should be used with caution - it hard codes hostname and port values to the default for the 8.1 beta installation.
Constructor Summary | |
---|---|
QueryManager()
Deprecated Construct a QueryManager with some default parameters. |
|
QueryManager(String hostName,
int aciPort,
int servicePort)
Deprecated Construct a AciServer object to represent the DRE. |
Method Summary | |
---|---|
List |
doQuery(QueryRequest queryRequest)
Deprecated Send the query request to the DRE and parse the response. |
Vector |
getDatabaseNames()
Deprecated Read the list of databases from the DRE's configuration and populate a Vector with them. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public QueryManager() throws Exception
Exception
public QueryManager(String hostName, int aciPort, int servicePort) throws Exception
hostName
- - the host name or IP address of where the DRE is running.aciPort
- - the port number that the DRE is using for queries. This is the "PORT"
parameter in the DRE configuration file.servicePort
- - the service port that the DRE is running on. This is the "SERVICEPORT"
in the DRE configuration file.
Exception
Method Detail |
---|
public Vector getDatabaseNames()
public List doQuery(QueryRequest queryRequest)
queryRequest
- - the query to run.
QueryRequest
,
QueryResponse
|
Copyright © 2000, 2008, Oracle and/or its affiliates. All rights reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |