protected StdUdfWrapper(StdUDF stdUDF) { super(new Signature(((TopLevelStdUDF) stdUDF).getFunctionName(), FunctionKind.SCALAR, getTypeVariableConstraintsForStdUdf(stdUDF), ImmutableList.of(), parseTypeSignature(stdUDF.getOutputParameterSignature()), stdUDF.getInputParameterSignatures() .stream() .map(TypeSignature::parseTypeSignature) .collect(Collectors.toList()), false)); _functionDescription = ((TopLevelStdUDF) stdUDF).getFunctionDescription(); }
protected StdUdfWrapper(StdUDF stdUDF) { super(new Signature(((TopLevelStdUDF) stdUDF).getFunctionName(), FunctionKind.SCALAR, getTypeVariableConstraintsForStdUdf(stdUDF), ImmutableList.of(), parseTypeSignature(stdUDF.getOutputParameterSignature()), stdUDF.getInputParameterSignatures() .stream() .map(TypeSignature::parseTypeSignature) .collect(Collectors.toList()), false)); _functionDescription = ((TopLevelStdUDF) stdUDF).getFunctionDescription(); }