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 classSelectQuery.SelectionPair -
Method Summary
Modifier and Type Method Description <E> Eaccept(LogicVisitor<E> visitor)static SelectQuerycreate(boolean distinct, boolean allPossibleVariables, java.util.List<SelectQuery.SelectionPair> selection, QueryBody queryBody)static SelectQuerycreate(boolean distinct, boolean allPossibleVariables, SelectQuery.SelectionPair[] selection, QueryBody queryBody)booleangetAllPossibleVariables()booleangetDistinct()QueryBodygetQueryBody()java.util.List<SelectQuery.SelectionPair>getSelection()voidtoString(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:
acceptin classLogicObject
-
toString
- Specified by:
toStringin 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)
-