/** * returns the table function signature for this format plugin config class * @param tableName the table for which we want a table function signature * @return the signature */ TableSignature getTableSignature(String tableName) { return new TableSignature(tableName, params()); }
/** * @return a readable String of the parameters and their names */ String presentParams() { StringBuilder sb = new StringBuilder("("); List<TableParamDef> params = params(); for (int i = 0; i < params.size(); i++) { TableParamDef paramDef = params.get(i); if (i != 0) { sb.append(", "); } sb.append(paramDef.getName()).append(": ").append(paramDef.getType().getSimpleName()); } sb.append(")"); return sb.toString(); }