public interface Expression
| Modifier and Type | Field and Description |
|---|---|
static short |
AND
The "&&" operator.
|
static short |
DEFAULT |
static short |
DIVIDE
The "/" operator.
|
static short |
MINUS
The "-" operator.
|
static short |
MULTIPLY
The "*" operator.
|
static short |
NOT
The "!"
|
static short |
OR
The "||" operator.
|
static short |
PLUS
The "+" operator.
|
| 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.
|
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 final short DEFAULT
static final short PLUS
static final short MINUS
static final short MULTIPLY
static final short DIVIDE
static final short OR
static final short AND
static final short NOT
void 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