public class DataHandleOutput extends DataHandle
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAttributeName(int col)
Returns the name of the specified column.
|
DataType<?> |
getDataType(java.lang.String attribute)
Returns the according data type.
|
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.
|
StatisticsBuilder |
getStatistics()
Returns an object providing access to basic descriptive statistics about the data represented
by this handle.
|
java.lang.String |
getValue(int row,
int col)
Returns the value in the specified cell.
|
boolean |
isOptimized()
Has this handle been optimized with local recoding?
|
java.util.Iterator<java.lang.String[]> |
iterator()
Iterator.
|
boolean |
replace(int column,
java.lang.String original,
java.lang.String replacement)
Replaces the original value with the replacement in the given column.
|
void |
write(java.io.OutputStream out)
Internal method: writes some data into the output stream
|
getColumnIndexOf, getDate, getDefinition, getDistinctValues, getDouble, getFloat, getInt, getLong, getMatchingDataTypes, getMatchingDataTypes, getMatchingDataTypes, getMatchingDataTypes, getMatchingDataTypes, getMatchingDataTypes, getMatchingDataTypes, getMatchingDataTypes, getNonConformingValues, getNumConformingValues, getRiskEstimator, getRiskEstimator, getRiskEstimator, getRiskEstimator, getRiskEstimator, getRiskEstimator, getRiskEstimator, getTransformation, getView, isOutlier, isReleased, isSuppressed, release, render, save, save, save, save, save, save, save, save, save, sort, sort, sort, sort, swappublic java.lang.String getAttributeName(int col)
DataHandlegetAttributeName in class DataHandlecol - The column indexpublic DataType<?> getDataType(java.lang.String attribute)
DataHandlegetDataType in class DataHandleattribute - the attributepublic int getGeneralization(java.lang.String attribute)
DataHandlegetGeneralization in class DataHandleattribute - the attributepublic int getNumColumns()
DataHandlegetNumColumns in class DataHandlepublic int getNumRows()
DataHandlegetNumRows in class DataHandlepublic StatisticsBuilder getStatistics()
DataHandlegetStatistics in class DataHandlepublic java.lang.String getValue(int row,
int col)
DataHandlegetValue in class DataHandlerow - The cell's row indexcol - The cell's column indexpublic boolean isOptimized()
DataHandleisOptimized in class DataHandlepublic java.util.Iterator<java.lang.String[]> iterator()
iterator in class DataHandlepublic boolean replace(int column,
java.lang.String original,
java.lang.String replacement)
DataHandlereplace in class DataHandlecolumn - the columnoriginal - the originalreplacement - the replacementpublic void write(java.io.OutputStream out)
throws java.io.IOException
out - java.io.IOException