Class OGraphRepair
java.lang.Object
com.tinkerpop.blueprints.impls.orient.OGraphRepair
Repairs a graph. Current implementation scan the entire graph. In the future the WAL will be used
to make this repair task much faster.
- Author:
- Luca Garulli (l.garulli--(at)--orientdb.com)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcheck(OrientBaseGraph graph, OCommandOutputListener outputListener, Map<String, List<String>> options) voidrepair(OrientBaseGraph graph, OCommandOutputListener outputListener, Map<String, List<String>> options) protected voidrepairEdges(OrientBaseGraph graph, com.tinkerpop.blueprints.impls.orient.OGraphRepair.ORepairStats stats, OCommandOutputListener outputListener, Map<String, List<String>> options, boolean checkOnly) protected voidrepairVertices(OrientBaseGraph graph, com.tinkerpop.blueprints.impls.orient.OGraphRepair.ORepairStats stats, OCommandOutputListener outputListener, Map<String, List<String>> options, boolean checkOnly) setEventListener(OStorageRecoverEventListener eventListener)
-
Constructor Details
-
OGraphRepair
public OGraphRepair()
-
-
Method Details
-
repair
public void repair(OrientBaseGraph graph, OCommandOutputListener outputListener, Map<String, List<String>> options) -
check
public void check(OrientBaseGraph graph, OCommandOutputListener outputListener, Map<String, List<String>> options) -
repairEdges
protected void repairEdges(OrientBaseGraph graph, com.tinkerpop.blueprints.impls.orient.OGraphRepair.ORepairStats stats, OCommandOutputListener outputListener, Map<String, List<String>> options, boolean checkOnly) -
repairVertices
protected void repairVertices(OrientBaseGraph graph, com.tinkerpop.blueprints.impls.orient.OGraphRepair.ORepairStats stats, OCommandOutputListener outputListener, Map<String, List<String>> options, boolean checkOnly) -
getEventListener
-
setEventListener
-