public class ParsedQuery
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
int |
mode
VarResults.RESULTS_* value
|
static java.lang.String |
PARAM_MARKER |
java.util.List<VarResults> |
parameters |
java.lang.String |
querytext |
static int |
RETURN_RESULTSET |
static int |
RETURN_ROW |
Constructor and Description |
---|
ParsedQuery(AbstractDataSource abstractDataSource,
AbstractDataSourceNode node,
java.lang.String text,
java.util.List<VarResults> parameters,
int mode,
java.lang.String tagType) |
Modifier and Type | Method and Description |
---|---|
java.util.List<VarResults> |
getParameters() |
java.lang.Object |
getResult(boolean completeSelect)
Get the result for this query.
|
IDataSourceResultSet |
getResultSet(boolean completeSelect)
Get the resultset for this query.
|
java.lang.String |
getText() |
boolean |
nodeExists()
true if the node exists, even if it has a value of null.
|
public static final java.lang.String PARAM_MARKER
public static final int RETURN_RESULTSET
public static final int RETURN_ROW
public java.lang.String querytext
public java.util.List<VarResults> parameters
public int mode
public ParsedQuery(AbstractDataSource abstractDataSource, AbstractDataSourceNode node, java.lang.String text, java.util.List<VarResults> parameters, int mode, java.lang.String tagType)
public boolean nodeExists() throws DataSourceException
DataSourceException
public IDataSourceResultSet getResultSet(boolean completeSelect) throws DataSourceException
completeSelect
- true if this is a full query, not just a subsectionDataSourceException
public java.lang.Object getResult(boolean completeSelect) throws DataSourceException
completeSelect
- true if this is a full query, not just a subsectionDataSourceException
public java.util.List<VarResults> getParameters()
public java.lang.String getText()
Copyright © 2017 Windward Reports - All Rights Reserved. We are java reporting software