List list =
getPreparingStmt().getSqlOperatorTable().lookupOperatorOverloads(
udxId,
SqlFunctionCategory.UserDefinedSpecificFunction,
SqlSyntax.Function);
FarragoUserDefinedRoutine udx = null;
if (list.size() == 1) {
Object obj = list.iterator().next();
if (obj instanceof FarragoUserDefinedRoutine) {
udx = (FarragoUserDefinedRoutine) obj;
if (!FarragoCatalogUtil.isTableFunction(udx.getFemRoutine())) {
// Not a UDX.
udx = null;
}
}
}