public class DataHandleInput extends DataHandle
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAttributeName(int column)
Returns the name of the specified column.
|
int |
getGeneralization(java.lang.String attribute)
Returns the generalization level for the attribute.
|
int |
getNumColumns()
Returns the number of columns in the dataset.
|
int |
getNumRows()
Returns the number of rows in the dataset.
|
java.lang.String |
getValue(int row,
int column)
Returns the value in the specified cell.
|
boolean |
isOutlier(int row)
Determines whether a given row is an outlier in the currently associated
data transformation.
|
java.util.Iterator<java.lang.String[]> |
iterator()
Returns an iterator over the data.
|
getColumnIndexOf, getDataType, getDate, getDefinition, getDistinctValues, getDouble, getFloat, getInt, getLong, getMatchingDataTypes, getMatchingDataTypes, getMatchingDataTypes, getMatchingDataTypes, getMatchingDataTypes, getMatchingDataTypes, getMatchingDataTypes, getMatchingDataTypes, getNonConformingValues, getNumConformingValues, getRiskEstimator, getRiskEstimator, getRiskEstimator, getRiskEstimator, getRiskEstimator, getRiskEstimator, getStatistics, getTransformation, getView, isOrphaned, release, replace, save, save, save, save, save, save, save, save, save, sort, sort, sort, sort, swap
public java.lang.String getAttributeName(int column)
DataHandle
getAttributeName
in class DataHandle
column
- The column indexpublic int getGeneralization(java.lang.String attribute)
DataHandle
getGeneralization
in class DataHandle
attribute
- the attributepublic int getNumColumns()
DataHandle
getNumColumns
in class DataHandle
public int getNumRows()
DataHandle
getNumRows
in class DataHandle
public java.lang.String getValue(int row, int column)
DataHandle
getValue
in class DataHandle
row
- The cell's row indexcolumn
- The cell's column indexpublic boolean isOutlier(int row)
DataHandle
isOutlier
in class DataHandle
row
- the rowpublic java.util.Iterator<java.lang.String[]> iterator()
DataHandle
iterator
in class DataHandle