public abstract class AbstractTransformer extends java.lang.Object implements java.util.concurrent.Callable<HashGroupify>
Modifier and Type | Class and Description |
---|---|
protected class |
AbstractTransformer.GroupifyCounter
Implementation of the delegate for Requirements.COUNTER
|
protected class |
AbstractTransformer.GroupifyCounterDistribution
Implementation of the delegate for Requirements.COUNTER | Requirements.DISTRIBUTION
|
protected class |
AbstractTransformer.GroupifyCounterSecondaryCounter
Implementation of the delegate for Requirements.COUNTER | Requirements.SECONDARY_COUNTER
|
protected class |
AbstractTransformer.GroupifyCounterSecondaryCounterDistribution
Implementation of the delegate for Requirements.COUNTER | Requirements.SECONDARY_COUNTER | Requirements.DISTRIBUTION
|
protected class |
AbstractTransformer.GroupifyDistribution
Implementation of the delegate for Requirements.DISTRIBUTION
|
protected static interface |
AbstractTransformer.IGroupify
Interface for delegates to the groupify .
|
Modifier and Type | Field and Description |
---|---|
protected int |
bucket
The bucket.
|
protected int[][] |
buffer
The buffer.
|
protected int[] |
columnIndexArray
The column index array.
|
protected int[][][] |
columnMapArray
The column map array.
|
protected ARXConfiguration.ARXConfigurationInternal |
config
The mode of operation *.
|
protected int[][] |
data
The data.
|
protected AbstractTransformer.IGroupify |
delegate
The delegate.
|
protected IntArrayDictionary |
dictionarySensFreq
The dictionary for the snapshot compression *.
|
protected IntArrayDictionary |
dictionarySensValue
The dictionary for the snapshot compression *.
|
protected int |
dimensions
The dimensions.
|
protected HashGroupifyEntry |
element
The element.
|
protected int[] |
generalization
The states.
|
protected int |
generalizationindex0
The stateindices.
|
protected int |
generalizationindex1
The stateindices.
|
protected int |
generalizationindex10
The stateindices.
|
protected int |
generalizationindex11
The stateindices.
|
protected int |
generalizationindex12
The stateindices.
|
protected int |
generalizationindex13
The stateindices.
|
protected int |
generalizationindex14
The stateindices.
|
protected int |
generalizationindex2
The stateindices.
|
protected int |
generalizationindex3
The stateindices.
|
protected int |
generalizationindex4
The stateindices.
|
protected int |
generalizationindex5
The stateindices.
|
protected int |
generalizationindex6
The stateindices.
|
protected int |
generalizationindex7
The stateindices.
|
protected int |
generalizationindex8
The stateindices.
|
protected int |
generalizationindex9
The stateindices.
|
protected int[] |
generalizationIndexArray
The state index array.
|
protected HashGroupifyEntry[] |
groupifyArray
The groupify array.
|
protected GeneralizationHierarchy[] |
hierarchies
The hierarchies.
|
protected int[][] |
idindex0
The idindex14.
|
protected int[][] |
idindex1
The idindex14.
|
protected int[][] |
idindex10
The idindex14.
|
protected int[][] |
idindex11
The idindex14.
|
protected int[][] |
idindex12
The idindex14.
|
protected int[][] |
idindex13
The idindex14.
|
protected int[][] |
idindex14
The idindex14.
|
protected int[][] |
idindex2
The idindex14.
|
protected int[][] |
idindex3
The idindex14.
|
protected int[][] |
idindex4
The idindex14.
|
protected int[][] |
idindex5
The idindex14.
|
protected int[][] |
idindex6
The idindex14.
|
protected int[][] |
idindex7
The idindex14.
|
protected int[][] |
idindex8
The idindex14.
|
protected int[][] |
idindex9
The idindex14.
|
protected int |
index0
The index14.
|
protected int |
index1
The index14.
|
protected int |
index10
The index14.
|
protected int |
index11
The index14.
|
protected int |
index12
The index14.
|
protected int |
index13
The index14.
|
protected int |
index14
The index14.
|
protected int |
index2
The index14.
|
protected int |
index3
The index14.
|
protected int |
index4
The index14.
|
protected int |
index5
The index14.
|
protected int |
index6
The index14.
|
protected int |
index7
The index14.
|
protected int |
index8
The index14.
|
protected int |
index9
The index14.
|
protected int[] |
intuple
The intuple.
|
protected int[][][] |
map
The generalization hierarchies.
|
protected int[][] |
otherData
The sensitive values.
|
protected int |
outindex0
The outindices.
|
protected int |
outindex1
The outindices.
|
protected int |
outindex10
The outindices.
|
protected int |
outindex11
The outindices.
|
protected int |
outindex12
The outindices.
|
protected int |
outindex13
The outindices.
|
protected int |
outindex14
The outindices.
|
protected int |
outindex2
The outindices.
|
protected int |
outindex3
The outindices.
|
protected int |
outindex4
The outindices.
|
protected int |
outindex5
The outindices.
|
protected int |
outindex6
The outindices.
|
protected int |
outindex7
The outindices.
|
protected int |
outindex8
The outindices.
|
protected int |
outindex9
The outindices.
|
protected int[] |
outtuple
The outtuple.
|
protected int[] |
snapshot
The snapshot.
|
protected int |
ssStepWidth
The size of one snapshopt entry *.
|
protected int |
startIndex
The start index.
|
protected int |
stopIndex
The stop index.
|
protected StateMachine.TransitionType |
transition
The transition.
|
Constructor and Description |
---|
AbstractTransformer(int[][] data,
GeneralizationHierarchy[] hierarchies,
int[][] otherData,
IntArrayDictionary dictionarySensValue,
IntArrayDictionary dictionarySensFreq,
ARXConfiguration.ARXConfigurationInternal config)
Instantiates a new abstract transformer.
|
Modifier and Type | Method and Description |
---|---|
HashGroupify |
call() |
void |
init(long projection,
int[] state,
HashGroupify groupify,
HashGroupify source,
int[] snapshot,
StateMachine.TransitionType transition,
int startIndex,
int stopIndex,
int bucket,
HashGroupifyEntry element,
int[][] buffer)
Inits the.
|
protected abstract void |
processAll()
Process complete input dataset.
|
protected abstract void |
processGroupify()
Process groupify.
|
protected abstract void |
processSnapshot()
Process snapshot.
|
void |
updateOutIndices(int[] activecolumns,
long projection)
Update out indices.
|
protected int bucket
protected int[][] buffer
protected final int[] columnIndexArray
protected final int[][][] columnMapArray
protected final ARXConfiguration.ARXConfigurationInternal config
protected final int[][] data
protected final AbstractTransformer.IGroupify delegate
protected final IntArrayDictionary dictionarySensFreq
protected final IntArrayDictionary dictionarySensValue
protected final int dimensions
protected HashGroupifyEntry element
protected HashGroupifyEntry[] groupifyArray
protected final GeneralizationHierarchy[] hierarchies
protected int[][] idindex0
protected int[][] idindex1
protected int[][] idindex2
protected int[][] idindex3
protected int[][] idindex4
protected int[][] idindex5
protected int[][] idindex6
protected int[][] idindex7
protected int[][] idindex8
protected int[][] idindex9
protected int[][] idindex10
protected int[][] idindex11
protected int[][] idindex12
protected int[][] idindex13
protected int[][] idindex14
protected int index0
protected int index1
protected int index2
protected int index3
protected int index4
protected int index5
protected int index6
protected int index7
protected int index8
protected int index9
protected int index10
protected int index11
protected int index12
protected int index13
protected int index14
protected int[] intuple
protected int[][][] map
protected int outindex0
protected int outindex1
protected int outindex10
protected int outindex11
protected int outindex12
protected int outindex13
protected int outindex14
protected int outindex2
protected int outindex3
protected int outindex4
protected int outindex5
protected int outindex6
protected int outindex7
protected int outindex8
protected int outindex9
protected int[] outtuple
protected final int[][] otherData
protected int[] snapshot
protected final int ssStepWidth
protected int startIndex
protected int generalizationindex0
protected int generalizationindex1
protected int generalizationindex10
protected int generalizationindex11
protected int generalizationindex12
protected int generalizationindex13
protected int generalizationindex14
protected int generalizationindex2
protected int generalizationindex3
protected int generalizationindex4
protected int generalizationindex5
protected int generalizationindex6
protected int generalizationindex7
protected int generalizationindex8
protected int generalizationindex9
protected final int[] generalizationIndexArray
protected int[] generalization
protected int stopIndex
protected StateMachine.TransitionType transition
public AbstractTransformer(int[][] data, GeneralizationHierarchy[] hierarchies, int[][] otherData, IntArrayDictionary dictionarySensValue, IntArrayDictionary dictionarySensFreq, ARXConfiguration.ARXConfigurationInternal config)
data
- the datahierarchies
- the hierarchiesotherData
- dictionarySensValue
- dictionarySensFreq
- config
- public HashGroupify call()
call
in interface java.util.concurrent.Callable<HashGroupify>
public void init(long projection, int[] state, HashGroupify groupify, HashGroupify source, int[] snapshot, StateMachine.TransitionType transition, int startIndex, int stopIndex, int bucket, HashGroupifyEntry element, int[][] buffer)
projection
- the projectionstate
- the stategroupify
- the groupifysource
- the sourcesnapshot
- the snapshottransition
- the transitionstartIndex
- the start indexstopIndex
- the stop indexbucket
- the bucketelement
- the elementbuffer
- the bufferpublic void updateOutIndices(int[] activecolumns, long projection)
activecolumns
- the activecolumnsprojection
- the projectionprotected abstract void processAll()
protected abstract void processGroupify()
protected abstract void processSnapshot()