public class SolutionSequenceModifier extends Object
| Constructor and Description |
|---|
SolutionSequenceModifier() |
| Modifier and Type | Method and Description |
|---|---|
void |
makeDistinct()
Mark the associated query with a DISTINCT modifier
|
void |
makeReduced()
Mark the associated query with a REDUCE modifier
|
void |
setLimit(long limit)
Sets the LIMIT of the associated query, which puts an upper bound on the number of solutions returned
|
void |
setOffset(long offset)
Sets the OFFSET of the associated query.
|
boolean |
trySolution(org.openrdf.query.BindingSet solution,
SubscriptionImpl subs)
Pass a potential solution through this sequence modifier to determine whether it should be returned as an answer
|
public void makeDistinct()
public void makeReduced()
public void setLimit(long limit)
limit - the upper bound on the number of solutions returnedpublic void setOffset(long offset)
offset - the number of solutions which will be generated before query answers are returnedpublic boolean trySolution(org.openrdf.query.BindingSet solution,
SubscriptionImpl subs)
solution - the potential query answersubs - the subscription to the query. If a LIMIT is exceeded,Copyright © 2014. All Rights Reserved.