public class XQResultSet extends Object implements org.pentaho.commons.connection.IPentahoResultSet, org.pentaho.commons.connection.IPeekable
Constructor and Description |
---|
XQResultSet(XQConnection xqConnection,
net.sf.saxon.query.XQueryExpression exp,
net.sf.saxon.query.DynamicQueryContext dynamicContext,
String[] columnTypes) |
Modifier and Type | Method and Description |
---|---|
void |
beforeFirst() |
void |
close() |
void |
closeConnection() |
void |
dispose() |
int |
getColumnCount() |
Object[] |
getDataColumn(int column) |
Object[] |
getDataRow(int row) |
org.pentaho.commons.connection.IPentahoMetaData |
getMetaData() |
int |
getRowCount() |
Object |
getValueAt(int row,
int column) |
boolean |
isScrollable() |
org.pentaho.commons.connection.IPentahoResultSet |
memoryCopy() |
Object[] |
next() |
Object[] |
peek() |
public XQResultSet(XQConnection xqConnection, net.sf.saxon.query.XQueryExpression exp, net.sf.saxon.query.DynamicQueryContext dynamicContext, String[] columnTypes) throws net.sf.saxon.trans.XPathException
exp
- dynamicContext
- columnTypes
- net.sf.saxon.trans.XPathException
public org.pentaho.commons.connection.IPentahoMetaData getMetaData()
getMetaData
in interface org.pentaho.commons.connection.IPentahoResultSet
public Object[] peek()
peek
in interface org.pentaho.commons.connection.IPeekable
public Object[] next()
next
in interface org.pentaho.commons.connection.IPentahoResultSet
public void close()
close
in interface org.pentaho.commons.connection.IPentahoResultSet
public void closeConnection()
closeConnection
in interface org.pentaho.commons.connection.IPentahoResultSet
public boolean isScrollable()
isScrollable
in interface org.pentaho.commons.connection.IPentahoResultSet
public Object getValueAt(int row, int column)
getValueAt
in interface org.pentaho.commons.connection.IPentahoResultSet
public int getRowCount()
getRowCount
in interface org.pentaho.commons.connection.IPentahoResultSet
public int getColumnCount()
getColumnCount
in interface org.pentaho.commons.connection.IPentahoResultSet
public void dispose()
dispose
in interface org.pentaho.commons.connection.IDisposable
public org.pentaho.commons.connection.IPentahoResultSet memoryCopy()
memoryCopy
in interface org.pentaho.commons.connection.IPentahoResultSet
public void beforeFirst()
beforeFirst
in interface org.pentaho.commons.connection.IPentahoResultSet
public Object[] getDataColumn(int column)
getDataColumn
in interface org.pentaho.commons.connection.IPentahoResultSet
public Object[] getDataRow(int row)
getDataRow
in interface org.pentaho.commons.connection.IPentahoResultSet