MySQL 5.6.14 Source Code Document
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
com.mysql.clusterj.core.query.OrPredicateImpl Class Reference
Inheritance diagram for com.mysql.clusterj.core.query.OrPredicateImpl:
Collaboration diagram for com.mysql.clusterj.core.query.OrPredicateImpl:

Public Member Functions

 OrPredicateImpl (QueryDomainTypeImpl<?> dobj, PredicateImpl left, PredicateImpl right)
Predicate or (Predicate predicate)
void markParameters ()
void unmarkParameters ()
void filterCmpValue (QueryExecutionContext context, ScanOperation op)
void filterCmpValue (QueryExecutionContext context, ScanOperation op, ScanFilter filter)
- Public Member Functions inherited from com.mysql.clusterj.core.query.PredicateImpl
 PredicateImpl (QueryDomainTypeImpl<?> dobj)
Predicate and (Predicate other)
Predicate not ()
void operationSetBounds (QueryExecutionContext context, IndexScanOperation op, boolean lastColumn)
void operationSetLowerBound (QueryExecutionContext context, IndexScanOperation op, boolean lastColumn)
void operationSetUpperBound (QueryExecutionContext context, IndexScanOperation op, boolean lastColumn)
void operationEqual (QueryExecutionContext context, Operation op)
void operationEqualFor (QueryExecutionContext context, Operation op, String indexName)
void objectSetValuesFor (QueryExecutionContext context, Object row, String indexName)
void assertIdenticalDomainObject (PredicateImpl other, String venue)
CandidateIndexImpl getBestCandidateIndex (QueryExecutionContext context)

Additional Inherited Members

- Protected Member Functions inherited from com.mysql.clusterj.core.query.PredicateImpl
CandidateIndexImpl getBestCandidateIndexFor (QueryExecutionContext context, PredicateImpl...predicates)
int getNumberOfConditionsInPredicate ()
- Protected Attributes inherited from com.mysql.clusterj.core.query.PredicateImpl
QueryDomainTypeImpl<?> dobj

Detailed Description

Definition at line 31 of file OrPredicateImpl.java.

Constructor & Destructor Documentation

com.mysql.clusterj.core.query.OrPredicateImpl.OrPredicateImpl ( QueryDomainTypeImpl<?>  dobj,
PredicateImpl  left,
PredicateImpl  right 
)
inline

Create an OrPredicateImpl from two predicates.

Parameters
dobjthe QueryDomainObject
leftone predicate
rightthe other predicate

Definition at line 42 of file OrPredicateImpl.java.

Member Function Documentation

void com.mysql.clusterj.core.query.OrPredicateImpl.filterCmpValue ( QueryExecutionContext  context,
ScanOperation  op 
)
inline

Create a filter for the operation. Call the ORed predicates to set the filter values.

Parameters
contextthe query execution context with the parameter values
opthe operation

Reimplemented from com.mysql.clusterj.core.query.PredicateImpl.

Definition at line 89 of file OrPredicateImpl.java.

Here is the call graph for this function:

void com.mysql.clusterj.core.query.OrPredicateImpl.filterCmpValue ( QueryExecutionContext  context,
ScanOperation  op,
ScanFilter  filter 
)
inline

Use an existing filter for the operation. Call the ORed predicates to set the filter values.

Parameters
contextthe query execution context with the parameter values
opthe operation
filterthe existing filter

Reimplemented from com.mysql.clusterj.core.query.PredicateImpl.

Definition at line 112 of file OrPredicateImpl.java.

Here is the call graph for this function:

void com.mysql.clusterj.core.query.OrPredicateImpl.markParameters ( )
inlinevirtual

Mark all parameters as being required.

Implements com.mysql.clusterj.core.query.PredicateImpl.

Definition at line 70 of file OrPredicateImpl.java.

Predicate com.mysql.clusterj.core.query.OrPredicateImpl.or ( Predicate  predicate)
inline

Combine this Predicate with another, using the "or" semantic.

Parameters
predicatethe other predicate
Returns
a new Predicate combining both Predicates

Reimplemented from com.mysql.clusterj.core.query.PredicateImpl.

Definition at line 50 of file OrPredicateImpl.java.

Here is the call graph for this function:

void com.mysql.clusterj.core.query.OrPredicateImpl.unmarkParameters ( )
inlinevirtual

Unmark all parameters as being required.

Implements com.mysql.clusterj.core.query.PredicateImpl.

Definition at line 75 of file OrPredicateImpl.java.


The documentation for this class was generated from the following file: