Klasse AbstractTransformer

java.lang.Object
org.deidentifier.arx.framework.check.transformer.AbstractTransformer
Alle implementierten Schnittstellen:
Callable<HashGroupify>
Bekannte direkte Unterklassen:
Transformer01, Transformer02, Transformer03, Transformer04, Transformer05, Transformer06, Transformer07, Transformer08, Transformer09, Transformer10, Transformer11, Transformer12, Transformer13, Transformer14, Transformer15, TransformerAll

public abstract class AbstractTransformer extends Object implements Callable<HashGroupify>
This class implements an abstract base class for all transformers.
  • Felddetails

    • buffer

      protected DataMatrix buffer
      The buffer.
    • config

      The mode of operation *.
    • data

      protected final DataMatrix data
      The data.
    • delegate

      protected final AbstractTransformer.IGroupify delegate
      The delegate.
    • dictionarySensFreq

      protected final IntArrayDictionary dictionarySensFreq
      The dictionary for the snapshot compression *.
    • dictionarySensValue

      protected final IntArrayDictionary dictionarySensValue
      The dictionary for the snapshot compression *.
    • dimensions

      protected final int dimensions
      The dimensions.
    • element

      protected HashGroupifyEntry element
      The element.
    • hierarchies

      protected final GeneralizationHierarchy[] hierarchies
      The hierarchies.
    • hierarchy0

      protected int[][] hierarchy0
      The hierarchies
    • hierarchy1

      protected int[][] hierarchy1
      The hierarchies
    • hierarchy2

      protected int[][] hierarchy2
      The hierarchies
    • hierarchy3

      protected int[][] hierarchy3
      The hierarchies
    • hierarchy4

      protected int[][] hierarchy4
      The hierarchies
    • hierarchy5

      protected int[][] hierarchy5
      The hierarchies
    • hierarchy6

      protected int[][] hierarchy6
      The hierarchies
    • hierarchy7

      protected int[][] hierarchy7
      The hierarchies
    • hierarchy8

      protected int[][] hierarchy8
      The hierarchies
    • hierarchy9

      protected int[][] hierarchy9
      The hierarchies
    • hierarchy10

      protected int[][] hierarchy10
      The hierarchies
    • hierarchy11

      protected int[][] hierarchy11
      The hierarchies
    • hierarchy12

      protected int[][] hierarchy12
      The hierarchies
    • hierarchy13

      protected int[][] hierarchy13
      The hierarchies
    • hierarchy14

      protected int[][] hierarchy14
      The hierarchies
    • column0

      protected int column0
      The columns.
    • column1

      protected int column1
      The columns.
    • column2

      protected int column2
      The columns.
    • column3

      protected int column3
      The columns.
    • column4

      protected int column4
      The columns.
    • column5

      protected int column5
      The columns.
    • column6

      protected int column6
      The columns.
    • column7

      protected int column7
      The columns.
    • column8

      protected int column8
      The columns.
    • column9

      protected int column9
      The columns.
    • column10

      protected int column10
      The columns.
    • column11

      protected int column11
      The columns.
    • column12

      protected int column12
      The columns.
    • column13

      protected int column13
      The columns.
    • column14

      protected int column14
      The columns.
    • level0

      protected int level0
      The levels.
    • level1

      protected int level1
      The levels.
    • level10

      protected int level10
      The levels.
    • level11

      protected int level11
      The levels.
    • level12

      protected int level12
      The levels.
    • level13

      protected int level13
      The levels.
    • level14

      protected int level14
      The levels.
    • level2

      protected int level2
      The levels.
    • level3

      protected int level3
      The levels.
    • level4

      protected int level4
      The levels.
    • level5

      protected int level5
      The levels.
    • level6

      protected int level6
      The levels.
    • level7

      protected int level7
      The levels.
    • level8

      protected int level8
      The levels.
    • level9

      protected int level9
      The levels.
    • dataAnalyzed

      protected final DataMatrix dataAnalyzed
      The sensitive values.
    • dataAnalyzedNumberOfColumns

      protected final int dataAnalyzedNumberOfColumns
      Analyzed number of columns.
    • snapshot

      protected int[] snapshot
      The snapshot.
    • ssStepWidth

      protected final int ssStepWidth
      The size of one snapshopt entry *.
    • startIndex

      protected int startIndex
      The start index.
    • stopIndex

      protected int stopIndex
      The stop index.
    • generalization

      protected int[] generalization
      The states.
    • transition

      The transition.
    • mappedLevels

      protected final int[] mappedLevels
      The state index array.
    • mappedColumns

      protected final int[] mappedColumns
      The column index array.
    • mappedHierarchies

      protected final int[][][] mappedHierarchies
      The column map array.
  • Konstruktordetails

  • Methodendetails

    • call

      public HashGroupify call()
      Angegeben von:
      call in Schnittstelle Callable<HashGroupify>
    • init

      public void init(long projection, int[] state, HashGroupify groupify, HashGroupify source, int[] snapshot, TransformationCheckerStateMachine.TransitionType transition, int startIndex, int stopIndex, HashGroupifyEntry element, DataMatrix buffer)
      Prepares the next transformation
      Parameter:
      projection - the projection
      state - the state
      groupify - the groupify
      source - the source
      snapshot - the snapshot
      transition - the transition
      startIndex - the start index
      stopIndex - the stop index
      element - the element
      buffer - the buffer
    • processAll

      protected abstract void processAll()
      Process complete input dataset.
    • processGroupify

      protected abstract void processGroupify()
      Process groupify.
    • processSnapshot

      protected abstract void processSnapshot()
      Process snapshot.