|
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
public abstract class HierQuery
Base class for all hierarchical query classes.
| Field Summary | |
|---|---|
protected Map |
attrmap
|
protected boolean |
distinct
|
protected XNode |
inparams
|
protected String |
item
|
protected String |
select
|
protected boolean |
showFlds
|
protected XNodePath |
xpath
|
protected XSelection |
xselect
|
| Fields inherited from class inetsoft.uql.XQuery |
|---|
DERIVED, HINT_DEFAULT_MAX_ROWS, HINT_IGNORE_MAX_ROWS, HINT_MAX_ROWS, HINT_TIMEOUT |
| Constructor Summary | |
|---|---|
HierQuery(String type)
Create a query object. |
|
| Method Summary | |
|---|---|
Object |
clone()
Create a clone of this object. |
Object |
deepClone()
Deep clone. |
protected void |
findVariables(Map varmap)
Find all varialbes in the query. |
String |
getAttribute(String name)
Get an attribute of this query. |
XNode |
getCustomParameters()
Get the query parameter defined in this query. |
XNodePath |
getNodePath()
Get the node path in the query. |
XTypeNode |
getOutputType(Object session,
boolean full)
Get the output type of the query. |
String |
getRequest()
Get the request name for this query. |
XNode |
getRequestParameters()
Get the parameters defined in the data source for this type of queries. |
XSelection |
getSelection()
Get the XSelection object for converting a tree to a table. |
String |
getSelectionAsString()
Get the XSelection object's string representation. |
XTypeNode |
getSourceType()
Get the output type of the data source, without filtering. |
XTypeNode |
getSourceType(Object session)
Get the output type of the data source, without filtering. |
boolean |
isDistinct()
Get whether the query result is distinct. |
boolean |
isShowFlds()
Check whether the selection is show selected only or not. |
void |
parseXML(Element root)
Parse the XML element that contains information on this query. |
void |
setAttribute(String name,
String val)
Set an attribute in this query. |
void |
setCustomParameters(XNode param)
Set the query request parameter. |
void |
setDistinct(boolean distinct)
Set the query result distinct. |
void |
setNodePath(XNodePath xpath)
Set the node path for this query. |
void |
setRequest(String method)
Set the request name for this query. |
void |
setSelection(XSelection xselect)
Set the XSelection object for converting a tree to a table. |
void |
setSelectionAsString(String select)
Set the XSelection object using its string form. |
void |
setShowFlds(boolean showFlds)
Set the selection show state. |
void |
writeXML(PrintWriter writer)
Generate the XML segment to represent this query. |
| Methods inherited from class inetsoft.uql.XQuery |
|---|
addVariable, equals, findVariables, findVariables, findVariables, findVariables, getAllDefinedVariables, getDataSource, getDefinedVariables, getDescription, getEstimatedTime, getFolder, getMaxRows, getName, getOutputType, getPartition, getProperty, getTimeout, getType, getVariable, getVariableNames, hashCode, isOutputTypeAvailable, isVisible, removeVariable, revalidate, setDataSource, 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 |
| Field Detail |
|---|
protected String item
protected String select
protected XNodePath xpath
protected XNode inparams
protected XSelection xselect
protected Map attrmap
protected boolean distinct
protected boolean showFlds
| Constructor Detail |
|---|
public HierQuery(String type)
| Method Detail |
|---|
public XNodePath getNodePath()
public void setNodePath(XNodePath xpath)
public XSelection getSelection()
getSelection in class XQuerypublic void setSelection(XSelection xselect)
public String getSelectionAsString()
public void setSelectionAsString(String select)
throws Exception
Exception
public void setAttribute(String name,
String val)
public String getAttribute(String name)
public void setRequest(String method)
public String getRequest()
public void setDistinct(boolean distinct)
public boolean isDistinct()
public void setShowFlds(boolean showFlds)
public boolean isShowFlds()
public XNode getRequestParameters()
public XNode getCustomParameters()
public void setCustomParameters(XNode param)
public XTypeNode getSourceType()
public XTypeNode getSourceType(Object session)
public XTypeNode getOutputType(Object session,
boolean full)
getOutputType in class XQuerysession - the session objectfull - true to fetch full nameprotected void findVariables(Map varmap)
findVariables in class XQuery
public void parseXML(Element root)
throws Exception
parseXML in interface inetsoft.util.XMLSerializableparseXML in class XQueryExceptionpublic void writeXML(PrintWriter writer)
writeXML in interface inetsoft.util.XMLSerializablewriteXML in class XQuerypublic Object clone()
clone in class XQuerypublic Object deepClone()
|
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 | ||||||||