| Modifier and Type | Method and Description |
|---|---|
static In |
create(Expression columnOrExpression,
Collection<? extends Expression> expressions)
|
static In |
create(Expression columnOrExpression,
Expression... expressions)
|
static In |
create(Expression columnOrExpression,
Expression arg)
|
static In |
createNotIn(Expression columnOrExpression,
Collection<? extends Expression> expressions)
|
static In |
createNotIn(Expression columnOrExpression,
Expression... expressions)
|
static In |
createNotIn(Expression columnOrExpression,
Expression arg)
|
boolean |
equals(Object obj)
|
boolean |
hasExpressions() |
int |
hashCode()
Generate a hash code from this
Segment. |
boolean |
isNotIn() |
Condition |
not()
|
String |
toString()
Return a SQL string representation of this
Segment. |
void |
visit(Visitor visitor)
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static In create(Expression columnOrExpression, Expression arg)
columnOrExpression - left hand side of the Condition must not be null.arg - right hand side (collection Expression) must not be null.In Condition.public static In create(Expression columnOrExpression, Collection<? extends Expression> expressions)
columnOrExpression - left hand side of the Condition must not be null.expressions - right hand side (collection Expression) must not be null.In Condition.public static In create(Expression columnOrExpression, Expression... expressions)
columnOrExpression - left hand side of the Condition must not be null.expressions - right hand side (collection Expression) must not be null.In Condition.public static In createNotIn(Expression columnOrExpression, Expression arg)
columnOrExpression - left hand side of the Condition must not be null.arg - right hand side (collection Expression) must not be null.In Condition.public static In createNotIn(Expression columnOrExpression, Collection<? extends Expression> expressions)
columnOrExpression - left hand side of the Condition must not be null.expressions - right hand side (collection Expression) must not be null.In Condition.public static In createNotIn(Expression columnOrExpression, Expression... expressions)
columnOrExpression - left hand side of the Condition must not be null.expressions - right hand side (collection Expression) must not be null.In Condition.public boolean hasExpressions()
true if this condition has at least one expression.public String toString()
SegmentSegment.
The representation is intended for debugging purposes and an approximation to the generated SQL. While it might
work in the context of a specific dialect, you should not that the Segment.toString() representation works across
multiple databases.public boolean isNotIn()
public int hashCode()
SegmentSegment.
Hashcode typically derives from the Segment.toString() representation so two Segments yield the same
Segment.hashCode() if their Segment.toString() representation matches.public boolean equals(Object obj)
SegmentSegment is equal to another Segment.
Equality is typically given if the Segment.toString() representation matches.Copyright © 2017–2021 Pivotal Software, Inc.. All rights reserved.