UnaryPredicateOperator { private static FunctionResolver not() { return FunctionDSL.define(BuiltinFunctionName.NOT.getName(), FunctionDSL .impl(UnaryPredicateOperator::not, BOOLEAN, BOOLEAN)); }  static void register(BuiltinFunctionRepository repository); ExprValue not(ExprValue v);  }
@Test public void test_not_null() { FunctionExpression expression = dsl.not(DSL.ref(BOOL_TYPE_NULL_VALUE_FIELD, BOOLEAN)); assertEquals(BOOLEAN, expression.type()); assertEquals(LITERAL_NULL, expression.valueOf(valueEnv())); }
@Test public void test_not_missing() { FunctionExpression expression = dsl.not(DSL.ref(BOOL_TYPE_MISSING_VALUE_FIELD, BOOLEAN)); assertEquals(BOOLEAN, expression.type()); assertEquals(LITERAL_MISSING, expression.valueOf(valueEnv())); }