/** * Mark the specified columns as keys. * * @param columns the columns * @return the current factory */ public final MF addKeys(String... columns) { for (String col : columns) { addColumnDefinition(col, identity.addKey()); } return (MF) this; }
/** * Associate an alias on the column key to rename to value. * * @param key the column to rename * @param value then name to rename to * @return the current factory */ public final MF addAlias(String key, String value) { return addColumnDefinition(key, identity.addRename(value)); }