## Uses of Class
org.apache.sysds.runtime.instructions.cp.Data

Packages that use Data
org.apache.sysds.api.mlcontext
org.apache.sysds.runtime.controlprogram
org.apache.sysds.runtime.controlprogram.caching
org.apache.sysds.runtime.controlprogram.context
org.apache.sysds.runtime.controlprogram.federated
org.apache.sysds.runtime.controlprogram.paramserv
org.apache.sysds.runtime.functionobjects
org.apache.sysds.runtime.instructions.cp
org.apache.sysds.runtime.instructions.fed
org.apache.sysds.runtime.lineage
org.apache.sysds.runtime.privacy
org.apache.sysds.runtime.privacy.propagation
org.apache.sysds.runtime.util

### Uses of Data in org.apache.sysds.api.mlcontext

Methods in org.apache.sysds.api.mlcontext that return Data
`static Data` MLContextUtil.`convertInputType(String parameterName, Object parameterValue)` Convert input types to internal SystemDS representations
`static Data` MLContextUtil.`convertInputType(String parameterName, Object parameterValue, Metadata metadata)` Convert input types to internal SystemDS representations
`Data` MLResults.`getData(String outputName)` Obtain an output as a `Data` object.

### Uses of Data in org.apache.sysds.runtime.controlprogram

Methods in org.apache.sysds.runtime.controlprogram that return Data
`Data` LocalVariableMap.`get(String name)` Retrieves the data object given its name.
`Data` LocalVariableMap.`remove(String name)`

Methods in org.apache.sysds.runtime.controlprogram that return types with arguments of type Data
`Set<Map.Entry<String,Data>>` LocalVariableMap.`entrySet()`

Methods in org.apache.sysds.runtime.controlprogram with parameters of type Data
`boolean` LocalVariableMap.`hasReferences(Data d)`
`void` LocalVariableMap.`put(String name, Data val)` Adds a new (name, value) pair to the variable map, or replaces an old pair with the same name.

Method parameters in org.apache.sysds.runtime.controlprogram with type arguments of type Data
`void` LocalVariableMap.`putAll(Map<String,Data> vals)`

### Uses of Data in org.apache.sysds.runtime.controlprogram.caching

Subclasses of Data in org.apache.sysds.runtime.controlprogram.caching
`class` `CacheableData<T extends CacheBlock>` Each object of this class is a cache envelope for some large piece of data called "cache block".
`class` `FrameObject`
`class` `MatrixObject` Represents a matrix in control program.
`class` `TensorObject`

### Uses of Data in org.apache.sysds.runtime.controlprogram.context

Methods in org.apache.sysds.runtime.controlprogram.context that return Data
`Data` ExecutionContext.`getVariable(CPOperand operand)`
`Data` ExecutionContext.`getVariable(String name)`
`Data` ExecutionContext.`removeVariable(String name)`

Methods in org.apache.sysds.runtime.controlprogram.context with parameters of type Data
`void` ExecutionContext.`cleanupDataObject(Data dat)`
`void` ExecutionContext.`setVariable(String name, Data val)`

### Uses of Data in org.apache.sysds.runtime.controlprogram.federated

Methods in org.apache.sysds.runtime.controlprogram.federated with parameters of type Data
`abstract FederatedResponse` FederatedUDF.`execute(ExecutionContext ec, Data... data)` Execute the user-defined function on a set of data objects (e.g., matrix objects, frame objects, or scalars), which are looked up by specified input IDs and passed in the same order.

### Uses of Data in org.apache.sysds.runtime.controlprogram.paramserv

Methods in org.apache.sysds.runtime.controlprogram.paramserv with parameters of type Data
`static void` ParamservUtils.`cleanupData(ExecutionContext ec, Data data)`

### Uses of Data in org.apache.sysds.runtime.functionobjects

Methods in org.apache.sysds.runtime.functionobjects that return Data
`Data` FunctionObject.`execute(Data in1, Data in2)`
`Data` CM.`execute(Data in1, Data in2)` Combining stats from two partitions of the data.
`Data` COV.`execute(Data in1, Data in2)`
`Data` FunctionObject.`execute(Data in1, double in2)`
`Data` KahanPlusSq.`execute(Data kObj, double in)` Square the given term, then add to the existing sum using the Kahan summation algorithm.
`Data` CM.`execute(Data in1, double in2)` Special case for weights w2==1
`Data` KahanPlus.`execute(Data in1, double in2)`
`Data` FunctionObject.`execute(Data in1, double in2, double in3)`
`Data` KahanPlusSq.`execute(Data kObj, double sum, double corr)` Add the given sum and correction factor to the existing sum in the KahanObject using the Kahan summation algorithm.
`Data` CM.`execute(Data in1, double in2, double w2)` General case for arbitrary weights w2
`Data` Mean.`execute(Data in1, double in2, double count)`
`Data` COV.`execute(Data in1, double u, double v)` Special case for weights w2==1
`Data` KahanPlus.`execute(Data in1, double in2, double in3)`
`Data` COV.`execute(Data in1, double u, double v, double w2)` General case for arbitrary weights w2

