MySQL 5.6.14 Source Code Document
|
Public Member Functions | |
AndPredicateImpl (QueryDomainTypeImpl<?> dobj, PredicateImpl left, PredicateImpl right) | |
Predicate | and (Predicate predicate) |
Predicate | or (Predicate predicate) |
Predicate | not () |
void | markParameters () |
void | unmarkParameters () |
void | filterCmpValue (QueryExecutionContext context, ScanOperation op) |
void | operationEqual (QueryExecutionContext context, Operation op) |
CandidateIndexImpl | getBestCandidateIndex (QueryExecutionContext context) |
Public Member Functions inherited from com.mysql.clusterj.core.query.PredicateImpl | |
PredicateImpl (QueryDomainTypeImpl<?> dobj) | |
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 | operationEqualFor (QueryExecutionContext context, Operation op, String indexName) |
void | objectSetValuesFor (QueryExecutionContext context, Object row, String indexName) |
void | filterCmpValue (QueryExecutionContext context, ScanOperation op, ScanFilter filter) |
void | assertIdenticalDomainObject (PredicateImpl other, String venue) |
Protected Member Functions | |
int | getNumberOfConditionsInPredicate () |
Protected Member Functions inherited from com.mysql.clusterj.core.query.PredicateImpl | |
CandidateIndexImpl | getBestCandidateIndexFor (QueryExecutionContext context, PredicateImpl...predicates) |
Additional Inherited Members | |
Protected Attributes inherited from com.mysql.clusterj.core.query.PredicateImpl | |
QueryDomainTypeImpl<?> | dobj |
Definition at line 30 of file AndPredicateImpl.java.
Combine this Predicate with another, using the "and" semantic.
predicate | the other predicate |
Reimplemented from com.mysql.clusterj.core.query.PredicateImpl.
Definition at line 42 of file AndPredicateImpl.java.
|
inline |
Create a filter for the operation. Set the conditions into the new filter, one for each predicate.
context | the query execution context with the parameter values |
op | the operation |
Reimplemented from com.mysql.clusterj.core.query.PredicateImpl.
Definition at line 94 of file AndPredicateImpl.java.
|
inline |
Get the best index for the operation. Delegate to the method in the superclass, passing the array of predicates.
Reimplemented from com.mysql.clusterj.core.query.PredicateImpl.
Definition at line 129 of file AndPredicateImpl.java.
|
inlineprotected |
Get the number of conditions in the top level predicate. This is used to determine whether a hash index can be used. If there are exactly the number of conditions as index columns, then the hash index might be used. For AND predicates, there is one condition for each predicate included in the AND. AndPredicateImpl overrides this method.
Reimplemented from com.mysql.clusterj.core.query.PredicateImpl.
Definition at line 144 of file AndPredicateImpl.java.
|
inlinevirtual |
Mark all parameters as being required.
Implements com.mysql.clusterj.core.query.PredicateImpl.
Definition at line 75 of file AndPredicateImpl.java.
|
inline |
Negate this Predicate.
Reimplemented from com.mysql.clusterj.core.query.PredicateImpl.
Definition at line 69 of file AndPredicateImpl.java.
|
inline |
Set the keys into the operation for each predicate. Each predicate must be an equal predicate for a primary or unique key.
Reimplemented from com.mysql.clusterj.core.query.PredicateImpl.
Definition at line 112 of file AndPredicateImpl.java.
Combine this Predicate with another, using the "or" semantic.
predicate | the other predicate |
Reimplemented from com.mysql.clusterj.core.query.PredicateImpl.
Definition at line 64 of file AndPredicateImpl.java.
|
inlinevirtual |
Unmark all parameters as being required.
Implements com.mysql.clusterj.core.query.PredicateImpl.
Definition at line 82 of file AndPredicateImpl.java.