19 package testsuite.clusterj;
21 import com.mysql.clusterj.query.Predicate;
23 import testsuite.clusterj.model.AllPrimitives;
37 void createInstances(
int number) {
38 createAllPrimitivesInstances(10);
83 equalAnd1ExtraQuery(
"int_not_null_btree", 8,
"int_null_none", extraEqualPredicateProvider, 8,
"idx_int_not_null_btree", 8);
84 equalAnd1ExtraQuery(
"int_not_null_btree", 8,
"int_null_none", extraEqualPredicateProvider, 9,
"idx_int_not_null_btree");
86 equalAnd1ExtraQuery(
"int_not_null_hash", 8,
"int_null_none", extraEqualPredicateProvider, 8,
"none", 8);
87 equalAnd1ExtraQuery(
"int_not_null_hash", 8,
"int_null_none", extraEqualPredicateProvider, 9,
"none");
89 equalAnd1ExtraQuery(
"int_not_null_both", 8,
"int_null_none", extraEqualPredicateProvider, 8,
"idx_int_not_null_both", 8);
90 equalAnd1ExtraQuery(
"int_not_null_both", 8,
"int_null_none", extraEqualPredicateProvider, 9,
"idx_int_not_null_both");
92 equalAnd1ExtraQuery(
"int_not_null_none", 8,
"int_null_none", extraEqualPredicateProvider, 8,
"none", 8);
93 equalAnd1ExtraQuery(
"int_not_null_none", 8,
"int_null_none", extraEqualPredicateProvider, 9,
"none");
98 public void testExtraBetween() {
99 equalAnd2ExtraQuery(
"int_not_null_btree", 8,
"int_null_none", extraBetweenPredicateProvider, 8, 9,
"idx_int_not_null_btree", 8);
100 equalAnd2ExtraQuery(
"int_not_null_btree", 8,
"int_null_none", extraBetweenPredicateProvider, 6, 7,
"idx_int_not_null_btree");
102 equalAnd2ExtraQuery(
"int_not_null_hash", 8,
"int_not_null_btree", extraBetweenPredicateProvider, 8, 9,
"idx_int_not_null_btree", 8);
103 equalAnd2ExtraQuery(
"int_not_null_hash", 8,
"int_not_null_btree", extraBetweenPredicateProvider, 6, 7,
"idx_int_not_null_btree");
105 equalAnd2ExtraQuery(
"int_not_null_both", 8,
"int_null_none", extraBetweenPredicateProvider, 8, 9,
"idx_int_not_null_both", 8);
106 equalAnd2ExtraQuery(
"int_not_null_both", 8,
"int_null_none", extraBetweenPredicateProvider, 6, 7,
"idx_int_not_null_both");
108 equalAnd2ExtraQuery(
"int_not_null_none", 8,
"int_not_null_btree", extraBetweenPredicateProvider, 8, 9,
"idx_int_not_null_btree", 8);
109 equalAnd2ExtraQuery(
"int_not_null_none", 8,
"int_not_null_btree", extraBetweenPredicateProvider, 6, 7,
"idx_int_not_null_btree");