public class MetadataQueryComponent extends Object
Constructor and Description |
---|
MetadataQueryComponent() |
Modifier and Type | Method and Description |
---|---|
boolean |
execute() |
org.pentaho.commons.connection.IPentahoResultSet |
getResultSet() |
void |
setInputs(Map<String,Object> inputs) |
void |
setLive(boolean live) |
void |
setLogSql(boolean logSql) |
void |
setMaxRows(Integer maxRows) |
void |
setQuery(String query) |
void |
setQueryModelXmlHelper(String xmlHelperClass) |
void |
setQueryObject(org.pentaho.metadata.query.model.Query queryObject)
Sets the query to be executed.
|
void |
setReadOnly(Boolean readOnly)
This sets the read only property in the Hitachi Vantara SQLConnection API
|
void |
setTimeout(Integer timeout) |
void |
setUseForwardOnlyResultSet(boolean useForwardOnlyResultSet) |
boolean |
validate() |
public void setLogSql(boolean logSql)
public void setQuery(String query)
public void setQueryObject(org.pentaho.metadata.query.model.Query queryObject)
queryObject
- public void setMaxRows(Integer maxRows)
public void setTimeout(Integer timeout)
public void setLive(boolean live)
public void setReadOnly(Boolean readOnly)
readOnly
- true if read onlypublic void setUseForwardOnlyResultSet(boolean useForwardOnlyResultSet)
public void setQueryModelXmlHelper(String xmlHelperClass)
public boolean execute()
public boolean validate()
public org.pentaho.commons.connection.IPentahoResultSet getResultSet()
Copyright © 2017 Hitachi Vantara. All rights reserved.