Uses of Interface
org.apache.sysds.runtime.controlprogram.caching.CacheBlock
Packages that use CacheBlock
Package
Description
-
Uses of CacheBlock in org.apache.sysds.runtime.compress
Classes in org.apache.sysds.runtime.compress that implement CacheBlock -
Uses of CacheBlock in org.apache.sysds.runtime.compress.lib
Methods in org.apache.sysds.runtime.compress.lib with parameters of type CacheBlockModifier and TypeMethodDescriptionstatic org.apache.commons.lang3.tuple.Pair<MatrixBlock,FrameBlock> CLALibBinCompress.binCompress(CacheBlock<?> X, MatrixBlock d, int k) -
Uses of CacheBlock in org.apache.sysds.runtime.controlprogram.caching
Classes in org.apache.sysds.runtime.controlprogram.caching with type parameters of type CacheBlockModifier and TypeClassDescriptionclassCacheableData<T extends CacheBlock<?>>Each object of this class is a cache envelope for some large piece of data called "cache block".Methods in org.apache.sysds.runtime.controlprogram.caching that return CacheBlockModifier and TypeMethodDescriptionCacheBlock<?>ByteBuffer.deserializeBlock()Merge disjoint: merges all non-zero values of the given input into the current block.static CacheBlock<?>CacheBlockFactory.newInstance(int code) static CacheBlock<?>CacheBlockFactory.newInstance(CacheBlock<?> block) static CacheBlock<?>static CacheBlock<?>CacheBlock.slice(int rl, int ru) Slice a sub block out of the current block and write into the given output block.CacheBlock.slice(int rl, int ru, boolean deep) Slice a sub block out of the current block and write into the given output block.CacheBlock.slice(int rl, int ru, int cl, int cu) Slice a sub block out of the current block and write into the given output block.CacheBlock.slice(int rl, int ru, int cl, int cu, boolean deep) Slice a sub block out of the current block and write into the given output block.Slice a sub block out of the current block and write into the given output block.Slice a sub block out of the current block and write into the given output block.CacheBlock.slice(IndexRange ixrange, T ret) Slice a sub block out of the current block and write into the given output block.Methods in org.apache.sysds.runtime.controlprogram.caching with parameters of type CacheBlockModifier and TypeMethodDescriptionstatic longLazyWriteBuffer.getCacheBlockSize(CacheBlock<?> cb) static longUnifiedMemoryManager.getCacheBlockSize(CacheBlock<?> cb) static intCacheBlockFactory.getCode(CacheBlock<?> block) static ArrayList<?>CacheBlockFactory.getPairList(CacheBlock<?> block) static booleanCacheableData.isBelowCachingThreshold(CacheBlock<?> data) static booleanByteBuffer.isValidCapacity(long size, CacheBlock<?> cb) Determines if byte buffer can hold the given size given this specific cache block.static CacheBlock<?>CacheBlockFactory.newInstance(CacheBlock<?> block) voidByteBuffer.serializeBlock(CacheBlock<?> cb) voidCacheMaintenanceService.serializeData(ByteBuffer bbuff, CacheBlock<?> cb) static intLazyWriteBuffer.writeBlock(String fname, CacheBlock<?> cb) static intUnifiedMemoryManager.writeBlock(String fname, CacheBlock<?> cb) -
Uses of CacheBlock in org.apache.sysds.runtime.controlprogram.context
Methods in org.apache.sysds.runtime.controlprogram.context that return types with arguments of type CacheBlockModifier and TypeMethodDescriptionorg.apache.spark.broadcast.Broadcast<CacheBlock<?>>SparkExecutionContext.broadcastVariable(CacheableData<CacheBlock<?>> cd) Methods in org.apache.sysds.runtime.controlprogram.context with parameters of type CacheBlockModifier and TypeMethodDescriptionstatic CacheableData<?>ExecutionContext.createCacheableData(CacheBlock<?> cb) Method parameters in org.apache.sysds.runtime.controlprogram.context with type arguments of type CacheBlockModifier and TypeMethodDescriptionorg.apache.spark.broadcast.Broadcast<CacheBlock<?>>SparkExecutionContext.broadcastVariable(CacheableData<CacheBlock<?>> cd) -
Uses of CacheBlock in org.apache.sysds.runtime.controlprogram.federated
Methods in org.apache.sysds.runtime.controlprogram.federated with parameters of type CacheBlockModifier and TypeMethodDescriptionstatic voidFederatedStatistics.incFedReuseReadBytesCount(CacheBlock<?> cb) FederatedData.initFederatedDataFromLocal(long id, CacheBlock<?> block) -
Uses of CacheBlock in org.apache.sysds.runtime.controlprogram.parfor
Method parameters in org.apache.sysds.runtime.controlprogram.parfor with type arguments of type CacheBlockModifier and TypeMethodDescriptionvoidCachedReuseVariables.reuseVariables(long pfid, LocalVariableMap vars, Collection<String> excludeList, Map<String, org.apache.spark.broadcast.Broadcast<CacheBlock<?>>> _brInputs, boolean cleanCache) Constructor parameters in org.apache.sysds.runtime.controlprogram.parfor with type arguments of type CacheBlockModifierConstructorDescriptionRemoteParForSparkWorker(long jobid, String program, boolean isLocal, HashMap<String, byte[]> clsMap, boolean cpCaching, org.apache.spark.util.LongAccumulator atasks, org.apache.spark.util.LongAccumulator aiters, Map<String, org.apache.spark.broadcast.Broadcast<CacheBlock<?>>> brInputs, boolean cleanCache, Map<String, String> lineage) -
Uses of CacheBlock in org.apache.sysds.runtime.data
Classes in org.apache.sysds.runtime.data that implement CacheBlockModifier and TypeClassDescriptionclassATensorBlockis the most top level representation of a tensor. -
Uses of CacheBlock in org.apache.sysds.runtime.frame.data
Classes in org.apache.sysds.runtime.frame.data that implement CacheBlock -
Uses of CacheBlock in org.apache.sysds.runtime.instructions.fed
Methods in org.apache.sysds.runtime.instructions.fed with parameters of type CacheBlockModifier and TypeMethodDescriptionstatic voidInitFEDInstruction.federateFrame(FrameObject output, List<org.apache.commons.lang3.tuple.Pair<FederatedRange, FederatedData>> workers, CacheBlock<?>[] blocks) static voidInitFEDInstruction.federateMatrix(CacheableData<?> output, List<org.apache.commons.lang3.tuple.Pair<FederatedRange, FederatedData>> workers, CacheBlock<?>[] blocks) -
Uses of CacheBlock in org.apache.sysds.runtime.instructions.spark.data
Classes in org.apache.sysds.runtime.instructions.spark.data with type parameters of type CacheBlockModifier and TypeClassDescriptionclassBroadcastObject<T extends CacheBlock<?>>classPartitionedBlock<T extends CacheBlock>This class is for partitioned matrix/frame blocks, to be used as broadcasts.classPartitionedBroadcast<T extends CacheBlock>This class is a wrapper around an array of broadcasts of partitioned matrix/frame blocks, which is required due to 2GB limitations of Spark's broadcast handling. -
Uses of CacheBlock in org.apache.sysds.runtime.matrix.data
Classes in org.apache.sysds.runtime.matrix.data that implement CacheBlockMethods in org.apache.sysds.runtime.matrix.data with parameters of type CacheBlockModifier and TypeMethodDescriptionstatic ListOperationsOnMatrixValues.performSlice(IndexRange ixrange, int blen, int iix, int jix, CacheBlock<?> in) Slice used in broadcasting matrix blocks for spark, since this slice up a given matrix into blocks. -
Uses of CacheBlock in org.apache.sysds.runtime.transform.encode
Methods in org.apache.sysds.runtime.transform.encode with parameters of type CacheBlockModifier and TypeMethodDescriptionColumnEncoder.apply(CacheBlock<?> in, MatrixBlock out, int outputCol) Apply Functions are only used in Single Threaded or Multi-Threaded Dense context.ColumnEncoder.apply(CacheBlock<?> in, MatrixBlock out, int outputCol, int rowStart, int blk) ColumnEncoderComposite.apply(CacheBlock<?> in, MatrixBlock out, int outputCol, int rowStart, int blk) Encoder.apply(CacheBlock<?> in, MatrixBlock out, int outputCol) Apply the generated metadata to the FrameBlock and saved the result in out.MultiColumnEncoder.apply(CacheBlock<?> in) MultiColumnEncoder.apply(CacheBlock<?> in, int k) MultiColumnEncoder.apply(CacheBlock<?> in, MatrixBlock out, int outputCol) MultiColumnEncoder.apply(CacheBlock<?> in, MatrixBlock out, int outputCol, int k, org.apache.sysds.runtime.transform.encode.MultiColumnEncoder.EncoderMeta encm, long nnz) voidColumnEncoderUDF.applyDense(CacheBlock<?> in, MatrixBlock out, int outputCol, int rowStart, int blk) voidColumnEncoderWordEmbedding.applyDense(CacheBlock<?> in, MatrixBlock out, int outputCol, int rowStart, int blk) voidColumnEncoder.build(CacheBlock<?> in, double[] equiHeightMaxs) voidColumnEncoder.build(CacheBlock<?> in, Map<Integer, double[]> equiHeightMaxs) voidColumnEncoderBagOfWords.build(CacheBlock<?> in) voidColumnEncoderBin.build(CacheBlock<?> in) voidColumnEncoderBin.build(CacheBlock<?> in, double[] equiHeightMaxs) voidColumnEncoderComposite.build(CacheBlock<?> in) voidColumnEncoderComposite.build(CacheBlock<?> in, Map<Integer, double[]> equiHeightMaxs) voidColumnEncoderDummycode.build(CacheBlock<?> in) voidColumnEncoderFeatureHash.build(CacheBlock<?> in) voidColumnEncoderPassThrough.build(CacheBlock<?> in) voidColumnEncoderRecode.build(CacheBlock<?> in) voidColumnEncoderUDF.build(CacheBlock<?> in) voidColumnEncoderWordEmbedding.build(CacheBlock<?> in) voidEncoder.build(CacheBlock<?> in) Build the transform meta data for the given block input.voidMultiColumnEncoder.build(CacheBlock<?> in) voidMultiColumnEncoder.build(CacheBlock<?> in, int k) voidMultiColumnEncoder.build(CacheBlock<?> in, int k, Map<Integer, double[]> equiHeightBinMaxs) voidColumnEncoder.computeMapSizeEstimate(CacheBlock<?> in, int[] sampleIndices) voidColumnEncoderBagOfWords.computeMapSizeEstimate(CacheBlock<?> in, int[] sampleIndices) voidColumnEncoderComposite.computeMapSizeEstimate(CacheBlock<?> in, int[] sampleIndices) voidColumnEncoderRecode.computeMapSizeEstimate(CacheBlock<?> in, int[] sampleIndices) doubleColumnEncoderBagOfWords.computeNnzEstimate(CacheBlock<?> in, int[] sampleIndices) voidColumnEncoderBagOfWords.computeNnzPerRow(CacheBlock<?> in, int start, int end) MultiColumnEncoder.encode(CacheBlock<?> in) MultiColumnEncoder.encode(CacheBlock<?> in, boolean compressedOut) MultiColumnEncoder.encode(CacheBlock<?> in, int k) MultiColumnEncoder.encode(CacheBlock<?> in, int k, boolean compressedOut) List<DependencyTask<?>>ColumnEncoder.getApplyTasks(CacheBlock<?> in, MatrixBlock out, int outputCol, int[] sparseRowPointerOffsets) List<DependencyTask<?>>ColumnEncoderComposite.getApplyTasks(CacheBlock<?> in, MatrixBlock out, int outputCol, int[] sparseRowPointerOffsets) ColumnEncoder.getBuildTask(CacheBlock<?> in) ColumnEncoderBagOfWords.getBuildTask(CacheBlock<?> in) ColumnEncoderBin.getBuildTask(CacheBlock<?> in) ColumnEncoderRecode.getBuildTask(CacheBlock<?> in) List<DependencyTask<?>>ColumnEncoder.getBuildTasks(CacheBlock<?> in) List<DependencyTask<?>>ColumnEncoderComposite.getBuildTasks(CacheBlock<?> in) List<DependencyTask<?>>ColumnEncoderDummycode.getBuildTasks(CacheBlock<?> in) List<DependencyTask<?>>ColumnEncoderFeatureHash.getBuildTasks(CacheBlock<?> in) List<DependencyTask<?>>ColumnEncoderPassThrough.getBuildTasks(CacheBlock<?> in) List<DependencyTask<?>>ColumnEncoderUDF.getBuildTasks(CacheBlock<?> in) ColumnEncoder.getPartialBuildTask(CacheBlock<?> in, int startRow, int blockSize, HashMap<Integer, Object> ret, int p) ColumnEncoderBagOfWords.getPartialBuildTask(CacheBlock<?> in, int startRow, int blockSize, HashMap<Integer, Object> ret, int pos) ColumnEncoderBin.getPartialBuildTask(CacheBlock<?> in, int startRow, int blockSize, HashMap<Integer, Object> ret, int p) ColumnEncoderRecode.getPartialBuildTask(CacheBlock<?> in, int startRow, int blockSize, HashMap<Integer, Object> ret, int p) booleanMultiColumnEncoder.isCompressedTransformEncode(CacheBlock<?> in, boolean enabled) Constructors in org.apache.sysds.runtime.transform.encode with parameters of type CacheBlockModifierConstructorDescriptionFeatureHashSparseApplyTask(ColumnEncoderFeatureHash encoder, CacheBlock<?> input, MatrixBlock out, int outputCol) FeatureHashSparseApplyTask(ColumnEncoderFeatureHash encoder, CacheBlock<?> input, MatrixBlock out, int outputCol, int startRow, int blk) -
Uses of CacheBlock in org.apache.sysds.runtime.util
Methods in org.apache.sysds.runtime.util that return CacheBlockModifier and TypeMethodDescriptionstatic CacheBlock<?>LocalFileUtils.readCacheBlockFromLocal(String fname, boolean matrix) Reads a matrix/frame block from local file system.Methods in org.apache.sysds.runtime.util with parameters of type CacheBlockModifier and TypeMethodDescriptionstatic voidLocalFileUtils.writeCacheBlockToLocal(String fname, CacheBlock<?> cb) Writes a matrix/frame block to local file system.