18 package com.mysql.clusterj.core.query;
20 import com.mysql.clusterj.core.spi.QueryExecutionContext;
21 import com.mysql.clusterj.core.store.Operation;
22 import com.mysql.clusterj.core.store.ScanFilter;
23 import com.mysql.clusterj.core.store.ScanOperation;
24 import com.mysql.clusterj.ClusterJException;
25 import com.mysql.clusterj.ClusterJFatalInternalException;
26 import com.mysql.clusterj.query.Predicate;
27 import java.util.ArrayList;
28 import java.util.List;
32 List<PredicateImpl> predicates =
new ArrayList<PredicateImpl>();
38 predicates.add(right);
47 predicates.addAll(((AndPredicateImpl)predicate).predicates);
59 throw new UnsupportedOperationException(
60 local.
message(
"ERR_NotImplemented"));
65 throw new UnsupportedOperationException(
66 local.
message(
"ERR_NotImplemented"));
70 throw new UnsupportedOperationException(
71 local.
message(
"ERR_NotImplemented"));
77 predicateImpl.markParameters();
84 predicateImpl.unmarkParameters();
100 predicate.filterCmpValue(context, op, filter);
103 }
catch (Exception ex) {
105 local.
message(
"ERR_Get_NdbFilter"), ex);
117 local.
message(
"ERR_Implementation_Should_Not_Occur"));
119 predicate.operationEqual(context, op);
145 return predicates.size();