public class Filter extends ExpressionList implements SparqlElement, IndentableElement
expressions, request| Modifier and Type | Method and Description |
|---|---|
void |
addExpression(Expression expression)
Add an expression with the default AND operator.
|
void |
addExpression(Expression expression,
short operator)
Add an expression.
|
boolean |
checkValidity()
Check the validity of the FILTER expression.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getClauseTypeAsString()
Return the clause type as a String.
|
GroupForm |
getGroupForm()
Return the parent group form.
|
int |
getIndex()
Return the index of the filter.
|
java.util.Set<java.lang.String> |
getInputVariables()
Return the input variables.
|
int |
getLevel()
Return the level of the BIND.
|
int |
hashCode() |
boolean |
isFilter()
Return true if this is a FILTER clause.
|
boolean |
isHaving()
Return true if this is a HAVING clause.
|
createLiteral, createLiteral, createVariable, getExpressionsgetComment, hasComment, setCommentclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetComment, hasComment, setCommentindent, indentMore, indentParentpublic boolean isHaving()
public boolean isFilter()
public java.lang.String getClauseTypeAsString()
public int getIndex()
public int getLevel()
getLevel in interface IndentableElementpublic GroupForm getGroupForm()
public java.util.Set<java.lang.String> getInputVariables()
public void addExpression(Expression expression, short operator)
expression - the expressionoperator - the operatorpublic void addExpression(Expression expression)
expression - the expressionpublic boolean checkValidity()
checkValidity in class ExpressionListpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2025, 2026 Dassault Aviation. All Rights Reserved. Documentation and source under the LGPL v3 licence