Methods in org.apache.sysds.runtime.functionobjects with parameters of type Data
`Data` FunctionObject.`execute(Data in1, Data in2)`
`Data` CM.`execute(Data in1, Data in2)` Combining stats from two partitions of the data.
`Data` COV.`execute(Data in1, Data in2)`
`Data` FunctionObject.`execute(Data in1, double in2)`
`Data` KahanPlusSq.`execute(Data kObj, double in)` Square the given term, then add to the existing sum using the Kahan summation algorithm.
`Data` CM.`execute(Data in1, double in2)` Special case for weights w2==1
`Data` KahanPlus.`execute(Data in1, double in2)`
`Data` FunctionObject.`execute(Data in1, double in2, double in3)`
`Data` KahanPlusSq.`execute(Data kObj, double sum, double corr)` Add the given sum and correction factor to the existing sum in the KahanObject using the Kahan summation algorithm.
`Data` CM.`execute(Data in1, double in2, double w2)` General case for arbitrary weights w2
`Data` Mean.`execute(Data in1, double in2, double count)`
`Data` COV.`execute(Data in1, double u, double v)` Special case for weights w2==1
`Data` KahanPlus.`execute(Data in1, double in2, double in3)`
`Data` COV.`execute(Data in1, double u, double v, double w2)` General case for arbitrary weights w2

### Uses of Data in org.apache.sysds.runtime.instructions.cp

Subclasses of Data in org.apache.sysds.runtime.instructions.cp
`class` `BooleanObject`
`class` `CM_COV_Object`
`class` `DoubleObject`
`class` `IntObject`
`class` `KahanObject`
`class` `ListObject`
`class` `ScalarObject`
`class` `StringObject`

Methods in org.apache.sysds.runtime.instructions.cp that return Data
`Data` ListObject.`getData(int ix)`
`Data` ListObject.`getData(String name)`
`Data` ListObject.`set(String name, Data data)`
`Data` ListObject.`set(String name, Data data, LineageItem li)`
`Data` ListObject.`slice(int ix)`
`Data` ListObject.`slice(String name)`

Methods in org.apache.sysds.runtime.instructions.cp that return types with arguments of type Data
`List<Data>` ListObject.`getData()`

Methods in org.apache.sysds.runtime.instructions.cp with parameters of type Data
`ListObject` ListObject.`add(Data dat, LineageItem li)`
`ListObject` ListObject.`add(String name, Data dat, LineageItem li)`
`boolean` ListObject.`contains(Data d)`
`ListObject` ListObject.`set(int ix, Data data)`
`ListObject` ListObject.`set(int ix, Data data, LineageItem li)`
`Data` ListObject.`set(String name, Data data)`
`Data` ListObject.`set(String name, Data data, LineageItem li)`

Constructors in org.apache.sysds.runtime.instructions.cp with parameters of type Data
Constructor and Description
`CPOperand(String name, Data dat)`
`ListObject(Data[] data)`
`ListObject(Data[] data, String[] names)`

Constructor parameters in org.apache.sysds.runtime.instructions.cp with type arguments of type Data
Constructor and Description
`ListObject(List<Data> data)`
`ListObject(List<Data> data, List<String> names)`
`ListObject(List<Data> data, List<String> names, List<LineageItem> lineage)`

### Uses of Data in org.apache.sysds.runtime.instructions.fed

Methods in org.apache.sysds.runtime.instructions.fed with parameters of type Data
`FederatedResponse` MultiReturnParameterizedBuiltinFEDInstruction.CreateFrameEncoder.`execute(ExecutionContext ec, Data... data)`
`FederatedResponse` MultiReturnParameterizedBuiltinFEDInstruction.ExecuteFrameEncoder.`execute(ExecutionContext ec, Data... data)`
`FederatedResponse` ReorgFEDInstruction.Rdiag.`execute(ExecutionContext ec, Data... data)`
`FederatedResponse` ReorgFEDInstruction.DiagMatrix.`execute(ExecutionContext ec, Data... data)`
`FederatedResponse` ParameterizedBuiltinFEDInstruction.DecodeMatrix.`execute(ExecutionContext ec, Data... data)`

### Uses of Data in org.apache.sysds.runtime.lineage

Methods in org.apache.sysds.runtime.lineage that return Data
`static Data` LineageRecomputeUtils.`parseNComputeLineageTrace(String mainTrace, String dedupPatches)`

Methods in org.apache.sysds.runtime.lineage with parameters of type Data
`static boolean` LineageCacheConfig.`isOutputFederated(Instruction inst, Data data)`

### Uses of Data in org.apache.sysds.runtime.privacy

Methods in org.apache.sysds.runtime.privacy that return Data
`static Data` PrivacyMonitor.`handlePrivacy(Data dataObject)` Throws DMLPrivacyException if privacy constraint is set to private or private aggregation.

Methods in org.apache.sysds.runtime.privacy with parameters of type Data
`static Data` PrivacyMonitor.`handlePrivacy(Data dataObject)` Throws DMLPrivacyException if privacy constraint is set to private or private aggregation.

### Uses of Data in org.apache.sysds.runtime.privacy.propagation

Methods in org.apache.sysds.runtime.privacy.propagation that return Data
`static Data` PrivacyPropagator.`parseAndSetPrivacyConstraint(Data cd, org.apache.wink.json4j.JSONObject mtd)`

Methods in org.apache.sysds.runtime.privacy.propagation with parameters of type Data
`static Data` PrivacyPropagator.`parseAndSetPrivacyConstraint(Data cd, org.apache.wink.json4j.JSONObject mtd)`

### Uses of Data in org.apache.sysds.runtime.util

Methods in org.apache.sysds.runtime.util with parameters of type Data
`static String` ProgramConverter.`serializeDataObject(String key, Data dat)`