Class XQResultSet
java.lang.Object
org.pentaho.platform.plugin.services.connections.xquery.XQResultSet
- All Implemented Interfaces:
org.pentaho.commons.connection.IDisposable
,org.pentaho.commons.connection.IPeekable
,org.pentaho.commons.connection.IPentahoResultSet
public class XQResultSet
extends Object
implements org.pentaho.commons.connection.IPentahoResultSet, org.pentaho.commons.connection.IPeekable
- Author:
- wseyler TODO To change the template for this generated type comment go to Window - Preferences - Java - Code Style - Code Templates
-
Field Summary
Modifier and TypeFieldDescriptionprotected String[]
protected XQConnection
protected static final String
protected net.sf.saxon.query.DynamicQueryContext
protected static final String
protected net.sf.saxon.query.XQueryExpression
protected static final org.apache.commons.logging.Log
protected XQMetaData
protected Object[]
-
Constructor Summary
ConstructorDescriptionXQResultSet
(XQConnection xqConnection, net.sf.saxon.query.XQueryExpression exp, net.sf.saxon.query.DynamicQueryContext dynamicContext, String[] columnTypes) -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
close()
void
protected void
decodeNode
(Object obj, Map retValue) void
dispose()
protected List
evaluate()
int
Object[]
getDataColumn
(int column) Object[]
getDataRow
(int row) org.pentaho.commons.connection.IPentahoMetaData
int
getValueAt
(int row, int column) protected void
init()
boolean
org.pentaho.commons.connection.IPentahoResultSet
Object[]
next()
Object[]
peek()
-
Field Details
-
logger
protected static final org.apache.commons.logging.Log logger -
exp
protected net.sf.saxon.query.XQueryExpression exp -
dynamicContext
protected net.sf.saxon.query.DynamicQueryContext dynamicContext -
metaData
-
DELIM
- See Also:
-
EMPTY_STR
- See Also:
-
peekRow
-
columnTypes
-
connection
-
-
Constructor Details
-
XQResultSet
public XQResultSet(XQConnection xqConnection, net.sf.saxon.query.XQueryExpression exp, net.sf.saxon.query.DynamicQueryContext dynamicContext, String[] columnTypes) throws net.sf.saxon.trans.XPathException - Parameters:
exp
-dynamicContext
-columnTypes
-- Throws:
net.sf.saxon.trans.XPathException
-
-
Method Details
-
init
protected void init() throws net.sf.saxon.trans.XPathException- Throws:
net.sf.saxon.trans.XPathException
-
evaluate
- Throws:
net.sf.saxon.trans.XPathException
-
getMetaData
public org.pentaho.commons.connection.IPentahoMetaData getMetaData()- Specified by:
getMetaData
in interfaceorg.pentaho.commons.connection.IPentahoResultSet
-
peek
- Specified by:
peek
in interfaceorg.pentaho.commons.connection.IPeekable
-
next
- Specified by:
next
in interfaceorg.pentaho.commons.connection.IPentahoResultSet
-
decodeNode
-
close
public void close()- Specified by:
close
in interfaceorg.pentaho.commons.connection.IPentahoResultSet
-
closeConnection
public void closeConnection()- Specified by:
closeConnection
in interfaceorg.pentaho.commons.connection.IPentahoResultSet
-
isScrollable
public boolean isScrollable()- Specified by:
isScrollable
in interfaceorg.pentaho.commons.connection.IPentahoResultSet
-
getValueAt
- Specified by:
getValueAt
in interfaceorg.pentaho.commons.connection.IPentahoResultSet
-
getRowCount
public int getRowCount()- Specified by:
getRowCount
in interfaceorg.pentaho.commons.connection.IPentahoResultSet
-
getColumnCount
public int getColumnCount()- Specified by:
getColumnCount
in interfaceorg.pentaho.commons.connection.IPentahoResultSet
-
dispose
public void dispose()- Specified by:
dispose
in interfaceorg.pentaho.commons.connection.IDisposable
-
memoryCopy
public org.pentaho.commons.connection.IPentahoResultSet memoryCopy()- Specified by:
memoryCopy
in interfaceorg.pentaho.commons.connection.IPentahoResultSet
-
beforeFirst
public void beforeFirst()- Specified by:
beforeFirst
in interfaceorg.pentaho.commons.connection.IPentahoResultSet
-
getDataColumn
- Specified by:
getDataColumn
in interfaceorg.pentaho.commons.connection.IPentahoResultSet
-
getDataRow
- Specified by:
getDataRow
in interfaceorg.pentaho.commons.connection.IPentahoResultSet
-