Differential D1787 Diff 6061 java/server/src/main/java/org/softwareheritage/graph/backend/Setup.java
Changeset View
Changeset View
Standalone View
Standalone View
java/server/src/main/java/org/softwareheritage/graph/backend/Setup.java
Show All 22 Lines | |||||
import org.softwareheritage.graph.Node; | import org.softwareheritage.graph.Node; | ||||
import org.softwareheritage.graph.SwhId; | import org.softwareheritage.graph.SwhId; | ||||
import org.softwareheritage.graph.backend.NodeTypesMap; | import org.softwareheritage.graph.backend.NodeTypesMap; | ||||
/** | /** | ||||
* Pre-processing steps (such as dumping mapping files on disk) before running the graph service. | * Pre-processing steps (such as dumping mapping files on disk) before running the graph service. | ||||
* | * | ||||
* @author Thibault Allançon | * @author Thibault Allançon | ||||
* @version 1.0 | * @version 0.0.1 | ||||
* @since 1.0 | * @since 0.0.1 | ||||
*/ | */ | ||||
public class Setup { | public class Setup { | ||||
public static void main(String[] args) throws IOException { | public static void main(String[] args) throws IOException { | ||||
if (args.length != 2) { | if (args.length != 2) { | ||||
System.err.println("Expected parameters: <nodes.csv.gz path> <compressed graph path>"); | System.err.println("Expected parameters: <nodes.csv.gz path> <compressed graph path>"); | ||||
System.exit(1); | System.exit(1); | ||||
} | } | ||||
▲ Show 20 Lines • Show All 80 Lines • Show Last 20 Lines |