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.BetweenPredicateImpl Class Reference
Inheritance diagram for com.mysql.clusterj.core.query.BetweenPredicateImpl:
Collaboration diagram for com.mysql.clusterj.core.query.BetweenPredicateImpl:

Public Member Functions

 BetweenPredicateImpl (QueryDomainTypeImpl<?> dobj, PropertyImpl property, ParameterImpl lower, ParameterImpl upper)
void markParameters ()
void unmarkParameters ()
void markBoundsForCandidateIndices (QueryExecutionContext context, CandidateIndexImpl[] candidateIndices)
void operationSetBounds (QueryExecutionContext context, IndexScanOperation op, boolean lastColumn)
void operationSetUpperBound (QueryExecutionContext context, IndexScanOperation op, boolean lastColumn)
void operationSetLowerBound (QueryExecutionContext context, IndexScanOperation op, boolean lastColumn)
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 or (Predicate other)
Predicate and (Predicate other)
Predicate not ()
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)

Protected Attributes

ParameterImpl lower
ParameterImpl upper
PropertyImpl property
- Protected Attributes inherited from com.mysql.clusterj.core.query.PredicateImpl
QueryDomainTypeImpl<?> dobj

Additional Inherited Members

- Protected Member Functions inherited from com.mysql.clusterj.core.query.PredicateImpl
CandidateIndexImpl getBestCandidateIndexFor (QueryExecutionContext context, PredicateImpl...predicates)
int getNumberOfConditionsInPredicate ()

Detailed Description

Implement the between operator with a property and two parameters.

Definition at line 31 of file BetweenPredicateImpl.java.

Member Function Documentation

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

Create a filter for the operation. Set the condition into the new filter.

Parameters
contextthe query execution context with the parameter values
opthe operation

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

Definition at line 116 of file BetweenPredicateImpl.java.

Here is the call graph for this function:

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

Set the condition into the filter.

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

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

Definition at line 135 of file BetweenPredicateImpl.java.

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

Mark all parameters as being required.

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

Definition at line 49 of file BetweenPredicateImpl.java.

void com.mysql.clusterj.core.query.BetweenPredicateImpl.operationSetBounds ( QueryExecutionContext  context,
IndexScanOperation  op,
boolean  lastColumn 
)
inline

Set the upper and lower bounds for the operation. Delegate to the property to actually call the setBounds for each of upper and lower bound.

Parameters
contextthe query context that contains the parameter values
opthe index scan operation on which to set bounds

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

Definition at line 76 of file BetweenPredicateImpl.java.

void com.mysql.clusterj.core.query.BetweenPredicateImpl.operationSetLowerBound ( QueryExecutionContext  context,
IndexScanOperation  op,
boolean  lastColumn 
)
inline

Set the lower bound for the operation. Delegate to the property to actually call the setBounds for the lower bound.

Parameters
contextthe query context that contains the parameter values
opthe index scan operation on which to set bounds

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

Definition at line 104 of file BetweenPredicateImpl.java.

void com.mysql.clusterj.core.query.BetweenPredicateImpl.operationSetUpperBound ( QueryExecutionContext  context,
IndexScanOperation  op,
boolean  lastColumn 
)
inline

Set the upper bound for the operation. Delegate to the property to actually call the setBounds for the upper bound.

Parameters
contextthe query context that contains the parameter values
opthe index scan operation on which to set bounds

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

Definition at line 91 of file BetweenPredicateImpl.java.

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

Unmark all parameters as being required.

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

Definition at line 54 of file BetweenPredicateImpl.java.

Member Data Documentation

ParameterImpl com.mysql.clusterj.core.query.BetweenPredicateImpl.lower
protected

The lower and upper bound parameters

Definition at line 34 of file BetweenPredicateImpl.java.

PropertyImpl com.mysql.clusterj.core.query.BetweenPredicateImpl.property
protected

The property to compare with

Definition at line 37 of file BetweenPredicateImpl.java.


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