com.ibm.ia.scoring

Interface ScoringInputRow

  • All Superinterfaces:
    ScoringRow


    public interface ScoringInputRow
    extends ScoringRow
    Represents a row in a scoring input table.
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      java.util.Set<java.lang.String> getColumnNames()
      Returns the names of the columns in the row.
      java.lang.String removeColumnValue(java.lang.String columnName)
      Removes a column and value from the row.
      void setColumnValue(java.lang.String columnName, java.lang.String columnValue)
      Sets the value of a column in the row.
    • Method Detail

      • getColumnNames

        java.util.Set<java.lang.String> getColumnNames()
        Returns the names of the columns in the row.
        Returns:
        a set of column names.
      • setColumnValue

        void setColumnValue(java.lang.String columnName,
                          java.lang.String columnValue)
        Sets the value of a column in the row. If the column value is already set, it is replaced.
        Parameters:
        columnName - the name of the column.
        columnValue - the value of the column.
      • removeColumnValue

        java.lang.String removeColumnValue(java.lang.String columnName)
                                           throws java.lang.IllegalArgumentException
        Removes a column and value from the row.
        Throws:
        java.lang.IllegalArgumentException - if the column does not exist.
        Parameters:
        columnName - the name of the column.
        Returns:
        the value of the removed column.

© Copyright IBM 2017