Class DeltaDictionary
- java.lang.Object
-
- org.apache.sysds.runtime.compress.colgroup.dictionary.ADictionary
-
- org.apache.sysds.runtime.compress.colgroup.dictionary.Dictionary
-
- org.apache.sysds.runtime.compress.colgroup.dictionary.DeltaDictionary
-
- All Implemented Interfaces:
Serializable
public class DeltaDictionary extends Dictionary
This dictionary class is a specialization for the DeltaDDCColgroup. Here the adjustments for operations for the delta encoded values are implemented.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.sysds.runtime.compress.colgroup.dictionary.ADictionary
ADictionary.DictType
-
-
Constructor Summary
Constructors Constructor Description DeltaDictionary(double[] values, int numCols)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DeltaDictionary
applyScalarOp(ScalarOperator op)
Allocate a new dictionary and applies the scalar operation on each cell of to then return the new dictionary.-
Methods inherited from class org.apache.sysds.runtime.compress.colgroup.dictionary.Dictionary
addToEntry, addToEntry, addToEntryVectorized, aggregate, aggregateCols, aggregateColsWithReference, aggregateRows, aggregateRowsWithDefault, aggregateRowsWithReference, aggregateWithReference, applyScalarOpAndAppend, applyScalarOpWithReference, applyUnaryOp, applyUnaryOpAndAppend, applyUnaryOpWithReference, binOpLeft, binOpLeftAndAppend, binOpLeftWithReference, binOpRight, binOpRight, binOpRightAndAppend, binOpRightWithReference, centralMoment, centralMomentWithDefault, centralMomentWithReference, clone, colProduct, colProductWithReference, colSum, colSumSq, colSumSqWithReference, containsValue, containsValueWithReference, create, createNoCheck, equals, getDictType, getExactSizeOnDisk, getInMemorySize, getMBDict, getNumberNonZeros, getNumberNonZerosWithReference, getNumberOfValues, getSparsity, getString, getValue, getValue, getValues, multiplyScalar, preaggValuesFromDense, product, productAllRowsToDouble, productAllRowsToDoubleWithDefault, productAllRowsToDoubleWithReference, productWithDefault, productWithReference, read, replace, replaceWithReference, rexpandCols, rexpandColsWithReference, scaleTuples, sliceOutColumnRange, subtractTuple, sum, sumAllRowsToDouble, sumAllRowsToDoubleSq, sumAllRowsToDoubleSqWithDefault, sumAllRowsToDoubleSqWithReference, sumAllRowsToDoubleWithDefault, sumAllRowsToDoubleWithReference, sumRowWithReference, sumSq, sumSqWithReference, toString, write
-
Methods inherited from class org.apache.sysds.runtime.compress.colgroup.dictionary.ADictionary
centralMoment, centralMomentWithDefault, centralMomentWithReference, equals
-
-
-
-
Method Detail
-
applyScalarOp
public DeltaDictionary applyScalarOp(ScalarOperator op)
Description copied from class:ADictionary
Allocate a new dictionary and applies the scalar operation on each cell of to then return the new dictionary.- Overrides:
applyScalarOp
in classDictionary
- Parameters:
op
- The operator.- Returns:
- The new dictionary to return.
-
-