|
Style Intelligence v12.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectinetsoft.uql.XQuery
inetsoft.uql.util.HierQuery
inetsoft.uql.util.DerivedQuery
public class DerivedQuery
A derived query uses the output of another query as its input. It can be used to extend an existing query, and perform additional selection and conversion.
| Field Summary |
|---|
| Fields inherited from class inetsoft.uql.util.HierQuery |
|---|
attrmap, distinct, inparams, item, select, showFlds, xpath, xselect |
| Fields inherited from class inetsoft.uql.XQuery |
|---|
DERIVED, HINT_DEFAULT_MAX_ROWS, HINT_IGNORE_MAX_ROWS, HINT_MAX_ROWS, HINT_TIMEOUT |
| Constructor Summary | |
|---|---|
DerivedQuery()
Create a derived query object. |
|
| Method Summary | |
|---|---|
protected void |
findVariables(Map varmap)
Find all varialbes in the query. |
XQuery |
getBaseQuery()
Get the base query. |
String |
getBaseQueryName()
|
XDataSource |
getDataSource()
Get the data source this query is associated with. |
XTypeNode |
getSourceType(Object session)
Get the output type of the data source, without filtering. |
XVariable |
getVariable(String name)
Get a variable defined in this query. |
Enumeration |
getVariableNames()
Get the names of all variables used in this query. |
void |
parseXML(Element root)
Parse the XML element that contains information on this query. |
void |
revalidate()
Revalidate the query object if context changes, for example, data source registry changes. |
void |
setBaseQuery(XQuery query)
Set the base query. |
void |
setDataSource(XDataSource datasource)
Set the data source this query is associated with. |
void |
writeXML(PrintWriter writer)
Generate the XML segment to represent this query. |
| Methods inherited from class inetsoft.uql.util.HierQuery |
|---|
clone, deepClone, getAttribute, getCustomParameters, getNodePath, getOutputType, getRequest, getRequestParameters, getSelection, getSelectionAsString, getSourceType, isDistinct, isShowFlds, setAttribute, setCustomParameters, setDistinct, setNodePath, setRequest, setSelection, setSelectionAsString, setShowFlds |
| Methods inherited from class inetsoft.uql.XQuery |
|---|
addVariable, equals, findVariables, findVariables, findVariables, findVariables, getAllDefinedVariables, getDefinedVariables, getDescription, getEstimatedTime, getFolder, getMaxRows, getName, getOutputType, getPartition, getProperty, getTimeout, getType, hashCode, isOutputTypeAvailable, isVisible, removeVariable, setDescription, setEstimatedTime, setFolder, setMaxRows, setName, setPartition, setProperty, setTimeout, setVisible, toString, updateQueryVariable |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DerivedQuery()
| Method Detail |
|---|
public String getBaseQueryName()
public XQuery getBaseQuery()
public void setBaseQuery(XQuery query)
public XTypeNode getSourceType(Object session)
getSourceType in class HierQuerypublic void setDataSource(XDataSource datasource)
setDataSource in class XQuerypublic XDataSource getDataSource()
getDataSource in class XQuerypublic void revalidate()
revalidate in class XQueryprotected void findVariables(Map varmap)
findVariables in class HierQuery
public void parseXML(Element root)
throws Exception
parseXML in interface inetsoft.util.XMLSerializableparseXML in class HierQueryExceptionpublic void writeXML(PrintWriter writer)
writeXML in interface inetsoft.util.XMLSerializablewriteXML in class HierQuerypublic Enumeration getVariableNames()
getVariableNames in class XQuerypublic XVariable getVariable(String name)
getVariable in class XQueryname - variable name.
|
Copyright © 1996-2014 InetSoft Technology Corp. All Rights Reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||