Class SelectQuery
java.lang.Object
tech.oxfordsemantic.jrdfox.logic.LogicObject
tech.oxfordsemantic.jrdfox.logic.sparql.statement.Statement
tech.oxfordsemantic.jrdfox.logic.sparql.statement.Query
tech.oxfordsemantic.jrdfox.logic.sparql.statement.SelectQuery
- All Implemented Interfaces:
java.io.Serializable
public class SelectQuery extends Query
- See Also:
- Serialized Form
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SelectQuery.SelectionPair
-
Method Summary
Modifier and Type Method Description <E> E
accept(LogicVisitor<E> visitor)
static SelectQuery
create(boolean distinct, boolean allPossibleVariables, java.util.List<SelectQuery.SelectionPair> selection, QueryBody queryBody)
static SelectQuery
create(boolean distinct, boolean allPossibleVariables, SelectQuery.SelectionPair[] selection, QueryBody queryBody)
boolean
getAllPossibleVariables()
boolean
getDistinct()
QueryBody
getQueryBody()
java.util.List<SelectQuery.SelectionPair>
getSelection()
void
toString(Prefixes prefixes, java.util.function.Consumer<java.lang.String> consumer)
Methods inherited from class tech.oxfordsemantic.jrdfox.logic.LogicObject
toString, toString, toString
-
Method Details
-
getDistinct
public boolean getDistinct() -
getAllPossibleVariables
public boolean getAllPossibleVariables() -
getSelection
-
getQueryBody
-
accept
- Specified by:
accept
in classLogicObject
-
toString
- Specified by:
toString
in classLogicObject
-
create
public static SelectQuery create(boolean distinct, boolean allPossibleVariables, java.util.List<SelectQuery.SelectionPair> selection, QueryBody queryBody) -
create
public static SelectQuery create(boolean distinct, boolean allPossibleVariables, SelectQuery.SelectionPair[] selection, QueryBody queryBody)
-