public class ParsedQuery
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
VarResults.VarResultsMode |
mode
VarResults.VarResultsMode value
|
static java.lang.String |
PARAM_MARKER |
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,
VarResults.VarResultsMode mode,
java.lang.String tagType)
Create the object.
|
Modifier and Type | Method and Description |
---|---|
void |
close()
Frees up any results sets, and their underlying connection, created by this object.
|
java.util.List<VarResults> |
getParameters()
These are native type (i.e.
|
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 VarResults.VarResultsMode mode
public ParsedQuery(AbstractDataSource abstractDataSource, AbstractDataSourceNode node, java.lang.String text, java.util.List<VarResults> parameters, VarResults.VarResultsMode mode, java.lang.String tagType)
abstractDataSource
- The datasource this will query.node
- The closest node in the stack of this datasource.parameters
- These are native type (i.e. DateTime in .NET) as they are going to be passed in to select commands as parameters.public void close()
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 © 2002-2021 Windward Studios, LLC. - All Rights Reserved. We are Java document generation software