|
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.jdbc.JDBCQuery
public class JDBCQuery
JDBC query stored JDBC query definition. It could be a freeform SQL string, a structured SQL definition, or a stored procedure call.
| Field Summary |
|---|
| Fields inherited from class inetsoft.uql.XQuery |
|---|
DERIVED, HINT_DEFAULT_MAX_ROWS, HINT_IGNORE_MAX_ROWS, HINT_MAX_ROWS, HINT_TIMEOUT |
| Constructor Summary | |
|---|---|
JDBCQuery()
Create a JDBC query. |
|
| Method Summary | |
|---|---|
void |
addVariable(XVariable var)
Add a variable to this query. |
void |
applyVariableTable(VariableTable vars)
Apply variables to the contained sql. |
Object |
clone()
Create a clone of this object. |
boolean |
equals(Object obj)
Check if equals another object. |
protected void |
findVariables(Map varmap)
Find variables in the query. |
XTypeNode |
getOutputType(Object session,
boolean full)
Get the output type of the query. |
XTypeNode |
getOutputTypeForNonParseableSQL(XTypeNode output,
VariableTable vtable,
Object session)
Get the output of an unparseable sql. |
XSelection |
getSelection()
Get the XSelection object. |
String |
getSQLAsString()
Get the SQL as a string. |
inetsoft.uql.jdbc.SQLDefinition |
getSQLDefinition()
Get the SQL definition. |
boolean |
isOutputTypeAvailable()
Check if is output type of the query is available. |
boolean |
isVPMEnabled()
Check if to add vpm condition is enabled. |
void |
parseXML(Element root)
Parse the XML element that contains information on this data source. |
void |
removeTable(VariableTable vars)
Remove the useless tables. |
void |
setSQLDefinition(inetsoft.uql.jdbc.SQLDefinition sql)
Set the SQL definition. |
void |
setVPMEnabled(boolean enabled)
Set the vpm condition enabled flag. |
String |
toString()
Get the string representation. |
void |
validateConditions(VariableTable params)
Set condition to a true condition if one of parameters in it has no value. |
void |
writeXML(PrintWriter writer)
Generate the XML segment to represent this data source. |
| Methods inherited from class inetsoft.uql.XQuery |
|---|
findVariables, findVariables, findVariables, findVariables, getAllDefinedVariables, getDataSource, getDefinedVariables, getDescription, getEstimatedTime, getFolder, getMaxRows, getName, getOutputType, getPartition, getProperty, getTimeout, getType, getVariable, getVariableNames, hashCode, isVisible, removeVariable, revalidate, setDataSource, setDescription, setEstimatedTime, setFolder, setMaxRows, setName, setPartition, setProperty, setTimeout, setVisible, updateQueryVariable |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public JDBCQuery()
| Method Detail |
|---|
public void addVariable(XVariable var)
addVariable in class XQueryvar - variable definition.public boolean isOutputTypeAvailable()
isOutputTypeAvailable in class XQuery
public XTypeNode getOutputType(Object session,
boolean full)
getOutputType in class XQuerysession - the session objectfull - true to fetch full name
public XTypeNode getOutputTypeForNonParseableSQL(XTypeNode output,
VariableTable vtable,
Object session)
public XSelection getSelection()
getSelection in class XQuerypublic inetsoft.uql.jdbc.SQLDefinition getSQLDefinition()
public void setSQLDefinition(inetsoft.uql.jdbc.SQLDefinition sql)
public String getSQLAsString()
public void validateConditions(VariableTable params)
public String toString()
XQuery
toString in class XQueryprotected void findVariables(Map varmap)
findVariables in class XQuerypublic boolean equals(Object obj)
XQuery
equals in class XQuerypublic boolean isVPMEnabled()
public void setVPMEnabled(boolean enabled)
enabled - true if enabled, false otherwise.public Object clone()
clone 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 void removeTable(VariableTable vars)
public void applyVariableTable(VariableTable vars)
|
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 | ||||||||