public interface IQueryOptions extends Serializable
IStep
when
evaluated as a query.Modifier and Type | Method and Description |
---|---|
ISortOrder[] |
getOrderBy()
An optional array of
ISortOrder s describing the sort order that
will be imposed on the generated solutions when the rule is evaluated as
a query. |
ISlice |
getSlice()
An optional
ISlice describing a constraint on the first
solution and the maximum #of solutions to be materialized by a
query. |
boolean |
isDistinct()
true if a DistinctFilter should be applied when
the query is evaluated. |
boolean |
isStable()
Return
true iff query evaluation must be stable. |
boolean isDistinct()
true
if a DistinctFilter
should be applied when
the query is evaluated.ISortOrder[] getOrderBy()
ISortOrder
s describing the sort order that
will be imposed on the generated solutions when the rule is evaluated as
a query.ISortOrder
s -or- null
iff
there is no "order by" constraint.ISlice getSlice()
ISlice
describing a constraint on the first
solution and the maximum #of solutions to be materialized by a
query.
Note: Using an ISlice
requires that the solutions are stable
for queries against the same commit point of the database.
ISlice
-or- null
if there is no
constraint on the solutions that will be visited.boolean isStable()
true
iff query evaluation must be stable. Stable
query evaluation requires that the same query executed against the same
commit point will produce the same solutions in the same order. This
constraint requires that (a) query execution does not use any
parallelism; and (b) all IStepTask
are determinate. Stable
queries may be useful when using an ISlice
to page through a
solution set.true
if query evaluation must be stable.Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.