org.pentaho.platform.plugin.services.connections.xquery
Class XQConnection
java.lang.Object
org.pentaho.platform.plugin.services.connections.xquery.XQConnection
- All Implemented Interfaces:
- IPentahoLoggingConnection
public class XQConnection
- extends Object
- implements IPentahoLoggingConnection
- Author:
- wseyler
TODO To change the template for this generated type comment go to Window -
Preferences - Java - Code Style - Code Templates
XQConnection
public XQConnection()
setLogger
public void setLogger(ILogger logger)
- Specified by:
setLogger
in interface IPentahoLoggingConnection
setProperties
public void setProperties(Properties props)
initialized
public boolean initialized()
prepareAndExecuteQuery
public IPentahoResultSet prepareAndExecuteQuery(String query,
List parameters)
throws Exception
- Throws:
Exception
preparedQueriesSupported
public boolean preparedQueriesSupported()
getDatasourceType
public String getDatasourceType()
- return datasource type MDX
- Returns:
- datasource type
close
public void close()
getLastQuery
public String getLastQuery()
executeQuery
public IPentahoResultSet executeQuery(String query)
throws XPathException
- Throws:
XPathException
executeQuery
public IPentahoResultSet executeQuery(String query,
String[] columnTypes)
throws XPathException
- Throws:
XPathException
isClosed
public boolean isClosed()
isReadOnly
public boolean isReadOnly()
clearWarnings
public void clearWarnings()
getResultSet
public IPentahoResultSet getResultSet()
connect
public boolean connect(Properties props)
setMaxRows
public void setMaxRows(int maxRows)
setFetchSize
public void setFetchSize(int fetchSize)