public class InNotInExpression extends AbstractExpression
| Modifier and Type | Field and Description |
|---|---|
static short |
EXPRESSION_IN
The IN type.
|
static short |
EXPRESSION_NOT_IN
The NOT IN type.
|
operator| Constructor and Description |
|---|
InNotInExpression()
Creates an IN expression.
|
InNotInExpression(short type)
Creates an IN or NOT IN expression.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addTerm(Expression term)
Add a term in the list used in the IN or NOT IN expression.
|
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.
|
Expression |
getLeftHandTerm()
Return the left hand term.
|
java.util.Set<java.lang.String> |
getOutputVariables()
Return the left hand term variables.
|
java.util.List<Expression> |
getTerms()
Return the list of terms used in the IN or NOT IN expression.
|
short |
getType()
Return the expression type.
|
java.util.Set<java.lang.String> |
getVariables()
Return the variables used in the expression.
|
boolean |
hasLeftHandTerm()
Return true if there is a left hand term.
|
void |
setLeftHandTerm(Expression term)
Set the left hand term.
|
void |
setType(short type)
Set the expression type.
|
getOperator, setOperator, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcreate, getContent, getOperatorAsString, getOperatorAsString, isSimpleExpressionpublic static final short EXPRESSION_IN
public static final short EXPRESSION_NOT_IN
public InNotInExpression()
public InNotInExpression(short type)
type - the typepublic void setType(short type)
type - the typepublic short getType()
public void setLeftHandTerm(Expression term)
term - the termpublic Expression getLeftHandTerm()
public boolean hasLeftHandTerm()
public void addTerm(Expression term)
term - the termpublic java.util.List<Expression> getTerms()
public boolean checkValidity(ISparqlRequestGroup request)
request - the requestpublic java.util.Set<java.lang.String> getVariables()
public java.util.Set<java.lang.String> getOutputVariables()
public void appendContent(java.lang.String prefix,
java.lang.StringBuilder buf)
prefix - the prefixbuf - the bufferCopyright © 2025, 2026 Dassault Aviation. All Rights Reserved. Documentation and source under the LGPL v3 licence