/** * Gets the names of each of the columns produced for a single run. A new * result field is added for the number of results used to produce each * average. If only averages are being produced the names are not altered, if * standard deviations are produced then "Dev_" and "Avg_" are prepended to * each result deviation and average field respectively. * * @return an array containing the name of each column * @throws Exception if something goes wrong. */ @Override public String[] getResultNames() throws Exception { return m_ResultProducer.getResultNames(); }
/** * Gets the names of each of the columns produced for a single run. A new * result field is added for the number of results used to produce each * average. If only averages are being produced the names are not altered, if * standard deviations are produced then "Dev_" and "Avg_" are prepended to * each result deviation and average field respectively. * * @return an array containing the name of each column * @throws Exception if something goes wrong. */ @Override public String[] getResultNames() throws Exception { return m_ResultProducer.getResultNames(); }
/** * Gets the names of each of the columns produced for a single run. A new * result field is added for the number of results used to produce each * average. If only averages are being produced the names are not altered, if * standard deviations are produced then "Dev_" and "Avg_" are prepended to * each result deviation and average field respectively. * * @return an array containing the name of each column * @throws Exception if the result names could not be determined (perhaps * because of a problem from a nested sub-resultproducer) */ @Override public String[] getResultNames() throws Exception { return m_ResultProducer.getResultNames(); }
/** * Gets the names of each of the columns produced for a single run. A new * result field is added for the number of results used to produce each * average. If only averages are being produced the names are not altered, if * standard deviations are produced then "Dev_" and "Avg_" are prepended to * each result deviation and average field respectively. * * @return an array containing the name of each column * @throws Exception if the result names could not be determined (perhaps * because of a problem from a nested sub-resultproducer) */ @Override public String[] getResultNames() throws Exception { return m_ResultProducer.getResultNames(); }
/** * Prints the names of each field out as the first row of the CSV output. * * @param rp the ResultProducer generating our results. * @throws Exception if the field names could not be determined. */ private void printResultNames(ResultProducer rp) throws Exception { String[] key = rp.getKeyNames(); for (int i = 0; i < key.length; i++) { if (i != 0) { m_Out.print(','); } if (key[i] == null) { m_Out.print("?"); } else { m_Out.print("Key_" + key[i].toString()); } } String[] result = rp.getResultNames(); for (String element : result) { m_Out.print(','); if (element == null) { m_Out.print("?"); } else { m_Out.print(element.toString()); } } m_Out.println(""); }
/** * Prints the names of each field out as the first row of the CSV output. * * @param rp the ResultProducer generating our results. * @throws Exception if the field names could not be determined. */ private void printResultNames(ResultProducer rp) throws Exception { String[] key = rp.getKeyNames(); for (int i = 0; i < key.length; i++) { if (i != 0) { m_Out.print(','); } if (key[i] == null) { m_Out.print("?"); } else { m_Out.print("Key_" + key[i].toString()); } } String[] result = rp.getResultNames(); for (String element : result) { m_Out.print(','); if (element == null) { m_Out.print("?"); } else { m_Out.print(element.toString()); } } m_Out.println(""); }
public String[] getResultNames() throws Exception { String[] resultNames = m_ResultProducer.getResultNames();
public String[] getResultNames() throws Exception { String[] resultNames = m_ResultProducer.getResultNames();
String[] resultNames = rp.getResultNames(); for (int i = 0; i < resultNames.length; i++) { if (i != 0) {
String[] resultNames = rp.getResultNames(); for (int i = 0; i < resultNames.length; i++) { if (i != 0) {
String[] resultNames = m_RP.getResultNames(); ArrayList<Attribute> attribInfo = new ArrayList<Attribute>(); for (int i = 0; i < m_AttributeTypes.length; i++) {
String[] resultNames = m_RP.getResultNames(); ArrayList<Attribute> attribInfo = new ArrayList<Attribute>(); for (int i = 0; i < m_AttributeTypes.length; i++) {
names = rp.getResultNames(); types = rp.getResultTypes(); if (names.length != types.length) {
names = rp.getResultNames(); types = rp.getResultTypes(); if (names.length != types.length) {