[+/-]
QueryDefinition allows users to define queries.
public interface com.mysql.clusterj.query.QueryDefinition<E> {
// Public Methodspublic com.mysql.clusterj.query.Predicate not(com.mysql.clusterj.query.Predicate predicate);
public com.mysql.clusterj.query.PredicateOperand param(java.lang.String parameterName);
public com.mysql.clusterj.query.QueryDefinition<E> where(com.mysql.clusterj.query.Predicate predicate);
}
public com.mysql.clusterj.query.Predicate not(com.mysql.clusterj.query.Predicate predicate);
Convenience method to negate a predicate.
Parameters | |
predicate |
the predicate to negate |
return |
the inverted predicate |
public com.mysql.clusterj.query.PredicateOperand param(java.lang.String parameterName);
Specify a parameter for the query.
Parameters | |
parameterName |
the name of the parameter |
return |
the PredicateOperand representing the parameter |