Klasse DataHandleInput

java.lang.Object
org.deidentifier.arx.DataHandle
org.deidentifier.arx.DataHandleInput

public class DataHandleInput extends DataHandle
An implementation of the DataHandle interface for input data.
  • Methodendetails

    • getAttributeName

      public String getAttributeName(int column)
      Beschreibung aus Klasse kopiert: DataHandle
      Returns the name of the specified column.
      Angegeben von:
      getAttributeName in Klasse DataHandle
      Parameter:
      column - The column index
      Gibt zurück:
      the attribute name
    • getGeneralization

      public int getGeneralization(String attribute)
      Beschreibung aus Klasse kopiert: DataHandle
      Returns the generalization level for the attribute.
      Angegeben von:
      getGeneralization in Klasse DataHandle
      Parameter:
      attribute - the attribute
      Gibt zurück:
      the generalization
    • getNumColumns

      public int getNumColumns()
      Beschreibung aus Klasse kopiert: DataHandle
      Returns the number of columns in the dataset.
      Angegeben von:
      getNumColumns in Klasse DataHandle
      Gibt zurück:
      the num columns
    • getNumRows

      public int getNumRows()
      Beschreibung aus Klasse kopiert: DataHandle
      Returns the number of rows in the dataset.
      Angegeben von:
      getNumRows in Klasse DataHandle
      Gibt zurück:
      the num rows
    • getStatistics

      public StatisticsBuilder getStatistics()
      Beschreibung aus Klasse kopiert: DataHandle
      Returns an object providing access to basic descriptive statistics about the data represented by this handle.
      Angegeben von:
      getStatistics in Klasse DataHandle
      Gibt zurück:
      the statistics
    • getValue

      public String getValue(int row, int column)
      Beschreibung aus Klasse kopiert: DataHandle
      Returns the value in the specified cell.
      Angegeben von:
      getValue in Klasse DataHandle
      Parameter:
      row - The cell's row index
      column - The cell's column index
      Gibt zurück:
      the value
    • iterator

      public Iterator<String[]> iterator()
      Beschreibung aus Klasse kopiert: DataHandle
      Returns an iterator over the data.
      Angegeben von:
      iterator in Klasse DataHandle
      Gibt zurück:
      the iterator
    • shuffledIterator

      public Iterator<String[]> shuffledIterator()
      Beschreibung aus Klasse kopiert: DataHandle
      Returns an iterator over the data in a random order.
      Angegeben von:
      shuffledIterator in Klasse DataHandle
      Gibt zurück:
      the iterator