public String getCandidateTableName() { StringBuilder buf = new StringBuilder("agg "); for (Attribute attribute : getAttributes()) { buf.append(attribute.getCandidateColumnName().charAt(0)); } for (Attribute attribute : getMeasures()) { buf.append(attribute.getCandidateColumnName().charAt(0)); } return buf.toString(); }
public String getDescription() { StringBuilder buf = new StringBuilder("{"); int i = 0; for (Attribute attribute : getAttributes()) { if (i++ > 0) { buf.append(", "); } buf.append(attribute.getLabel()); } buf.append("}"); return buf.toString(); }