public class WhereForm extends AbstractSparqVariableFormExpression implements GroupForm
| Modifier and Type | Field and Description |
|---|---|
protected java.util.List<Filter> |
filters
The list of FILTER constructs.
|
protected java.util.List<Union> |
unions
The list of UNION constructs.
|
distances, geometries, graphPatterns, NO_TYPE, owltimes, propertyIndRefs, propertyRefs, propertyValues, whereTypesparentRequestTYPE_ASK, TYPE_DELETE, TYPE_INSERT, TYPE_INSERT_DATA, TYPE_SELECT, TYPE_WHERE| Constructor and Description |
|---|
WhereForm(ISparqlRequestGroup parentRequest) |
| Modifier and Type | Method and Description |
|---|---|
Filter |
addFilter()
Add a FILTER clause.
|
Filter |
addHaving()
Add a HAVING clause.
|
Union |
addUnionConstruct()
Add an UNION construct with multiple expressions.
|
boolean |
checkValidity()
Check the validity of the SPARQL expression for the group expression.
|
java.lang.String |
formExpressionTypeAsString()
Return the form expression type as a String.
|
java.util.List<Filter> |
getFilters()
Return the filters.
|
char |
getFormExpressionType()
Return the
ISparqlFormExpression.TYPE_WHERE type. |
java.util.List<Union> |
getUnions()
Return the list of unions in this request.
|
java.util.List<WhereExpression> |
getWhereExpressions()
Return the WHERE types.
|
boolean |
hasFilters()
Return true if there are filters in this form.
|
boolean |
hasUnions()
Return true if there are unions in this request.
|
boolean |
hasWhereExpr() |
addDistance, addDistance, addGeometry, addGeometry, addLabel, addLabel, addProperty, addPropertyIndividualRef, addPropertyIRIValue, addPropertyRef, addPropertyRef, addPropertyRef, addPropertyValue, addPropertyValue, addPropertyValue, addPropertyValues, addSubClassOf, addSubClassOf, addSubClassOfStar, addSubClassOfStar, addTime, addTime, addType, addType, addType, addType, addType, addType, addTypeSubClassOf, addVariableSubClassOf, addVariableSubClassOfStar, addVariableType, addVariableType, addVariableTypeSubClassOf, getDistances, getGeometries, getGraphPatterns, getOwlTimes, getParentRequest, getPropertyIndRefs, getPropertyRefs, getPropertyValuesgetLevel, getSparqlRequestclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddDistance, addGeometry, addLabel, addLabel, addProperty, addProperty, addPropertyIndividualRef, addPropertyIndividualRef, addPropertyIndividualRef, addPropertyIRIValue, addPropertyIRIValue, addPropertyRef, addPropertyRef, addPropertyRef, addPropertyRef, addPropertyRef, addPropertyRef, addPropertyRef, addPropertyRef, addPropertyValue, addPropertyValue, addPropertyValue, addPropertyValue, addPropertyValue, addPropertyValue, addPropertyValue, addPropertyValue, addPropertyValue, addPropertyValue, addPropertyValue, addPropertyValue, addPropertyValue, addPropertyValue, addPropertyValue, addPropertyValue, addPropertyValues, addPropertyValues, addPropertyValues, addPropertyValues, addSubClassOf, addSubClassOf, addSubClassOfStar, addSubClassOfStar, addTime, addTime, addType, addType, addType, addType, addTypeSubClassOf, addVariableSubClassOf, addVariableSubClassOfStar, addVariableType, addVariableType, addVariableTypeSubClassOf, getDistances, getGeometries, getGraphPatterns, getOwlTimes, getParentRequest, getPropertyIndRefs, getPropertyRefs, getPropertyValuesgetSparqlRequestgetLevel, indent, indentMore, indentParentprotected final java.util.List<Union> unions
protected final java.util.List<Filter> filters
public WhereForm(ISparqlRequestGroup parentRequest)
public Union addUnionConstruct()
addUnionConstruct in interface GroupFormpublic java.util.List<Union> getUnions()
ISparqVariableFormExpressiongetUnions in interface ISparqVariableFormExpressionpublic boolean hasUnions()
ISparqVariableFormExpressionhasUnions in interface ISparqVariableFormExpressionpublic Filter addFilter()
public Filter addHaving()
public boolean hasFilters()
hasFilters in interface ISparqVariableFormExpressionpublic java.util.List<Filter> getFilters()
getFilters in interface ISparqVariableFormExpressionpublic java.util.List<WhereExpression> getWhereExpressions()
AbstractSparqVariableFormExpressiongetWhereExpressions in class AbstractSparqVariableFormExpressionpublic char getFormExpressionType()
ISparqlFormExpression.TYPE_WHERE type.getFormExpressionType in interface ISparqlFormExpressionpublic java.lang.String formExpressionTypeAsString()
ISparqlFormExpressionformExpressionTypeAsString in interface ISparqlFormExpressionpublic boolean hasWhereExpr()
public boolean checkValidity()
checkValidity in class AbstractSparqVariableFormExpressionCopyright © 2025, 2026 Dassault Aviation. All Rights Reserved. Documentation and source under the LGPL v3 licence