private static class Resolver implements DynamicFunctionResolver {
@Override
public FunctionImplementation<Function> getForTypes(List<DataType> dataTypes) throws IllegalArgumentException {
ToDoubleArrayFunction.checkPreconditions(dataTypes);
return new ToDoubleArrayFunction(new FunctionInfo(new FunctionIdent(NAME, dataTypes), DOUBLE_ARRAY_TYPE));
}