Package org.deidentifier.arx
Klasse DataHandleOutput
java.lang.Object
org.deidentifier.arx.DataHandle
org.deidentifier.arx.DataHandleOutput
An implementation of the class DataHandle for output data.
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibunggetAttributeName(int col) Returns the name of the specified column.DataType<?> getDataType(String attribute) Returns the according data type.intgetGeneralization(String attribute) Returns the generalization level for the attribute.intReturns the number of columns in the dataset.intReturns the number of rows in the dataset.Returns an object providing access to basic descriptive statistics about the data represented by this handle.getValue(int row, int col) Returns the value in the specified cell.booleanHas this handle been optimized with local recoding?iterator()Returns an iterator over the data.booleanReplaces the original value with the replacement in the given column.Returns an iterator over the data in a random order.voidwrite(OutputStream out) Internal method: writes some data into the output streamVon Klasse geerbte Methoden org.deidentifier.arx.DataHandle
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, swap
-
Methodendetails
-
getAttributeName
Beschreibung aus Klasse kopiert:DataHandleReturns the name of the specified column.- Angegeben von:
getAttributeNamein KlasseDataHandle- Parameter:
col- The column index- Gibt zurück:
- the attribute name
-
getDataType
Beschreibung aus Klasse kopiert:DataHandleReturns the according data type.- Setzt außer Kraft:
getDataTypein KlasseDataHandle- Parameter:
attribute- the attribute- Gibt zurück:
- the data type
-
getGeneralization
Beschreibung aus Klasse kopiert:DataHandleReturns the generalization level for the attribute.- Angegeben von:
getGeneralizationin KlasseDataHandle- Parameter:
attribute- the attribute- Gibt zurück:
- the generalization
-
getNumColumns
public int getNumColumns()Beschreibung aus Klasse kopiert:DataHandleReturns the number of columns in the dataset.- Angegeben von:
getNumColumnsin KlasseDataHandle- Gibt zurück:
- the num columns
-
getNumRows
public int getNumRows()Beschreibung aus Klasse kopiert:DataHandleReturns the number of rows in the dataset.- Angegeben von:
getNumRowsin KlasseDataHandle- Gibt zurück:
- the num rows
-
getStatistics
Beschreibung aus Klasse kopiert:DataHandleReturns an object providing access to basic descriptive statistics about the data represented by this handle.- Angegeben von:
getStatisticsin KlasseDataHandle- Gibt zurück:
- the statistics
-
getValue
Beschreibung aus Klasse kopiert:DataHandleReturns the value in the specified cell.- Angegeben von:
getValuein KlasseDataHandle- Parameter:
row- The cell's row indexcol- The cell's column index- Gibt zurück:
- the value
-
isOptimized
public boolean isOptimized()Beschreibung aus Klasse kopiert:DataHandleHas this handle been optimized with local recoding?- Setzt außer Kraft:
isOptimizedin KlasseDataHandle- Gibt zurück:
-
iterator
Beschreibung aus Klasse kopiert:DataHandleReturns an iterator over the data.- Angegeben von:
iteratorin KlasseDataHandle- Gibt zurück:
- the iterator
-
replace
Beschreibung aus Klasse kopiert:DataHandleReplaces the original value with the replacement in the given column. Only supported by handles for input data.- Setzt außer Kraft:
replacein KlasseDataHandle- Parameter:
column- the columnoriginal- the originalreplacement- the replacement- Gibt zurück:
- Whether the original value was found
-
shuffledIterator
Beschreibung aus Klasse kopiert:DataHandleReturns an iterator over the data in a random order.- Angegeben von:
shuffledIteratorin KlasseDataHandle- Gibt zurück:
- the iterator
-
write
Internal method: writes some data into the output stream- Parameter:
out-- Löst aus:
IOException
-