public interface Expression extends ExpressionOperators
| Modifier and Type | Method and Description |
|---|---|
void |
appendContent(java.lang.String prefix,
java.lang.StringBuilder buf)
Append the expression content to a buffer.
|
boolean |
checkValidity(ISparqlRequestGroup request)
Return true if the expression is valid.
|
static Expression |
create(java.lang.String content,
ISparqlRequestGroup request)
Create an expression by parsing a String.
|
default java.lang.String |
getContent(java.lang.String prefix)
Return the expression content.
|
short |
getOperator()
Return the operator to use for the expression.
|
default java.lang.String |
getOperatorAsString()
Return the operator as a String.
|
default java.lang.String |
getOperatorAsString(short theOperator)
Return an operator as a String.
|
java.util.Set<java.lang.String> |
getOutputVariables()
Return the variables which are in output of the expression.
|
java.util.Set<java.lang.String> |
getVariables()
Return the variables used in the expression.
|
default boolean |
isSimpleExpression()
Return true if the expression is a simple expression.
|
void |
setOperator(short operator)
Set the operator to use for the expression.
|
static Expression create(java.lang.String content, ISparqlRequestGroup request)
content - the string to parserequest - the parent requestvoid setOperator(short operator)
operator - the operatorshort getOperator()
void appendContent(java.lang.String prefix,
java.lang.StringBuilder buf)
prefix - the prefixbuf - the bufferdefault java.lang.String getContent(java.lang.String prefix)
prefix - the prefixjava.util.Set<java.lang.String> getOutputVariables()
java.util.Set<java.lang.String> getVariables()
default boolean isSimpleExpression()
default java.lang.String getOperatorAsString()
setOperator(short)boolean checkValidity(ISparqlRequestGroup request)
request - the requestdefault java.lang.String getOperatorAsString(short theOperator)
theOperator - the operatorCopyright © 2025, 2026 Dassault Aviation. All Rights Reserved. Documentation and source under the LGPL v3 licence