|
Oracle® OLAP Java API Reference 11g Release 2 (11.2) E10794-03 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectoracle.olapi.syntax.SyntaxObject
oracle.olapi.syntax.DataObject
oracle.olapi.syntax.Expression
oracle.olapi.syntax.Condition
oracle.olapi.syntax.ComparisonCondition
oracle.olapi.syntax.ListComparisonCondition
public final class ListComparisonCondition
A ComparisonCondition that represents a group
comparison condition, which compares one expression to a list
of expressions.
The operator for a ListComparisonCondition is any
of the ComparisonCondition constants.
That operator is qualified by one of the
ListComparisonCondition constants,
ALL, ANY, or SOME.
A ListComparisonCondition with the ANY
or SOME qualifier evaluates to true
if the value of the left-hand-side expression matches the
value of one or more expressions in the right-hand-side list of
expressions.
A ListComparisonCondition with the ALL
qualifier evaluates to true if the value of the
left-hand-side expression matches the values of all of the
expressions in the list of expressions.
| Field Summary | |
|---|---|
static java.lang.String |
ALL
A constant for the ALL operator. |
static java.lang.String |
ANY
A constant for the ANY operator. |
static java.lang.String |
SOME
A constant for the SOME operator. |
| Fields inherited from class oracle.olapi.syntax.ComparisonCondition |
|---|
EQ, GE, GT, LE, LT, NE, NE2, NE3 |
| Constructor Summary | |
|---|---|
ListComparisonCondition(TypedExpression lhs,
java.lang.String operator,
java.lang.String qualifier,
java.util.List<TypedExpression> list)
Creates a new ListComparisonCondition that has the
specified left-hand-side argument expression, operator, qualifier,
and list of TypedExpression objects. |
|
ListComparisonCondition(TypedExpression lhs,
java.lang.String operator,
java.lang.String qualifier,
TypedExpression[] list)
Creates a new ListComparisonCondition that has the
specified left-hand-side argument expression, operator, qualifier,
and list of TypedExpression objects. |
|
ListComparisonCondition(TypedExpression lhs,
java.lang.String operator,
TypedExpression[] list)
Creates a new ListComparisonCondition that has the
specified left-hand-side argument expression, operator, and
list of TypedExpression objects, and has the
ANY qualifier. |
|
ListComparisonCondition(TypedExpression lhs,
TypedExpression[] list)
Creates a new ListComparisonCondition that has the
specified left-hand-side argument expression and list of
TypedExpression objects, and has the EQ
operator and the ANY qualifier. |
|
| Method Summary | |
|---|---|
TypedExpression[] |
getList()
Gets the list of expressions of this ListComprisonCondition that the operation
compares to the left-hand-side argument expression. |
java.lang.String |
getQualifier()
Gets the qualifier of this ListComprisonCondition,
which can be ALL, ANY, or
SOME. |
java.lang.Object |
visit(SyntaxObjectVisitor visitor,
java.lang.Object context)
Calls the visitListComparisonCondition method of the
SyntaxObjectVisitor and passes that method this
ListComparisonCondition and an Object. |
| Methods inherited from class oracle.olapi.syntax.ComparisonCondition |
|---|
getLhsArgument, getOperator |
| Methods inherited from class oracle.olapi.syntax.Condition |
|---|
and, isCompositeObject, not, or |
| Methods inherited from class oracle.olapi.syntax.SyntaxObject |
|---|
equals, equals, fromSyntax, fromSyntax, fromSyntax, fromSyntax, fromSyntax, isValid, toSyntax, toSyntax, toSyntax, toSyntax, toSyntax, toSyntax |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String ALL
public static final java.lang.String SOME
public static final java.lang.String ANY
| Constructor Detail |
|---|
public ListComparisonCondition(TypedExpression lhs,
java.lang.String operator,
java.lang.String qualifier,
TypedExpression[] list)
ListComparisonCondition that has the
specified left-hand-side argument expression, operator, qualifier,
and list of TypedExpression objects.
lhs - The TypedExpression to use as the
left-hand-side argument.operator - The operator to use, which can be any of the
ComparisonCondition constants.qualifier - One of the ListComparisonCondition
constants ALL, ANY, or
SOME.list - An array of TypedExpression objects.
public ListComparisonCondition(TypedExpression lhs,
java.lang.String operator,
java.lang.String qualifier,
java.util.List<TypedExpression> list)
ListComparisonCondition that has the
specified left-hand-side argument expression, operator, qualifier,
and list of TypedExpression objects.
lhs - The TypedExpression to use as the
left-hand-side argument.operator - The operator to use, which can be any of the
ComparisonCondition constants.qualifier - One of the ListComparisonCondition
constants ALL, ANY, or
SOME.list - A List of TypedExpression objects.
public ListComparisonCondition(TypedExpression lhs,
java.lang.String operator,
TypedExpression[] list)
ListComparisonCondition that has the
specified left-hand-side argument expression, operator, and
list of TypedExpression objects, and has the
ANY qualifier.
lhs - The TypedExpression to use as the
left-hand-side argument.operator - The operator to use, which can be any of the
ComparisonCondition constants.list - An array of TypedExpression objects.
public ListComparisonCondition(TypedExpression lhs,
TypedExpression[] list)
ListComparisonCondition that has the
specified left-hand-side argument expression and list of
TypedExpression objects, and has the EQ
operator and the ANY qualifier.
lhs - The TypedExpression to use as the
left-hand-side argument.list - An array of TypedExpression objects.| Method Detail |
|---|
public java.lang.Object visit(SyntaxObjectVisitor visitor,
java.lang.Object context)
visitListComparisonCondition method of the
SyntaxObjectVisitor and passes that method this
ListComparisonCondition and an Object.
visit in class SyntaxObjectvisitor - A SyntaxObjectVisitor.context - An Object.
Object returned by the
visitListComparisonCondition method.public TypedExpression[] getList()
ListComprisonCondition that the operation
compares to the left-hand-side argument expression.
TypedExpression objects.public java.lang.String getQualifier()
ListComprisonCondition,
which can be ALL, ANY, or
SOME.
String that contains the qualifier of
this ListComprisonCondition.
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||