public class XQResultSet extends Object implements org.pentaho.commons.connection.IPentahoResultSet, org.pentaho.commons.connection.IPeekable
| Modifier and Type | Field and Description |
|---|---|
protected String[] |
columnTypes |
protected XQConnection |
connection |
protected static String |
DELIM |
protected net.sf.saxon.query.DynamicQueryContext |
dynamicContext |
protected static String |
EMPTY_STR |
protected net.sf.saxon.query.XQueryExpression |
exp |
protected static org.apache.commons.logging.Log |
logger |
protected XQMetaData |
metaData |
protected Object[] |
peekRow |
| 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() |
protected void |
decodeNode(Object obj,
Map retValue) |
void |
dispose() |
protected List |
evaluate() |
int |
getColumnCount() |
Object[] |
getDataColumn(int column) |
Object[] |
getDataRow(int row) |
org.pentaho.commons.connection.IPentahoMetaData |
getMetaData() |
int |
getRowCount() |
Object |
getValueAt(int row,
int column) |
protected void |
init() |
boolean |
isScrollable() |
org.pentaho.commons.connection.IPentahoResultSet |
memoryCopy() |
Object[] |
next() |
Object[] |
peek() |
protected static final org.apache.commons.logging.Log logger
protected net.sf.saxon.query.XQueryExpression exp
protected net.sf.saxon.query.DynamicQueryContext dynamicContext
protected XQMetaData metaData
protected static final String DELIM
protected static final String EMPTY_STR
protected Object[] peekRow
protected String[] columnTypes
protected XQConnection connection
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.XPathExceptionprotected void init()
throws net.sf.saxon.trans.XPathException
net.sf.saxon.trans.XPathExceptionprotected List evaluate() throws net.sf.saxon.trans.XPathException
net.sf.saxon.trans.XPathExceptionpublic org.pentaho.commons.connection.IPentahoMetaData getMetaData()
getMetaData in interface org.pentaho.commons.connection.IPentahoResultSetpublic Object[] peek()
peek in interface org.pentaho.commons.connection.IPeekablepublic Object[] next()
next in interface org.pentaho.commons.connection.IPentahoResultSetpublic void close()
close in interface org.pentaho.commons.connection.IPentahoResultSetpublic void closeConnection()
closeConnection in interface org.pentaho.commons.connection.IPentahoResultSetpublic boolean isScrollable()
isScrollable in interface org.pentaho.commons.connection.IPentahoResultSetpublic Object getValueAt(int row, int column)
getValueAt in interface org.pentaho.commons.connection.IPentahoResultSetpublic int getRowCount()
getRowCount in interface org.pentaho.commons.connection.IPentahoResultSetpublic int getColumnCount()
getColumnCount in interface org.pentaho.commons.connection.IPentahoResultSetpublic void dispose()
dispose in interface org.pentaho.commons.connection.IDisposablepublic org.pentaho.commons.connection.IPentahoResultSet memoryCopy()
memoryCopy in interface org.pentaho.commons.connection.IPentahoResultSetpublic void beforeFirst()
beforeFirst in interface org.pentaho.commons.connection.IPentahoResultSetpublic Object[] getDataColumn(int column)
getDataColumn in interface org.pentaho.commons.connection.IPentahoResultSetpublic Object[] getDataRow(int row)
getDataRow in interface org.pentaho.commons.connection.IPentahoResultSetCopyright © 2020 Hitachi Vantara. All rights reserved.