com.ibm.ia.scoring
Interface ScoringInput
-
public interface ScoringInput
Represents the input to a scoring operation.
-
-
Method Summary
Methods Modifier and Type Method and Description ScoringInputTable
addTable(java.lang.String tableName)
Adds a table to the scoring input.java.lang.String
getConfigurationId()
Returns the scoring configuration ID.java.util.List<ScoringInputTable>
getTables()
Returns the tables contained in the scoring input.void
removeTable(ScoringInputTable table)
Removes a table from the scoring input.
-
-
-
Method Detail
-
getConfigurationId
java.lang.String getConfigurationId()
Returns the scoring configuration ID.- Returns:
- the scoring configuration ID.
-
addTable
ScoringInputTable addTable(java.lang.String tableName)
Adds a table to the scoring input. The table name does not need to be unique.- Parameters:
tableName
- the name of the table.- Returns:
- the new scoring input table.
-
removeTable
void removeTable(ScoringInputTable table) throws java.lang.IllegalArgumentException
Removes a table from the scoring input.- Throws:
java.lang.IllegalArgumentException
- if the table does not exist.- Parameters:
table
- the table to be removed.
-
getTables
java.util.List<ScoringInputTable> getTables()
Returns the tables contained in the scoring input.- Returns:
- a list of tables.
-
-