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

Public Member Functions

 ParameterImpl (QueryDomainTypeImpl<?> dobj, String parameterName)
void mark ()
String getName ()
Object getParameterValue (QueryExecutionContext context)
Predicate equal (PredicateOperand predicateOperand)
Predicate between (PredicateOperand lower, PredicateOperand upper)
Predicate greaterThan (PredicateOperand other)
Predicate greaterEqual (PredicateOperand other)
Predicate lessThan (PredicateOperand other)
Predicate lessEqual (PredicateOperand other)
Predicate in (PredicateOperand other)
Predicate like (PredicateOperand other)
void setProperty (PropertyImpl property)

Protected Attributes

QueryDomainTypeImpl<?> dobj
PropertyImpl property
String parameterName
boolean bound = false
boolean marked = false

Detailed Description

This represents a named parameter that is bound at execution time to a value.

Definition at line 33 of file ParameterImpl.java.

Member Function Documentation

Predicate com.mysql.clusterj.core.query.ParameterImpl.between ( PredicateOperand  lower,
PredicateOperand  upper 
)
inline

Return a Predicate representing comparing this to another using "between" semantics.

Parameters
loweranother PredicateOperand
upperanother PredicateOperand
Returns
a new Predicate

Implements com.mysql.clusterj.query.PredicateOperand.

Definition at line 86 of file ParameterImpl.java.

Here is the call graph for this function:

Predicate com.mysql.clusterj.core.query.ParameterImpl.equal ( PredicateOperand  other)
inline

Return a Predicate representing comparing this to another using "equal to" semantics.

Parameters
otherthe other PredicateOperand
Returns
a new Predicate

Implements com.mysql.clusterj.query.PredicateOperand.

Definition at line 81 of file ParameterImpl.java.

Here is the call graph for this function:

Predicate com.mysql.clusterj.core.query.ParameterImpl.greaterEqual ( PredicateOperand  other)
inline

Return a Predicate representing comparing this to another using "greater than or equal to" semantics.

Parameters
otherthe other PredicateOperand
Returns
a new Predicate

Implements com.mysql.clusterj.query.PredicateOperand.

Definition at line 96 of file ParameterImpl.java.

Here is the call graph for this function:

Predicate com.mysql.clusterj.core.query.ParameterImpl.greaterThan ( PredicateOperand  other)
inline

Return a Predicate representing comparing this to another using "greater than" semantics.

Parameters
otherthe other PredicateOperand
Returns
a new Predicate

Implements com.mysql.clusterj.query.PredicateOperand.

Definition at line 91 of file ParameterImpl.java.

Here is the call graph for this function:

Predicate com.mysql.clusterj.core.query.ParameterImpl.in ( PredicateOperand  other)
inline

Return a Predicate representing comparing this to a collection of values using "in" semantics.

Parameters
otheranother PredicateOperand
Returns
a new Predicate

Implements com.mysql.clusterj.query.PredicateOperand.

Definition at line 111 of file ParameterImpl.java.

Here is the call graph for this function:

Predicate com.mysql.clusterj.core.query.ParameterImpl.lessEqual ( PredicateOperand  other)
inline

Return a Predicate representing comparing this to another using "less than or equal to" semantics.

Parameters
otherthe other PredicateOperand
Returns
a new Predicate

Implements com.mysql.clusterj.query.PredicateOperand.

Definition at line 106 of file ParameterImpl.java.

Here is the call graph for this function:

Predicate com.mysql.clusterj.core.query.ParameterImpl.lessThan ( PredicateOperand  other)
inline

Return a Predicate representing comparing this to another using "less than" semantics.

Parameters
otherthe other PredicateOperand
Returns
a new Predicate

Implements com.mysql.clusterj.query.PredicateOperand.

Definition at line 101 of file ParameterImpl.java.

Here is the call graph for this function:

Predicate com.mysql.clusterj.core.query.ParameterImpl.like ( PredicateOperand  other)
inline

Return a Predicate representing comparing this to another using "like" semantics.

Parameters
otheranother PredicateOperand
Returns
a new Predicate

Implements com.mysql.clusterj.query.PredicateOperand.

Definition at line 116 of file ParameterImpl.java.

Here is the call graph for this function:

Member Data Documentation

boolean com.mysql.clusterj.core.query.ParameterImpl.bound = false
protected

Is a value bound to this parameter?

Definition at line 51 of file ParameterImpl.java.

QueryDomainTypeImpl<?> com.mysql.clusterj.core.query.ParameterImpl.dobj
protected

My domain object.

Definition at line 42 of file ParameterImpl.java.

boolean com.mysql.clusterj.core.query.ParameterImpl.marked = false
protected

Is this parameter marked (used in the query)?

Definition at line 54 of file ParameterImpl.java.

String com.mysql.clusterj.core.query.ParameterImpl.parameterName
protected

My parameter name

Definition at line 48 of file ParameterImpl.java.

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

My property (set when bound)

Definition at line 45 of file ParameterImpl.java.


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