Uses of Interface
org.apache.sysds.runtime.compress.colgroup.indexes.IColIndex
-
-
Uses of IColIndex in org.apache.sysds.runtime.compress.bitmap
Methods in org.apache.sysds.runtime.compress.bitmap with parameters of type IColIndex Modifier and Type Method Description static ABitmapBitmapEncoder. extractBitmap(IColIndex colIndices, MatrixBlock rawBlock, boolean transposed, int estimatedNumberOfUniques, boolean sortedEntries)Generate uncompressed bitmaps for a set of columns in an uncompressed matrix block.static ABitmapBitmapEncoder. extractBitmap(IColIndex colIndices, MatrixBlock rawBlock, int estimatedNumberOfUniques, CompressionSettings cs) -
Uses of IColIndex in org.apache.sysds.runtime.compress.cocode
Constructors in org.apache.sysds.runtime.compress.cocode with parameters of type IColIndex Constructor Description ColIndexes(IColIndex indexes) -
Uses of IColIndex in org.apache.sysds.runtime.compress.colgroup
Methods in org.apache.sysds.runtime.compress.colgroup that return IColIndex Modifier and Type Method Description IColIndexAColGroup. getColIndices()Obtain the offsets of the columns in the matrix block that make up the groupMethods in org.apache.sysds.runtime.compress.colgroup with parameters of type IColIndex Modifier and Type Method Description static voidColGroupUtils. addMatrixToResult(MatrixBlock tmp, MatrixBlock result, IColIndex colIndexes, int rl, int ru)static double[]ColGroupUtils. binaryDefRowLeft(BinaryOperator op, double[] v, IColIndex colIndexes)Calculate the result of performing the binary operation on an empty row to the left v op emptystatic double[]ColGroupUtils. binaryDefRowRight(BinaryOperator op, double[] v, IColIndex colIndexes)Calculate the result of performing the binary operation on an empty row to the right empty op vstatic AColGroupColGroupConst. create(IColIndex cols, double value)Generate a constant column group.static AColGroupColGroupConst. create(IColIndex cols, double[] values)Generate a constant column group.static AColGroupColGroupDDC. create(IColIndex colIndexes, ADictionary dict, AMapToData data, int[] cachedCounts)static AColGroupColGroupDDCFOR. create(IColIndex colIndexes, ADictionary dict, AMapToData data, int[] cachedCounts, double[] reference)static AColGroupColGroupLinearFunctional. create(IColIndex colIndices, double[] coefficents, int numRows)Generate a linear functional column group.static AColGroupColGroupSDC. create(IColIndex colIndices, int numRows, ADictionary dict, double[] defaultTuple, AOffset offsets, AMapToData data, int[] cachedCounts)static AColGroupColGroupSDCFOR. create(IColIndex colIndexes, int numRows, ADictionary dict, AOffset offsets, AMapToData data, int[] cachedCounts, double[] reference)static AColGroupColGroupSDCSingle. create(IColIndex colIndexes, int numRows, ADictionary dict, double[] defaultTuple, AOffset offsets, int[] cachedCounts)static AColGroupColGroupSDCSingleZeros. create(IColIndex colIndices, int numRows, ADictionary dict, AOffset offsets, int[] cachedCounts)static AColGroupColGroupSDCZeros. create(IColIndex colIndices, int numRows, ADictionary dict, AOffset offsets, AMapToData data, int[] cachedCounts)static AColGroupColGroupUncompressed. create(IColIndex colIndexes, MatrixBlock rawBlock, boolean transposed)Main constructor for Uncompressed ColGroup.static voidColGroupUtils. outerProduct(double[] leftRowSum, double[] rightColumnSum, IColIndex colIdxRight, double[] result, int nColR, int rl, int ru)static voidColGroupUtils. outerProduct(double[] leftRowSum, SparseBlock rightColSum, IColIndex colIdxRight, double[] result, int nColR, int rl, int ru)abstract AColGroupAColGroup. rightMultByMatrix(MatrixBlock right, IColIndex allCols)Right matrix multiplication with this column group.AColGroupADictBasedColGroup. rightMultByMatrix(MatrixBlock right, IColIndex allCols)AColGroupColGroupEmpty. rightMultByMatrix(MatrixBlock right, IColIndex allCols)AColGroupColGroupLinearFunctional. rightMultByMatrix(MatrixBlock right, IColIndex allCols)AColGroupColGroupUncompressed. rightMultByMatrix(MatrixBlock right, IColIndex allCols)Constructors in org.apache.sysds.runtime.compress.colgroup with parameters of type IColIndex Constructor Description ColGroupEmpty(IColIndex colIndices)Constructs an Constant Colum Group, that contains only one tuple, with the given value. -
Uses of IColIndex in org.apache.sysds.runtime.compress.colgroup.dictionary
Methods in org.apache.sysds.runtime.compress.colgroup.dictionary with parameters of type IColIndex Modifier and Type Method Description abstract voidADictionary. aggregateCols(double[] c, Builtin fn, IColIndex colIndexes)Aggregates the columns into the target double array provided.voidDictionary. aggregateCols(double[] c, Builtin fn, IColIndex colIndexes)voidIdentityDictionary. aggregateCols(double[] c, Builtin fn, IColIndex colIndexes)voidIdentityDictionarySlice. aggregateCols(double[] c, Builtin fn, IColIndex colIndexes)voidMatrixBlockDictionary. aggregateCols(double[] c, Builtin fn, IColIndex colIndexes)voidQDictionary. aggregateCols(double[] c, Builtin fn, IColIndex colIndexes)abstract voidADictionary. aggregateColsWithReference(double[] c, Builtin fn, IColIndex colIndexes, double[] reference, boolean def)Aggregates the columns into the target double array provided.voidDictionary. aggregateColsWithReference(double[] c, Builtin fn, IColIndex colIndexes, double[] reference, boolean def)voidIdentityDictionary. aggregateColsWithReference(double[] c, Builtin fn, IColIndex colIndexes, double[] reference, boolean def)voidMatrixBlockDictionary. aggregateColsWithReference(double[] c, Builtin fn, IColIndex colIndexes, double[] reference, boolean def)voidQDictionary. aggregateColsWithReference(double[] c, Builtin fn, IColIndex colIndexes, double[] reference, boolean def)abstract ADictionaryADictionary. binOpLeft(BinaryOperator op, double[] v, IColIndex colIndexes)Apply binary row operation on the left sideDictionaryDictionary. binOpLeft(BinaryOperator op, double[] v, IColIndex colIndexes)ADictionaryIdentityDictionary. binOpLeft(BinaryOperator op, double[] v, IColIndex colIndexes)ADictionaryMatrixBlockDictionary. binOpLeft(BinaryOperator op, double[] v, IColIndex colIndexes)ADictionaryQDictionary. binOpLeft(BinaryOperator op, double[] v, IColIndex colIndexes)abstract ADictionaryADictionary. binOpLeftAndAppend(BinaryOperator op, double[] v, IColIndex colIndexes)Apply binary row operation on the left side with one extra row evaluating with zeros.ADictionaryDictionary. binOpLeftAndAppend(BinaryOperator op, double[] v, IColIndex colIndexes)ADictionaryIdentityDictionary. binOpLeftAndAppend(BinaryOperator op, double[] v, IColIndex colIndexes)ADictionaryMatrixBlockDictionary. binOpLeftAndAppend(BinaryOperator op, double[] v, IColIndex colIndexes)ADictionaryQDictionary. binOpLeftAndAppend(BinaryOperator op, double[] v, IColIndex colIndexes)abstract ADictionaryADictionary. binOpLeftWithReference(BinaryOperator op, double[] v, IColIndex colIndexes, double[] reference, double[] newReference)Apply the binary operator such that each value is offset by the reference before application.DictionaryDictionary. binOpLeftWithReference(BinaryOperator op, double[] v, IColIndex colIndexes, double[] reference, double[] newReference)ADictionaryIdentityDictionary. binOpLeftWithReference(BinaryOperator op, double[] v, IColIndex colIndexes, double[] reference, double[] newReference)MatrixBlockDictionaryMatrixBlockDictionary. binOpLeftWithReference(BinaryOperator op, double[] v, IColIndex colIndexes, double[] reference, double[] newReference)ADictionaryQDictionary. binOpLeftWithReference(BinaryOperator op, double[] v, IColIndex colIndexes, double[] reference, double[] newReference)abstract ADictionaryADictionary. binOpRight(BinaryOperator op, double[] v, IColIndex colIndexes)Apply binary row operation on the right side.DictionaryDictionary. binOpRight(BinaryOperator op, double[] v, IColIndex colIndexes)ADictionaryIdentityDictionary. binOpRight(BinaryOperator op, double[] v, IColIndex colIndexes)MatrixBlockDictionaryMatrixBlockDictionary. binOpRight(BinaryOperator op, double[] v, IColIndex colIndexes)ADictionaryQDictionary. binOpRight(BinaryOperator op, double[] v, IColIndex colIndexes)abstract ADictionaryADictionary. binOpRightAndAppend(BinaryOperator op, double[] v, IColIndex colIndexes)Apply binary row operation on the right side with one extra row evaluating with zeros.ADictionaryDictionary. binOpRightAndAppend(BinaryOperator op, double[] v, IColIndex colIndexes)ADictionaryIdentityDictionary. binOpRightAndAppend(BinaryOperator op, double[] v, IColIndex colIndexes)ADictionaryMatrixBlockDictionary. binOpRightAndAppend(BinaryOperator op, double[] v, IColIndex colIndexes)ADictionaryQDictionary. binOpRightAndAppend(BinaryOperator op, double[] v, IColIndex colIndexes)abstract ADictionaryADictionary. binOpRightWithReference(BinaryOperator op, double[] v, IColIndex colIndexes, double[] reference, double[] newReference)Apply the binary operator such that each value is offset by the reference before application.DictionaryDictionary. binOpRightWithReference(BinaryOperator op, double[] v, IColIndex colIndexes, double[] reference, double[] newReference)ADictionaryIdentityDictionary. binOpRightWithReference(BinaryOperator op, double[] v, IColIndex colIndexes, double[] reference, double[] newReference)MatrixBlockDictionaryMatrixBlockDictionary. binOpRightWithReference(BinaryOperator op, double[] v, IColIndex colIndexes, double[] reference, double[] newReference)ADictionaryQDictionary. binOpRightWithReference(BinaryOperator op, double[] v, IColIndex colIndexes, double[] reference, double[] newReference)abstract voidADictionary. colProduct(double[] res, int[] counts, IColIndex colIndexes)Calculate the column product of the dictionary weighted by counts.voidDictionary. colProduct(double[] res, int[] counts, IColIndex colIndexes)voidIdentityDictionary. colProduct(double[] res, int[] counts, IColIndex colIndexes)voidIdentityDictionarySlice. colProduct(double[] res, int[] counts, IColIndex colIndexes)voidMatrixBlockDictionary. colProduct(double[] res, int[] counts, IColIndex colIndexes)voidQDictionary. colProduct(double[] res, int[] counts, IColIndex colIndexes)abstract voidADictionary. colProductWithReference(double[] res, int[] counts, IColIndex colIndexes, double[] reference)Calculate the column product of the dictionary weighted by counts.voidDictionary. colProductWithReference(double[] res, int[] counts, IColIndex colIndexes, double[] reference)voidIdentityDictionary. colProductWithReference(double[] res, int[] counts, IColIndex colIndexes, double[] reference)voidMatrixBlockDictionary. colProductWithReference(double[] res, int[] counts, IColIndex colIndexes, double[] reference)voidQDictionary. colProductWithReference(double[] res, int[] counts, IColIndex colIndexes, double[] reference)abstract voidADictionary. colSum(double[] c, int[] counts, IColIndex colIndexes)Get the column sum of the values contained in the dictionaryvoidDictionary. colSum(double[] c, int[] counts, IColIndex colIndexes)voidIdentityDictionary. colSum(double[] c, int[] counts, IColIndex colIndexes)voidIdentityDictionarySlice. colSum(double[] c, int[] counts, IColIndex colIndexes)voidMatrixBlockDictionary. colSum(double[] c, int[] counts, IColIndex colIndexes)voidQDictionary. colSum(double[] c, int[] counts, IColIndex colIndexes)abstract voidADictionary. colSumSq(double[] c, int[] counts, IColIndex colIndexes)Get the column sum of the values contained in the dictionaryvoidDictionary. colSumSq(double[] c, int[] counts, IColIndex colIndexes)voidIdentityDictionary. colSumSq(double[] c, int[] counts, IColIndex colIndexes)voidIdentityDictionarySlice. colSumSq(double[] c, int[] counts, IColIndex colIndexes)voidMatrixBlockDictionary. colSumSq(double[] c, int[] counts, IColIndex colIndexes)voidQDictionary. colSumSq(double[] c, int[] counts, IColIndex colIndexes)abstract voidADictionary. colSumSqWithReference(double[] c, int[] counts, IColIndex colIndexes, double[] reference)Get the column sum of the values contained in the dictionary with an offset reference value added to each cell.voidDictionary. colSumSqWithReference(double[] c, int[] counts, IColIndex colIndexes, double[] reference)voidIdentityDictionary. colSumSqWithReference(double[] c, int[] counts, IColIndex colIndexes, double[] reference)voidMatrixBlockDictionary. colSumSqWithReference(double[] c, int[] counts, IColIndex colIndexes, double[] reference)voidQDictionary. colSumSqWithReference(double[] c, int[] counts, IColIndex colIndexes, double[] reference)static voidDictLibMatrixMult. MMDicts(ADictionary left, ADictionary right, IColIndex rowsLeft, IColIndex colsRight, MatrixBlock result)Matrix Multiply the two dictionaries, note that the left side is considered transposed but not allocated transposed making the multiplication a: t(left) %*% rightstatic voidDictLibMatrixMult. MMDictsWithScaling(ADictionary left, ADictionary right, IColIndex leftRows, IColIndex rightColumns, MatrixBlock result, int[] counts)Matrix multiply with scaling (left side transposed)abstract voidADictionary. multiplyScalar(double v, double[] ret, int off, int dictIdx, IColIndex cols)Multiply the v value with the dictionary entry at dictIdx and add it to the ret matrix at the columns specified in the int array.voidDictionary. multiplyScalar(double v, double[] ret, int off, int dictIdx, IColIndex cols)voidIdentityDictionary. multiplyScalar(double v, double[] ret, int off, int dictIdx, IColIndex cols)voidMatrixBlockDictionary. multiplyScalar(double v, double[] ret, int off, int dictIdx, IColIndex cols)voidQDictionary. multiplyScalar(double v, double[] ret, int off, int dictIdx, IColIndex cols)abstract ADictionaryADictionary. preaggValuesFromDense(int numVals, IColIndex colIndexes, IColIndex aggregateColumns, double[] b, int cut)Pre Aggregate values for Right Matrix Multiplication.DictionaryDictionary. preaggValuesFromDense(int numVals, IColIndex colIndexes, IColIndex aggregateColumns, double[] b, int cut)ADictionaryIdentityDictionary. preaggValuesFromDense(int numVals, IColIndex colIndexes, IColIndex aggregateColumns, double[] b, int cut)MatrixBlockDictionaryMatrixBlockDictionary. preaggValuesFromDense(int numVals, IColIndex colIndexes, IColIndex aggregateColumns, double[] b, int cut)ADictionaryQDictionary. preaggValuesFromDense(int numVals, IColIndex colIndexes, IColIndex aggregateColumns, double[] b, int cut)static voidDictLibMatrixMult. TSMMDictionaryWithScaling(ADictionary dict, int[] counts, IColIndex rows, IColIndex cols, MatrixBlock ret)Perform the full tsmm with the dictionary (allocating into the entire output matrix.)static voidDictLibMatrixMult. TSMMToUpperTriangle(ADictionary left, ADictionary right, IColIndex rowsLeft, IColIndex colsRight, MatrixBlock result)Does two matrix multiplications in one go but only add to the upper triangle.static voidDictLibMatrixMult. TSMMToUpperTriangleScaling(ADictionary left, ADictionary right, IColIndex rowsLeft, IColIndex colsRight, int[] scale, MatrixBlock result)Does two matrix multiplications in one go but only add to the upper triangle with scaling. -
Uses of IColIndex in org.apache.sysds.runtime.compress.colgroup.functional
Methods in org.apache.sysds.runtime.compress.colgroup.functional with parameters of type IColIndex Modifier and Type Method Description static double[]LinearRegression. regressMatrixBlock(MatrixBlock rawBlock, IColIndex colIndexes, boolean transposed) -
Uses of IColIndex in org.apache.sysds.runtime.compress.colgroup.indexes
Classes in org.apache.sysds.runtime.compress.colgroup.indexes that implement IColIndex Modifier and Type Class Description classAColIndexclassArrayIndexclassRangeIndexclassSingleIndexclassTwoIndexFields in org.apache.sysds.runtime.compress.colgroup.indexes declared as IColIndex Modifier and Type Field Description IColIndexIColIndex.SliceResult. retThe already modified column index to return on slicesMethods in org.apache.sysds.runtime.compress.colgroup.indexes that return IColIndex Modifier and Type Method Description IColIndexArrayIndex. combine(IColIndex other)static IColIndexColIndexFactory. combine(List<AColGroup> gs)IColIndexIColIndex. combine(IColIndex other)combine the indexes of this colIndex with another, it is expected that all calls to this contains unique indexes, and no copies of values.IColIndexRangeIndex. combine(IColIndex other)IColIndexSingleIndex. combine(IColIndex other)IColIndexTwoIndex. combine(IColIndex other)static IColIndexColIndexFactory. create(int nCol)static IColIndexColIndexFactory. create(int[] indexes)static IColIndexColIndexFactory. create(int l, int u)static IColIndexColIndexFactory. create(IntArrayList indexes)static IColIndexColIndexFactory. read(DataInput in)IColIndexArrayIndex. shift(int i)IColIndexIColIndex. shift(int i)Return a new column index where the values are shifted by the specified amount.IColIndexRangeIndex. shift(int i)Methods in org.apache.sysds.runtime.compress.colgroup.indexes with parameters of type IColIndex Modifier and Type Method Description IColIndexArrayIndex. combine(IColIndex other)IColIndexIColIndex. combine(IColIndex other)combine the indexes of this colIndex with another, it is expected that all calls to this contains unique indexes, and no copies of values.IColIndexRangeIndex. combine(IColIndex other)IColIndexSingleIndex. combine(IColIndex other)IColIndexTwoIndex. combine(IColIndex other)booleanAColIndex. contains(IColIndex a, IColIndex b)booleanIColIndex. contains(IColIndex a, IColIndex b)This contains method is not strict since it only verifies one element is contained from each a and b.booleanAColIndex. containsStrict(IColIndex a, IColIndex b)booleanIColIndex. containsStrict(IColIndex a, IColIndex b)This contains both a and b ...booleanArrayIndex. equals(IColIndex other)booleanIColIndex. equals(IColIndex other)booleanRangeIndex. equals(IColIndex other)booleanSingleIndex. equals(IColIndex other)booleanTwoIndex. equals(IColIndex other) -
Uses of IColIndex in org.apache.sysds.runtime.compress.colgroup.scheme
Methods in org.apache.sysds.runtime.compress.colgroup.scheme with parameters of type IColIndex Modifier and Type Method Description AColGroupConstScheme. encode(MatrixBlock data, IColIndex columns)AColGroupDDCScheme. encode(MatrixBlock data, IColIndex columns)AColGroupEmptyScheme. encode(MatrixBlock data, IColIndex columns)AColGroupICLAScheme. encode(MatrixBlock data, IColIndex columns)Encode a given matrix block into the scheme provided in the instance but overwrite what columns to use. -
Uses of IColIndex in org.apache.sysds.runtime.compress.estim
Methods in org.apache.sysds.runtime.compress.estim that return IColIndex Modifier and Type Method Description IColIndexCompressedSizeInfoColGroup. getColumns()Methods in org.apache.sysds.runtime.compress.estim with parameters of type IColIndex Modifier and Type Method Description CompressedSizeInfoColGroupAComEst. combine(IColIndex combinedColumns, CompressedSizeInfoColGroup g1, CompressedSizeInfoColGroup g2)Combine two analyzed column groups together.CompressedSizeInfoColGroupAComEst. getColGroupInfo(IColIndex colIndexes)Method for extracting Compressed Size Info of specified columns, together in a single ColGroupabstract CompressedSizeInfoColGroupAComEst. getColGroupInfo(IColIndex colIndexes, int estimate, int nrUniqueUpperBound)A method to extract the Compressed Size Info for a given list of columns, This method further limits the estimated number of unique values, since in some cases the estimated number of uniques is estimated higher than the number estimated in sub groups of the given colIndexes.CompressedSizeInfoColGroupComEstExact. getColGroupInfo(IColIndex colIndexes, int estimate, int nrUniqueUpperBound)CompressedSizeInfoColGroupComEstSample. getColGroupInfo(IColIndex colIndexes, int estimate, int maxDistinct)CompressedSizeInfoColGroupAComEst. getDeltaColGroupInfo(IColIndex colIndexes)Method for extracting info of specified columns as delta encodings (delta from previous rows values)abstract CompressedSizeInfoColGroupAComEst. getDeltaColGroupInfo(IColIndex colIndexes, int estimate, int nrUniqueUpperBound)A method to extract the Compressed Size Info for a given list of columns, This method further limits the estimated number of unique values, since in some cases the estimated number of uniques is estimated higher than the number estimated in sub groups of the given colIndexes.CompressedSizeInfoColGroupComEstExact. getDeltaColGroupInfo(IColIndex colIndexes, int estimate, int nrUniqueUpperBound)CompressedSizeInfoColGroupComEstSample. getDeltaColGroupInfo(IColIndex colIndexes, int estimate, int maxDistinct)Constructors in org.apache.sysds.runtime.compress.estim with parameters of type IColIndex Constructor Description CompressedSizeInfoColGroup(IColIndex columns, int nRows)Create empty.CompressedSizeInfoColGroup(IColIndex cols, int nVal, int nRow, AColGroup.CompressionType bestCompressionType)CompressedSizeInfoColGroup(IColIndex cols, EstimationFactors facts, long minSize, AColGroup.CompressionType bestCompressionType)CompressedSizeInfoColGroup(IColIndex cols, EstimationFactors facts, AColGroup.CompressionType bestCompressionType) -
Uses of IColIndex in org.apache.sysds.runtime.compress.estim.encoding
Methods in org.apache.sysds.runtime.compress.estim.encoding with parameters of type IColIndex Modifier and Type Method Description static IEncodeEncodingFactory. createFromMatrixBlock(MatrixBlock m, boolean transposed, IColIndex rowCols)Encode a list of columns together from the input matrix, as if it is cocoded.static IEncodeEncodingFactory. createFromMatrixBlockDelta(MatrixBlock m, boolean transposed, IColIndex rowCols)Encode a full delta representation of the matrix input taking all rows into account.static IEncodeEncodingFactory. createFromMatrixBlockDelta(MatrixBlock m, boolean transposed, IColIndex rowCols, int sampleSize)Encode a delta representation of the matrix input taking the first "sampleSize" rows into account. -
Uses of IColIndex in org.apache.sysds.runtime.compress.readers
Methods in org.apache.sysds.runtime.compress.readers with parameters of type IColIndex Modifier and Type Method Description static ReaderColumnSelectionReaderColumnSelection. createReader(MatrixBlock rawBlock, IColIndex colIndices, boolean transposed)static ReaderColumnSelectionReaderColumnSelection. createReader(MatrixBlock rawBlock, IColIndex colIndices, boolean transposed, int rl, int ru) -
Uses of IColIndex in org.apache.sysds.runtime.compress.utils
Methods in org.apache.sysds.runtime.compress.utils with parameters of type IColIndex Modifier and Type Method Description static MatrixBlockUtil. extractValues(double[] v, IColIndex colIndexes)
-