Class Operation<T extends Operation<T>>
java.lang.Object
org.eclipse.rdf4j.sparqlbuilder.core.QueryElementCollection<Operand>
org.eclipse.rdf4j.sparqlbuilder.core.StandardQueryElementCollection<Operand>
org.eclipse.rdf4j.sparqlbuilder.constraint.Expression<T>
org.eclipse.rdf4j.sparqlbuilder.constraint.Operation<T>
- Type Parameters:
T- The type of operation. Used to support fluency.
- All Implemented Interfaces:
Operand, Assignable, Groupable, Orderable, QueryElement
- Direct Known Subclasses:
BinaryOperation, ConnectiveOperation, UnaryOperation
A SPARQL Operation. Differs from a
Function in the way operators and arguments are printed.-
Field Summary
FieldsFields inherited from class Expression
operatorFields inherited from class QueryElementCollection
elements -
Constructor Summary
ConstructorsConstructorDescriptionOperation(SparqlOperator operator) Operation(SparqlOperator operator, int operandLimit) -
Method Summary
Modifier and TypeMethodDescription(package private) TaddOperand(Operand operand) protected booleanprotected booleanMethods inherited from class Expression
addOperand, getOperand, parenthesize, parenthesizeMethods inherited from class StandardQueryElementCollection
printBodyIfEmpty, printNameIfEmpty, resetWrapperMethod, setOperatorName, setOperatorName, setWrapperMethodMethods inherited from class QueryElementCollection
addElements, addElements, isEmptyMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Assignable
as
-
Field Details
-
operandLimit
protected int operandLimit
-
-
Constructor Details
-
Operation
Operation(SparqlOperator operator) -
Operation
Operation(SparqlOperator operator, int operandLimit)
-
-
Method Details
-
addOperand
-
getQueryString
- Specified by:
getQueryStringin interfaceQueryElement- Overrides:
getQueryStringin classStandardQueryElementCollection<Operand>- Returns:
- the String representing the SPARQL syntax of this element
-
isBelowOperatorLimit
protected boolean isBelowOperatorLimit() -
isAtOperatorLimit
protected boolean isAtOperatorLimit()
-