//select tab.col from Table tab join TableValuedFunction('parameter') func on tab.col not like func.col
QSurvey table = new QSurvey("SURVEY");
RelationalFunctionCall<String> func = RelationalFunctionCall.create(String.class, "TableValuedFunction", "parameter");
PathBuilder<String> funcAlias = new PathBuilder<String>(String.class, "tokFunc");
SQLSubQuery sq = new SQLSubQuery();
SubQueryExpression<?> expr = sq.from(table)
.join(func, funcAlias).on(table.name.like(funcAlias.getString("prop")).not()).list(table.name);
Configuration conf = new Configuration(new SQLServerTemplates());
SQLSerializer serializer = new NativeSQLSerializer(conf, true);
serializer.serialize(expr.getMetadata(), false);