|
Style Intelligence v12.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectinetsoft.uql.XNode
inetsoft.uql.XTableNode
public abstract class XTableNode
XTableNode represents a table. Although a table can be easily represented as a tree, with each table row converted to a subtree, it is often more efficient to keep the table semantics if the original data is returned as a table. This is particularly true for SQL data sources.
| Field Summary |
|---|
| Fields inherited from class inetsoft.uql.XNode |
|---|
value |
| Constructor Summary | |
|---|---|
XTableNode()
Create an empty table. |
|
| Method Summary | |
|---|---|
void |
cancel()
Cancel the query request to the datasource if datasource supports such a call |
void |
close()
This method should be called after the data in the table node is read. |
int |
getAppliedMaxRows()
Get the applied max rows. |
abstract int |
getColCount()
Get the number of columns in the table. |
inetsoft.uql.table.XTableColumnCreator |
getColumnCreator(int col)
Get the table column creator. |
inetsoft.uql.table.XTableColumnCreator[] |
getColumnCreators()
Get the table column creators. |
abstract String |
getName(int col)
Get the column name. |
abstract Object |
getObject(int col)
Get the value in the current row at the specified column. |
abstract Class |
getType(int col)
Get the column type. |
abstract XMetaInfo |
getXMetaInfo(int col)
Get the meta info at the specified column. |
boolean |
isCacheable()
Check if is cacheable. |
abstract boolean |
isRewindable()
Check if the cursor can be rewinded. |
boolean |
isTimeoutTable()
Check if a table is a result of timeout. |
abstract boolean |
next()
Check if there are more rows. |
abstract boolean |
rewind()
Move the cursor to the beginning. |
void |
setAppliedMaxRows(int amax)
Set the applied max rows. |
| Methods inherited from class inetsoft.uql.XNode |
|---|
addChild, addChild, addChild, addr, checkDuplicate, clone, cloneValue, compareTo, eq, equals, getAttribute, getAttributeNames, getChild, getChild, getChildCount, getChildIndex, getDefaultFormat, getName, getNode, getParent, getPath, getPath, getValue, getValue, hashCode, insertChild, isAncestor, removeAllChildren, removeChild, removeChild, removeChild, removeChild, setAttribute, setChild, setDefaultFormat, setName, setValue, sort, sort, toString, writeXML |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public XTableNode()
| Method Detail |
|---|
public abstract boolean next()
public abstract int getColCount()
public abstract String getName(int col)
col - column index.
public abstract Class getType(int col)
col - column index.
public abstract Object getObject(int col)
col - column index.
public abstract XMetaInfo getXMetaInfo(int col)
col - column index.
public abstract boolean rewind()
public abstract boolean isRewindable()
public boolean isTimeoutTable()
public int getAppliedMaxRows()
public void setAppliedMaxRows(int amax)
amax - the applied max rows.public void close()
public void cancel()
public boolean isCacheable()
public inetsoft.uql.table.XTableColumnCreator getColumnCreator(int col)
col - the specified column index.
public inetsoft.uql.table.XTableColumnCreator[] getColumnCreators()
|
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 | ||||||||