Package com.macrofocus.molap.subset
Class AbstractMultiBinningDimension<Row,Column,Value,Bin>
- java.lang.Object
-
- com.macrofocus.molap.subset.AbstractDimension<Row>
-
- com.macrofocus.molap.subset.AbstractBinningDimension<Row,Column,Value,Bin>
-
- com.macrofocus.molap.subset.AbstractMultiBinningDimension<Row,Column,Value,Bin>
-
- All Implemented Interfaces:
BinningDimension<Row,Bin>
,Dimension<Row>
,MultiBinningDimension<Row,Bin>
- Direct Known Subclasses:
DefaultMultiBinningDimension
public abstract class AbstractMultiBinningDimension<Row,Column,Value,Bin> extends AbstractBinningDimension<Row,Column,Value,Bin> implements MultiBinningDimension<Row,Bin>
Created by luc on 10.04.17.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
AbstractMultiBinningDimension.AbstractSortedArrayFilter
class
AbstractMultiBinningDimension.AndSortedArrayFilter
class
AbstractMultiBinningDimension.BinSortedArrayFilter
class
AbstractMultiBinningDimension.DefaultSortedArrayFilter
class
AbstractMultiBinningDimension.OrSortedArrayFilter
-
Nested classes/interfaces inherited from class com.macrofocus.molap.subset.AbstractBinningDimension
AbstractBinningDimension.Operation
-
Nested classes/interfaces inherited from class com.macrofocus.molap.subset.AbstractDimension
AbstractDimension.FilteringCallback<R>, AbstractDimension.FilteringEvent<Row>, AbstractDimension.IndicesIterable<R>, AbstractDimension.IndicesSupplier
-
Nested classes/interfaces inherited from interface com.macrofocus.molap.subset.BinningDimension
BinningDimension.BinningStrategy<Row,Bin>
-
Nested classes/interfaces inherited from interface com.macrofocus.molap.subset.MultiBinningDimension
MultiBinningDimension.MultiBinningStrategy<Row,Bin>, MultiBinningDimension.SortedArrayFilter<Bin>
-
-
Field Summary
-
Fields inherited from class com.macrofocus.molap.subset.AbstractBinningDimension
activeIndices, bins, dataFrame, filterCounts, groups, index, inverseFilter, maxValueCount, otherActiveIndices, selectedCounts, selection, sumValueCount, updateFilterImmediately
-
Fields inherited from class com.macrofocus.molap.subset.AbstractDimension
updateTimer
-
-
Constructor Summary
Constructors Constructor Description AbstractMultiBinningDimension(SubsetDataFrame dataFrame, AbstractDimension.FilteringCallback filteringCallback, com.macrofocus.selection.MutableSelection selection, AbstractBinningDimension.Operation operation)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MultiBinningDimension.SortedArrayFilter<Bin>
createSortedArrayFilter(Bin bin)
AbstractMultiBinningDimension.DefaultSortedArrayFilter
getDefaultSortedArrayFilter()
com.macrofocus.selection.MutableSingleSelection<MultiBinningDimension.SortedArrayFilter<Bin>>
getFilterSelection()
int[]
updateActiveIndices()
-
Methods inherited from class com.macrofocus.molap.subset.AbstractBinningDimension
filterAll, filterExact, filterExactIterable, getActiveBins, getActiveDensity, getActiveIndices, getActiveIndicesUsingArrays, getActiveIndicesUsingHashSet, getBins, getDensity, getFilter, getFilterDensity, getFilterExact, getIndex, getInverseFilter, getMaxActiveDensity, getMaxDensity, getRows, getSelection, getSelectionDensity, getSumActiveDensity, getSumDensity, isReducable, markDirty, scheduleUpdateFilter, setInverseFilter, updateActive, updateFilter
-
Methods inherited from class com.macrofocus.molap.subset.AbstractDimension
addDimensionListener, addWeakDimensionListener, notifyDimensionChanged, notifySelectedCountChanged, removeDimensionListener, removeDimensionListeners, setUpdateTimer
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.macrofocus.molap.subset.BinningDimension
getActiveBins, getActiveDensity, getActiveIndicesUsingArrays, getActiveIndicesUsingHashSet, getBins, getDensity, getFilterDensity, getGroup, getInverseFilter, getMaxActiveDensity, getMaxDensity, getRows, getSelection, getSelectionDensity, getSumActiveDensity, getSumDensity, setInverseFilter
-
Methods inherited from interface com.macrofocus.molap.subset.Dimension
addDimensionListener, addWeakDimensionListener, filterAll, getActiveIndices, getName, isReducable, markDirty, materializeIndex, reduce, removeDimensionListener, removeDimensionListeners, setUpdateTimer
-
Methods inherited from interface com.macrofocus.molap.subset.MultiBinningDimension
filterExact, filterExactIterable, getBinningStrategy, getBins, getFilterExact, setBinningStrategy
-
-
-
-
Constructor Detail
-
AbstractMultiBinningDimension
public AbstractMultiBinningDimension(SubsetDataFrame dataFrame, AbstractDimension.FilteringCallback filteringCallback, com.macrofocus.selection.MutableSelection selection, AbstractBinningDimension.Operation operation)
-
-
Method Detail
-
updateActiveIndices
public int[] updateActiveIndices()
- Overrides:
updateActiveIndices
in classAbstractBinningDimension<Row,Column,Value,Bin>
-
getDefaultSortedArrayFilter
public AbstractMultiBinningDimension.DefaultSortedArrayFilter getDefaultSortedArrayFilter()
- Specified by:
getDefaultSortedArrayFilter
in interfaceMultiBinningDimension<Row,Column>
-
createSortedArrayFilter
public MultiBinningDimension.SortedArrayFilter<Bin> createSortedArrayFilter(Bin bin)
- Specified by:
createSortedArrayFilter
in interfaceMultiBinningDimension<Row,Column>
-
getFilterSelection
public com.macrofocus.selection.MutableSingleSelection<MultiBinningDimension.SortedArrayFilter<Bin>> getFilterSelection()
-
-