org.apache.sysds.runtime.lineage

## Interface LineageTraceable

- All Known Implementing Classes:
    AggregateBinaryCPInstruction, AggregateBinaryFEDInstruction, AggregateTernaryCPInstruction, AggregateTernarySPInstruction, AggregateUnaryCPInstruction, AggregateUnaryFEDInstruction, AggregateUnarySPInstruction, AppendCPInstruction, AppendFEDInstruction, AppendGAlignedSPInstruction, AppendGSPInstruction, AppendMSPInstruction, AppendRSPInstruction, BinaryCPInstruction, BinaryFEDInstruction, BinaryFrameFrameCPInstruction, BinaryFrameFrameSPInstruction, BinaryFrameMatrixCPInstruction, BinaryFrameMatrixSPInstruction, BinaryFrameScalarCPInstruction, BinaryFrameScalarSPInstruction, BinaryMatrixBVectorSPInstruction, BinaryMatrixMatrixCPInstruction, BinaryMatrixMatrixFEDInstruction, BinaryMatrixMatrixSPInstruction, BinaryMatrixScalarCPInstruction, BinaryMatrixScalarFEDInstruction, BinaryMatrixScalarSPInstruction, BinaryScalarScalarCPInstruction, BinarySPInstruction, BinaryTensorTensorBroadcastSPInstruction, BinaryTensorTensorCPInstruction, BinaryTensorTensorSPInstruction, BinUaggChainSPInstruction, BuiltinNarySPInstruction, CastSPInstruction, CentralMomentCPInstruction, CentralMomentSPInstruction, CheckpointSPInstruction, CompressionCPInstruction, CompressionSPInstruction, ComputationCPInstruction, ComputationFEDInstruction, ComputationSPInstruction, CovarianceCPInstruction, CovarianceSPInstruction, CpmmSPInstruction, CSVReblockSPInstruction, CtableCPInstruction, CtableSPInstruction, CumulativeAggregateSPInstruction, CumulativeOffsetSPInstruction, DataGenCPInstruction, DnnCPInstruction, DnnSPInstruction, FrameAppendCPInstruction, FrameAppendMSPInstruction, FrameAppendRSPInstruction, FrameIndexingCPInstruction, FrameIndexingSPInstruction, IndexingCPInstruction, IndexingSPInstruction, ListAppendRemoveCPInstruction, ListIndexingCPInstruction, MapmmSPInstruction, MatrixAppendCPInstruction, MatrixAppendMSPInstruction, MatrixAppendRSPInstruction, MatrixBuiltinNaryCPInstruction, MatrixIndexingCPFileInstruction, MatrixIndexingCPInstruction, MatrixIndexingSPInstruction, MatrixReshapeSPInstruction, MMChainCPInstruction, MMChainFEDInstruction, MMTSJCPInstruction, MultiReturnBuiltinCPInstruction, MultiReturnParameterizedBuiltinCPInstruction, MultiReturnParameterizedBuiltinFEDInstruction, MultiReturnParameterizedBuiltinSPInstruction, ParameterizedBuiltinCPInstruction, ParameterizedBuiltinFEDInstruction, ParameterizedBuiltinSPInstruction, ParamservBuiltinCPInstruction, PMapmmSPInstruction, PMMJCPInstruction, PmmSPInstruction, QuantilePickCPInstruction, QuantilePickSPInstruction, QuantileSortCPInstruction, QuantileSortSPInstruction, QuaternaryCPInstruction, QuaternarySPInstruction, RandSPInstruction, ReblockSPInstruction, ReorgCPInstruction, ReorgFEDInstruction, ReorgSPInstruction, ReshapeCPInstruction, RmmSPInstruction, ScalarAppendCPInstruction, ScalarBuiltinNaryCPInstruction, SpoofCPInstruction, StringInitCPInstruction, TernaryCPInstruction, TernarySPInstruction, Tsmm2SPInstruction, TsmmFEDInstruction, TsmmSPInstruction, UaggOuterChainCPInstruction, UaggOuterChainSPInstruction, UnaryCPInstruction, UnaryFEDInstruction, UnaryFrameCPInstruction, UnaryFrameSPInstruction, UnaryMatrixCPInstruction, UnaryMatrixSPInstruction, UnaryScalarCPInstruction, UnarySPInstruction, VariableCPInstruction, WriteSPInstruction, ZipmmSPInstruction

      public interface LineageTraceable

- - ### Method Summary

    All Methods Instance Methods Abstract Methods Default Methods
    Modifier and Type | Method and Description
    --- | ---
    `org.apache.commons.lang3.tuple.Pair<String,LineageItem>` | `getLineageItem(ExecutionContext ec)` Obtain lineage trace of an instruction with a single output.
    `default org.apache.commons.lang3.tuple.Pair<String,LineageItem>[]` | `getLineageItems(ExecutionContext ec)` Obtain lineage trace of an instruction with multiple outputs.
    `default boolean` | `hasSingleLineage()` Obtain meta data on number of outputs and thus, number of lineage items.

- - ### Method Detail

    - #### hasSingleLineage

          default boolean hasSingleLineage()

      Obtain meta data on number of outputs and thus, number of lineage items.
      Returns:
        true iff instruction has a single output

    - #### getLineageItem

          org.apache.commons.lang3.tuple.Pair<String,LineageItem> getLineageItem(ExecutionContext ec)

      Obtain lineage trace of an instruction with a single output.
      Parameters:
        `ec` - execution context w/ live variables
      Returns:
        pair of (output variable name, output lineage item)

    - #### getLineageItems

          default org.apache.commons.lang3.tuple.Pair<String,LineageItem>[] getLineageItems(ExecutionContext ec)

      Obtain lineage trace of an instruction with multiple outputs.
      Parameters:
        `ec` - execution context w/ live variables
      Returns:
        pairs of (output variable name, output lineage item)

Copyright © 2020 The Apache Software Foundation. All rights reserved.