"AnIdentifiedDataSerializable":
 _identified,
 "APortable":
 _portable,
 "ArrayList": [None, _non_null_list],
 "LinkedList": [None, _non_null_list],
 "TruePredicate":
 predicate.true(),
 "FalsePredicate":
 predicate.false(),
 "SqlPredicate":
 predicate.sql(_sql_string),
 "EqualPredicate":
 predicate.equal(_sql_string, REFERENCE_OBJECTS["Integer"]),
 "NotEqualPredicate":
 predicate.not_equal(_sql_string, REFERENCE_OBJECTS["Integer"]),
 "GreaterLessPredicate":
 predicate.greater(_sql_string, REFERENCE_OBJECTS["Integer"]),
 "BetweenPredicate":
 predicate.between(_sql_string, REFERENCE_OBJECTS["Integer"],
                   REFERENCE_OBJECTS["Integer"]),
 "LikePredicate":
 predicate.like(_sql_string, _sql_string),
 "ILikePredicate":
 predicate.ilike(_sql_string, _sql_string),
 "InPredicate":
 predicate.in_(_sql_string, REFERENCE_OBJECTS["Integer"],
               REFERENCE_OBJECTS["Integer"]),
 "RegexPredicate":
 predicate.regex(_sql_string, _sql_string),
 "AndPredicate":
Ejemplo n.º 2
0
    def test_not_equal(self):
        self.fill_map(count=3)
        predicate = not_equal("this", "value-1")

        self.assertCountEqual(self.map.key_set(predicate), ["key-0", "key-2"])
Ejemplo n.º 3
0
 def test_not_equal(self):
     predicate = not_equal("this", "value-1")
     self.assertEqual(str(predicate),
                      "NotEqualPredicate(attribute='this', value=value-1)")