18 package com.mysql.clusterj.core.query;
20 import java.util.ArrayList;
21 import java.util.Collection;
22 import java.util.List;
24 import com.mysql.clusterj.ClusterJException;
25 import com.mysql.clusterj.core.spi.QueryExecutionContext;
26 import com.mysql.clusterj.core.store.ScanFilter;
27 import com.mysql.clusterj.core.store.ScanOperation;
28 import com.mysql.clusterj.core.store.ScanFilter.Group;
29 import com.mysql.clusterj.query.Predicate;
34 List<PredicateImpl> predicates =
new ArrayList<PredicateImpl>();
46 predicates.add(right);
58 predicates.addAll(((OrPredicateImpl)predicate).predicates);
64 throw new UnsupportedOperationException(
65 local.
message(
"ERR_NotImplemented"));
93 filter.begin(
Group.GROUP_OR);
95 predicate.filterCmpValue(context, op, filter);
100 }
catch (Exception ex) {
102 local.
message(
"ERR_Get_NdbFilter"), ex);
115 filter.begin(
Group.GROUP_OR);
117 predicate.filterCmpValue(context, op, filter);
122 }
catch (Exception ex) {
124 local.
message(
"ERR_Get_NdbFilter"), ex);