175176177178179180181182
return this; } public FunctionAssertions addScalarFunctions(Class<?> clazz) { metadataManager.addFunctions(new FunctionListBuilder().scalar(clazz).getFunctions()); return this; }
160161162163164165166167
return this; } public FunctionAssertions addScalarFunctions(Class<?> clazz) { metadataManager.addFunctions(new FunctionListBuilder().scalar(clazz).build()); return this; }
174175176177178179180181
return this; } public FunctionAssertions addScalarFunctions(Class<?> clazz) { metadata.addFunctions(new FunctionListBuilder().scalar(clazz).getFunctions()); return this; }
2627282930313233343536
public class TestCustomFunctions { @BeforeClass public void setupClass() { List<FunctionInfo> functions = new FunctionListBuilder() .scalar(CustomAdd.class) .build(); getMetadataManager().addFunctions(functions); }
176177178179180181182183
177178179180181182183184