|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.datatools.sqltools.result.XMLResultSetObject
Represent an XML result set.
Constructor Summary | |
XMLResultSetObject(java.lang.String xmlString)
|
Method Summary | |
void |
dispose()
Disposes resource after resultset is closed; |
java.util.Iterator |
getAllRecords()
Returns all result (In memory and file), each element's type should be IResultSetRow |
int |
getColumnCount()
Returns the column count |
int |
getColumnDisplaySize(int index)
Returns column display size at the given column (based on 1 --- follows the JDBC convention) |
int[] |
getColumnDisplaySizes()
Returns display size of all columns |
java.lang.String |
getColumnName(int index)
Returns the column name at given index (based on 1 --- follows the JDBC convention) |
java.lang.String[] |
getColumnNames()
Returns the column names |
int |
getColumnSQLType(int index)
Returns column SQL data type at the given column (based on 1 --- follows the JDBC convention) |
int[] |
getColumnSQLTypes()
Returns column SQL types. |
java.util.Iterator |
getDisplayRecords()
Returns the records to display (Loaded in memory), each element's type should be IResultSetRow |
int |
getRowCount()
Returns number of rows in result (Loaded in memory) |
IResultSetRow |
getRowData(int row)
Returns row data of given row index (based on 0) |
int |
getTotalRowCount()
Returns total row count (Include cached rows) |
boolean |
isAllResultLoaded()
Checks if some result rows are stored into a temporary file |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public XMLResultSetObject(java.lang.String xmlString)
Method Detail |
public int getColumnCount()
IResultSetObject
getColumnCount
in interface IResultSetObject
public java.lang.String[] getColumnNames()
IResultSetObject
getColumnNames
in interface IResultSetObject
public java.lang.String getColumnName(int index)
IResultSetObject
getColumnName
in interface IResultSetObject
index
- the column index
public int[] getColumnDisplaySizes()
IResultSetObject
getColumnDisplaySizes
in interface IResultSetObject
public int getColumnDisplaySize(int index)
IResultSetObject
getColumnDisplaySize
in interface IResultSetObject
public int[] getColumnSQLTypes()
IResultSetObject
getColumnSQLTypes
in interface IResultSetObject
public int getColumnSQLType(int index)
IResultSetObject
getColumnSQLType
in interface IResultSetObject
index
- column index
public int getRowCount()
IResultSetObject
getRowCount
in interface IResultSetObject
public int getTotalRowCount()
IResultSetObject
getTotalRowCount
in interface IResultSetObject
public IResultSetRow getRowData(int row)
IResultSetObject
getRowData
in interface IResultSetObject
row
- the row index
public java.util.Iterator getAllRecords()
IResultSetObject
IResultSetRow
getAllRecords
in interface IResultSetObject
Iterator
instance over all recordsIResultSetRow
public java.util.Iterator getDisplayRecords()
IResultSetObject
IResultSetRow
getDisplayRecords
in interface IResultSetObject
Iterator
instance over all display recordIResultSetRow
public boolean isAllResultLoaded()
IResultSetObject
isAllResultLoaded
in interface IResultSetObject
true
if there are no cached rowspublic void dispose()
IResultSetObject
dispose
in interface IResultSetObject
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |