18 package com.mysql.clusterj.jdbc.antlr.node;
20 import org.antlr.runtime.Token;
22 import com.mysql.clusterj.query.Predicate;
23 import com.mysql.clusterj.query.QueryDomainType;
41 public Predicate getPredicate(QueryDomainType<?> queryDomainType) {
45 Predicate leftPredicate = leftNode.getPredicate(queryDomainType);
46 Predicate rightPredicate = rightNode.getPredicate(queryDomainType);
47 result = leftPredicate.
and(rightPredicate);
48 setNumberOfParameters(leftNode.getNumberOfParameters() + rightNode.getNumberOfParameters());