Class ColumnSumNode

java.lang.Object
ca.phon.opgraph.OpNode
ca.phon.app.opgraph.nodes.table.TableOpNode
ca.phon.app.opgraph.nodes.table.ColumnSumNode
All Implemented Interfaces:
ca.phon.opgraph.app.extensions.NodeSettings, ca.phon.opgraph.dag.Vertex, ca.phon.opgraph.extensions.Extendable

public class ColumnSumNode extends TableOpNode implements ca.phon.opgraph.app.extensions.NodeSettings
  • Constructor Details

    • ColumnSumNode

      public ColumnSumNode()
  • Method Details

    • operate

      public void operate(ca.phon.opgraph.OpContext context) throws ca.phon.opgraph.exceptions.ProcessingException
      Specified by:
      operate in class ca.phon.opgraph.OpNode
      Throws:
      ca.phon.opgraph.exceptions.ProcessingException
    • sumColumns

      public Map<String,Double> sumColumns(DefaultTableDataSource table, List<String> columns)
    • getColumns

      public List<String> getColumns()
    • setColumns

      public void setColumns(String columnTxt)
    • setColumns

      public void setColumns(List<String> columns)
    • getComponent

      public Component getComponent(ca.phon.opgraph.app.GraphDocument document)
      Specified by:
      getComponent in interface ca.phon.opgraph.app.extensions.NodeSettings
    • getSettings

      public Properties getSettings()
      Specified by:
      getSettings in interface ca.phon.opgraph.app.extensions.NodeSettings
    • loadSettings

      public void loadSettings(Properties properties)
      Specified by:
      loadSettings in interface ca.phon.opgraph.app.extensions.NodeSettings