Klasse DataHandleInternal

java.lang.Object
org.deidentifier.arx.DataHandleInternal

public class DataHandleInternal extends Object
Wrapper class that provides information to StatisticsBuilder.
  • Konstruktordetails

    • DataHandleInternal

      protected DataHandleInternal(DataHandle handle)
      Constructor
      Parameter:
      handle -
      anonymous -
  • Methodendetails

    • getAssociatedInput

      public DataHandleInternal getAssociatedInput()
      Returns the associated input handle, itself if there is none.
      Gibt zurück:
    • getAttributeName

      public String getAttributeName(int column)
      Method
      Parameter:
      column -
      Gibt zurück:
    • getBaseDataType

      public DataType<?> getBaseDataType(String attribute)
      Parameter:
      attribute -
      Gibt zurück:
    • getColumnIndexOf

      public int getColumnIndexOf(String attribute)
      Delegate
      Parameter:
      attribute -
      Gibt zurück:
    • getConfiguration

      public ARXConfiguration getConfiguration()
      Returns the associated configuration, if any. Null otherwise.
      Gibt zurück:
    • getDataType

      public DataType<?> getDataType(String attribute)
      Method
      Parameter:
      attribute -
      Gibt zurück:
    • getDefinition

      public DataDefinition getDefinition()
      Method
      Gibt zurück:
    • getDistinctValues

      public String[] getDistinctValues(int column)
      Delegate
      Parameter:
      column -
      Gibt zurück:
    • getDistinctValues

      public String[] getDistinctValues(int column, boolean ignoreSuppression, DataHandleInternal.InterruptHandler stop)
      Method
      Parameter:
      column -
      ignoreSuppression -
      stop -
      Gibt zurück:
    • getDistinctValues

      public String[] getDistinctValues(int column, DataHandleInternal.InterruptHandler stop)
      Method
      Parameter:
      column -
      stop -
      Gibt zurück:
    • getEncodedValue

      public int getEncodedValue(int row, int col, boolean ignoreSuppression)
      Gets the encoded value. Returns -1 for suppressed values.
    • getGeneralization

      public int getGeneralization(String attribute)
      Method
      Parameter:
      attribute -
      Gibt zurück:
    • getHandle

      public DataHandle getHandle()
      Returns the underlying handle. This should rarely be used.
      Gibt zurück:
    • getNumColumns

      public int getNumColumns()
      Method
      Gibt zurück:
    • getNumRows

      public int getNumRows()
      Method
      Gibt zurück:
    • getStatisticsBuilder

      public StatisticsBuilder getStatisticsBuilder()
    • getSubset

      public DataSubset getSubset()
      Return the subset, if any
      Gibt zurück:
    • getSuperset

      public DataHandleInternal getSuperset()
      Returns the superset, if this handle is a subset
      Gibt zurück:
    • getValue

      public String getValue(int row, int column)
      Method
      Parameter:
      row -
      column -
      Gibt zurück:
    • getValue

      public String getValue(int row, int col, boolean ignoreSuppression)
      Gets the value
    • getValueIdentifier

      public int getValueIdentifier(int column, String value)
      Returns the internal id of the given value
      Parameter:
      column -
      value -
      Gibt zurück:
    • getView

      public DataHandleInternal getView()
      Returns the view
      Gibt zurück:
    • isAnonymous

      public boolean isAnonymous()
      Returns whether the handle is anonymous
      Gibt zurück:
    • isOptimized

      public boolean isOptimized()
      Returns whether the handle is optimized
      Gibt zurück:
    • isOutlier

      public boolean isOutlier(int row)
      Returns whether the given row is suppressed
      Parameter:
      row -
      Gibt zurück:
    • isOutlier

      public boolean isOutlier(int row, int[] columns)
      Returns whether this is an outlier regarding the given columns. If no columns have been specified, true will be returned.
      Parameter:
      row -
      columns -
      Gibt zurück:
    • isOutput

      public boolean isOutput()
      Returns whether this is an output handle
      Gibt zurück: