public class ReaderWriterFederated extends Object
| Constructor and Description | 
|---|
| ReaderWriterFederated() | 
| Modifier and Type | Method and Description | 
|---|---|
| static List<org.apache.commons.lang3.tuple.Pair<FederatedRange,FederatedData>> | read(String file,
    DataCharacteristics mc)Read a federated map from disk, It is not initialized before it is used in:
 
 org.apache.sysds.runtime.instructions.fed.InitFEDInstruction | 
| static void | write(String file,
     FederationMap fedMap)TODO add writing to each of the federated locations so that they also save their matrices. | 
public static List<org.apache.commons.lang3.tuple.Pair<FederatedRange,FederatedData>> read(String file, DataCharacteristics mc)
file - The file to read (defaults to HDFS)mc - The data characteristics of the file, that can be read from the mtd file.public static void write(String file, FederationMap fedMap)
file - The file to save to, (defaults to HDFS paths)fedMap - The federated map to save.Copyright © 2021 The Apache Software Foundation. All rights reserved.