|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.openrdf.sesame.query.rql.model.UnknownSelector
UnknownSelector is a preprocessing object which is necessary because it is not always possible at parsing time to decide whether a path expresion is a InstanceSelector or a DataPathSelector. This happens when a path expression of the form "url{VAR}" is encountered.
| Constructor Summary | |
UnknownSelector(URI uri,
DataVar var)
|
|
| Method Summary | |
void |
clear()
Clears the Selector. |
void |
initialize(RdfSchemaSource rss)
Gives the Selector the opportunity to initialize itself. |
boolean |
isInstanceSelector(RdfSchemaSource rss)
Determines whether the selector is a ResourceSelector
by checking whether the URI is a known Class. |
boolean |
selectNext(RdfSchemaSource rss)
Selects the next values. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public UnknownSelector(URI uri,
DataVar var)
| Method Detail |
public boolean isInstanceSelector(RdfSchemaSource rss)
ResourceSelector
by checking whether the URI is a known Class.
public void initialize(RdfSchemaSource rss)
throws QueryEvaluationException
Selector
initialize in interface SelectorQueryEvaluationException
public boolean selectNext(RdfSchemaSource rss)
throws QueryEvaluationException
Selector
selectNext in interface SelectorQueryEvaluationExceptionpublic void clear()
Selector
clear in interface Selectorpublic String toString()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||