|
Oracle™ Business Intelligence Beans Java API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.jbo.common.NamedObjectImpl | +--oracle.jbo.server.NamedObjectImpl | +--oracle.jbo.server.ComponentObjectImpl | +--oracle.dss.dataSource.QueryManagerServer
QueryManagerServer This class is the main JBO-based middle tier QueryManager implementation.
Constructor Summary | |
QueryManagerServer() Constructor. |
Method Summary | |
void |
addErrorHandler(ErrorHandler eh) Add a single error handler to the bean. |
int |
addQuery(Query query) Add the given Query into the list of Queries tracked by the QueryManager and therefore allow it to have state and evaluate. |
boolean |
cancel() Cancel current processes on this connection, if possible |
java.lang.Object |
clone() Clone this QueryManager |
void |
close() Closes any open Query references for proper clean up. |
void |
closeQueries(com.sun.java.util.collections.List queryList) Close a whole set of queries |
void |
closeQuery(int id) Close any open querymanager middle tier references for proper clean up |
Query |
createQuery() Creates an empty query |
java.util.Locale |
getLocale() |
interface |
getMetadataManager() Return reference to middle tier database API object. |
java.util.Enumeration |
getQueries() Get all of the queries in this QueryManager |
void |
initialize(java.util.Hashtable env) |
boolean |
isXMLValidated() Indicates whether the QueryManager validates XML against its DTD. |
void |
removeErrorHandler() Remove the error handler from the bean. |
void |
removeQuery(int id) Remove the given Query from the list of tracked Queries and clean up storage associated with it. |
void |
removeQuery(Query query) Clean up the given query and remove it from the list |
java.lang.Object |
sendQueue( opQueue) Method to load an entire list of operations into the middle tier queue. |
void |
setAsymmetricDrilling(int id, boolean asymmetric) Indicates whether asymmetric drilling should be used for a given query |
void |
setDebugMode(boolean mode) Indicates whether debug printouts should be produced. |
void |
setDebugModeQuery(int id, boolean mode) Set debug printout mode |
void |
setDefaultLayoutCounts(int numCol, int numRow, int id) Set the default layout dimension count properties. |
void |
setEvaluateCursor(int id, boolean evalCursor) Turn off actual cursor evaluation |
void |
setFetchPageEdge(int id, boolean fullfetch) Sets whether entire page edges are fetched. |
void |
setFetchSize(int id, int size) Sets the fetch buffer size for queries. |
void |
setHierarchicalDrilling(boolean mode) Specifies whether hierarchical drilling should be used exclusively. |
void |
setHierarchicalDrilling(int id, boolean hierDrill) Indicates whether hierarchical drilling should be used exclusively for a given query |
void |
setLocale(java.util.Locale loc) |
java.lang.String |
setMetadataManager( database) Reference to middle tier database API object. |
void |
setPageInformation(int id, boolean sharePage, int page, QDR qdrPage) |
void |
setPrintQueryState(boolean mode) Indicates whether query state printouts should be produced on every query operation. |
void |
setPrintQueryStateQuery(int id, boolean mode) Indicates whether query state printouts should be produced on every query operation. |
void |
setSeparatePage(int id, boolean separate) Indicates whether pages are fetched as separate cursors |
void |
setSuppressionState(int id, int[] suppress) Determine the suppression (NA/zero) when data is fetched. |
void |
setXMLValidated(boolean validate) Specifies whether the QueryManager validates XML against its DTD. |
Methods inherited from class oracle.jbo.server.ComponentObjectImpl |
addListener, createRef, getApplicationModule, getDefFullName, getDefName, getProxyClassName, getRootApplicationModule, isRegWithPiggyMan, remove |
Methods inherited from class oracle.jbo.common.NamedObjectImpl |
getFullName, getName, getParent, getProperties, getPropertiesAsStrings, getPropertiesMap, getProperty, refreshProperty, setFullName, setProperty |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface oracle.dss.dataSource.common.QueryManager |
getName |
Methods inherited from interface oracle.jbo.ComponentObject |
getFullName, getName |
Methods inherited from interface oracle.jbo.Properties |
getProperties, getProperty, refreshProperty |
Constructor Detail |
public QueryManagerServer()
Method Detail |
public void addErrorHandler(ErrorHandler eh)
addErrorHandler
in interface ErrorHandlerCallback
eh
- error handler objectpublic void removeErrorHandler()
removeErrorHandler
in interface ErrorHandlerCallback
public void setLocale(java.util.Locale loc)
public java.util.Locale getLocale()
public java.util.Enumeration getQueries()
getQueries
in interface QueryManager
public void closeQuery(int id)
id
- query IDpublic void close()
Query
references for proper clean up.public void closeQueries(com.sun.java.util.collections.List queryList)
closeQueries
in interface QueryManager
queryList
- List of query objects to close in bulkpublic Query createQuery()
createQuery
in interface QueryManager
public int addQuery(Query query)
addQuery
in interface QueryManager
query
- Query to affiliate with middle tier statepublic void removeQuery(int id)
id
- id of query to removepublic void removeQuery(Query query)
removeQuery
in interface QueryManager
query
- Query to removepublic void setDefaultLayoutCounts(int numCol, int numRow, int id)
numCol
- number of dimensions to put on the columnnumRow
- number of dimensions to put on the rowid
- query ID to callpublic void setDebugMode(boolean mode)
mode
- true
produces debug printouts on both client and server; false
does not produce debug printouts.public void setHierarchicalDrilling(boolean mode)
hierDrill
- true
indicates always use hierarchical drilling; false
indicates drilling is not restricted exclusively to hierarchical.public void setPrintQueryState(boolean mode)
id
- query on which to set state print modemode
- true
produces state printouts on server; false
does not produce state printouts.public void setDebugModeQuery(int id, boolean mode)
id
- query ID to callmode
- true
to turn on debug printouts on both client and serverpublic void setPrintQueryStateQuery(int id, boolean mode)
id
- query on which to set state print modemode
- true
produces state printouts on server; false
does not produce state printouts.public void setSuppressionState(int id, int[] suppress)
id
- query ID to callsuppress
- description of what to suppresspublic void setEvaluateCursor(int id, boolean evalCursor) throws QueryException, InvalidStepArgException, SelectionException, MetadataManagerException
id
- query ID to calleval
- should cursors be evaluated?InvalidStepArgException
- thrown if a step in a selection is badSelectionException
- thrown if a selection can't be createdQueryException
- thrown if there is a problem fetching data after this operationMetadataManagerException
- thrown if an error occurred using the database beanpublic void setHierarchicalDrilling(int id, boolean hierDrill)
id
- query IDhierDrill
- true
to always use hierarchical drillingpublic void setAsymmetricDrilling(int id, boolean asymmetric)
id
- query IDasymmetric
- true
to use asymmetric drillingpublic void setFetchSize(int id, int size)
id
- query IDsize
- size of fetch buffer to set (-1 to turn off partial fetching)public void setFetchPageEdge(int id, boolean fullfetch)
true
.id
- query IDfullfetch
- if true
, the page edge is fully fetched. If not, partial fetching applies.public void setSeparatePage(int id, boolean separate)
separate
- code>true to separate page cursors from the data cursorpublic void setPageInformation(int id, boolean sharePage, int page, QDR qdrPage)
public void initialize(java.util.Hashtable env)
public void setXMLValidated(boolean validate)
validate
- true
to have XML validated, false
to have QueryManager apply the XML without testing for validity.public boolean isXMLValidated()
true
if the QueryManager validates XML, false
if the QueryManager applies XML without validation.public java.lang.Object clone() throws java.lang.CloneNotSupportedException
java.lang.CloneNotSupportedException
- thrown if a QueryManager can not be clonedpublic boolean cancel()
cancel
in interface QueryManager
true
if the code was found to send an interruptpublic java.lang.String setMetadataManager( database)
db
- database to use as referencepublic getMetadataManager()
public java.lang.Object sendQueue( opQueue) throws java.lang.Exception
operations
- list of operations to loadany
- middle tier exception
|
Oracle™ Business Intelligence Beans Java API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |