MySQL 5.6.14 Source Code Document
|
Classes | |
enum | ScanType |
Public Member Functions | |
PredicateImpl (QueryDomainTypeImpl<?> dobj) | |
Predicate | or (Predicate other) |
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 | filterCmpValue (QueryExecutionContext context, ScanOperation op) |
void | filterCmpValue (QueryExecutionContext context, ScanOperation op, ScanFilter filter) |
void | assertIdenticalDomainObject (PredicateImpl other, String venue) |
abstract void | markParameters () |
abstract void | unmarkParameters () |
CandidateIndexImpl | getBestCandidateIndex (QueryExecutionContext context) |
Protected Member Functions | |
CandidateIndexImpl | getBestCandidateIndexFor (QueryExecutionContext context, PredicateImpl...predicates) |
int | getNumberOfConditionsInPredicate () |
Protected Attributes | |
QueryDomainTypeImpl<?> | dobj |
Definition at line 37 of file PredicateImpl.java.
Combine this Predicate with another, using the "and" semantic.
predicate | the other predicate |
Implements com.mysql.clusterj.query.Predicate.
Reimplemented in com.mysql.clusterj.core.query.AndPredicateImpl.
Definition at line 67 of file PredicateImpl.java.
|
inline |
Create a filter for the operation. Set the condition into the new filter.
context | the query execution context with the parameter values |
op | the operation |
Reimplemented in com.mysql.clusterj.core.query.InPredicateImpl, com.mysql.clusterj.core.query.BetweenPredicateImpl, com.mysql.clusterj.core.query.AndPredicateImpl, com.mysql.clusterj.core.query.OrPredicateImpl, and com.mysql.clusterj.core.query.NotPredicateImpl.
Definition at line 129 of file PredicateImpl.java.
|
inlineprotected |
Get the best candidate index for the query, considering all indices defined and all predicates in the query.
predicates | the predicates |
Definition at line 189 of file PredicateImpl.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. By default (for equal, greaterThan, lessThan, greaterEqual, lessEqual) there is one condition. AndPredicateImpl overrides this method.
Reimplemented in com.mysql.clusterj.core.query.AndPredicateImpl.
Definition at line 233 of file PredicateImpl.java.
|
pure virtual |
Mark all parameters as being required.
Implemented in com.mysql.clusterj.core.query.AndPredicateImpl, com.mysql.clusterj.core.query.OrPredicateImpl, com.mysql.clusterj.core.query.InPredicateImpl, com.mysql.clusterj.core.query.BetweenPredicateImpl, com.mysql.clusterj.core.query.ComparativePredicateImpl, and com.mysql.clusterj.core.query.NotPredicateImpl.
|
inline |
Negate this Predicate.
Implements com.mysql.clusterj.query.Predicate.
Reimplemented in com.mysql.clusterj.core.query.AndPredicateImpl.
Definition at line 79 of file PredicateImpl.java.
Combine this Predicate with another, using the "or" semantic.
predicate | the other predicate |
Implements com.mysql.clusterj.query.Predicate.
Reimplemented in com.mysql.clusterj.core.query.AndPredicateImpl, and com.mysql.clusterj.core.query.OrPredicateImpl.
Definition at line 60 of file PredicateImpl.java.
|
pure virtual |
Unmark all parameters as being required.
Implemented in com.mysql.clusterj.core.query.AndPredicateImpl, com.mysql.clusterj.core.query.OrPredicateImpl, com.mysql.clusterj.core.query.InPredicateImpl, com.mysql.clusterj.core.query.BetweenPredicateImpl, com.mysql.clusterj.core.query.ComparativePredicateImpl, and com.mysql.clusterj.core.query.NotPredicateImpl.
|
protected |
My domain object.
Definition at line 46 of file PredicateImpl.java.