@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())); }
private static FunctionResolver not() { return FunctionDSL.define(BuiltinFunctionName.NOT.getName(), FunctionDSL .impl(UnaryPredicateOperator::not, BOOLEAN, BOOLEAN)); }
UnaryPredicateOperator { private static FunctionResolver not() { return FunctionDSL.define(BuiltinFunctionName.NOT.getName(), FunctionDSL .impl(UnaryPredicateOperator::not, BOOLEAN, BOOLEAN)); } }
UnaryPredicateOperator { private static FunctionResolver not() { return FunctionDSL.define(BuiltinFunctionName.NOT.getName(), FunctionDSL .impl(UnaryPredicateOperator::not, BOOLEAN, BOOLEAN)); }  }
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); }
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);  }