public interface IQuery
Modifier and Type | Method and Description |
---|---|
void |
bindParameter(int parameterIndex,
ParameterValue value)
Binds input parameters to query.
|
ITabularResultSet |
fetchRows(int skipCount)
Retrieves the results in a tabular format.
|
boolean |
getCaseInsensitive()
Returns true when case insensitive comparison is done; otherwise, false is returned.
|
boolean |
getHonorPrimary()
Returns true to honor primary association; otherwise, false is returned.
|
int |
getMaxRows()
Specifies the maximum number of rows to return as part of the
ITabularResultSet . |
int |
getPageSize()
Returns the page size.
|
IReportingPeriod |
getReportingPeriod()
Returns the
IReportingPeriod for this query. |
void |
setCaseInsensitive(boolean caseInsensitive)
Specifies whether Query is applying case insensitive or case sensitive comparisons.
|
void |
setHonorPrimary(boolean honorPrimary)
Specifies whether primary associations are honored.
|
void |
setMaxRows(int maxRows)
Sets the maximum number of rows to return as part of the
ITabularResultSet . |
void |
setPageSize(int pageSize)
Sets the page size to use for the result set.
|
void |
setReportingPeriod(IReportingPeriod reportingPeriod)
Sets the
IReportingPeriod to use during execution of this query. |
IReportingPeriod getReportingPeriod()
IReportingPeriod
for this query.IReportingPeriod
for this query.void setReportingPeriod(IReportingPeriod reportingPeriod)
IReportingPeriod
to use during execution of this query.reportingPeriod
- the IReportingPeriod
to use during execution of this
query.int getMaxRows()
ITabularResultSet
. A value of zero means that all rows
that match the query will be returned.ITabularResultSet
. A value of zero means that all rows
that match the query will be returned.void setMaxRows(int maxRows)
ITabularResultSet
. A value of zero means that all rows
that match the query will be returned.maxRows
- the maximum number of rows to return as part of the
ITabularResultSet
. A value of zero means that
all rows that match the query will be returned.int getPageSize()
void setHonorPrimary(boolean honorPrimary)
honorPrimary
- set to true to honor primary associations; otherwise, set to falseboolean getHonorPrimary()
void setPageSize(int pageSize)
pageSize
- the page size. A page size of 0 means all results.ITabularResultSet fetchRows(int skipCount)
skipCount
- the number of records to skip. Use the value zero to
start at beginning of the result set.void bindParameter(int parameterIndex, ParameterValue value)
parameterIndex
- the index of the parameter. This value starts at 1.value
- the input parameter value to bind with the statement.void setCaseInsensitive(boolean caseInsensitive)
caseInsensitive
- set to true to perform case insensitive comparison; otherwise, set to falseboolean getCaseInsensitive()
Licensed Materials - Property of IBM
OpenPages with Watson (PID: 5725-D51)
© Copyright IBM Corporation 2013, 2019. All Rights Reserved.
US Government Users Restricted Rights -
Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.