Differential D7839 Diff 28444 java/src/main/java/org/softwareheritage/graph/compress/NodeMapBuilder.java
Changeset View
Changeset View
Standalone View
Standalone View
java/src/main/java/org/softwareheritage/graph/compress/NodeMapBuilder.java
Show All 21 Lines | |||||
import java.nio.charset.StandardCharsets; | import java.nio.charset.StandardCharsets; | ||||
import java.util.Scanner; | import java.util.Scanner; | ||||
import java.util.concurrent.TimeUnit; | import java.util.concurrent.TimeUnit; | ||||
/** | /** | ||||
* Create maps needed at runtime by the graph service, in particular: | * Create maps needed at runtime by the graph service, in particular: | ||||
* <p> | * <p> | ||||
* <ul> | * <ul> | ||||
* <li>SWHID → WebGraph long node id</li> | * <li>WebGraph long node id → SWHID</li> | ||||
* <li>WebGraph long node id → SWHID (converse of the former)</li> | |||||
* <li>WebGraph long node id → SWH node type (enum)</li> | * <li>WebGraph long node id → SWH node type (enum)</li> | ||||
* </ul> | * </ul> | ||||
* | * | ||||
* @author The Software Heritage developers | * @author The Software Heritage developers | ||||
*/ | */ | ||||
public class NodeMapBuilder { | public class NodeMapBuilder { | ||||
final static String SORT_BUFFER_SIZE = "40%"; | final static String SORT_BUFFER_SIZE = "40%"; | ||||
▲ Show 20 Lines • Show All 156 Lines • Show Last 20 Lines |