public class OGraphRepair extends Object
Constructor and Description |
---|
OGraphRepair() |
Modifier and Type | Method and Description |
---|---|
void |
check(ODatabaseSession graph,
OCommandOutputListener outputListener,
Map<String,List<String>> options) |
protected OPair<ODirection,String> |
getConnection(ODatabaseDocument graph,
ODirection iDirection,
String iFieldName,
String... iClassNames) |
String |
getConnectionClass(ODirection iDirection,
String iFieldName) |
OStorageRecoverEventListener |
getEventListener() |
static String |
getInverseConnectionFieldName(String iFieldName,
boolean useVertexFieldsForEdgeLabels) |
void |
repair(ODatabaseSession graph,
OCommandOutputListener outputListener,
Map<String,List<String>> options) |
protected void |
repairEdges(ODatabaseSession graph,
com.orientechnologies.orient.core.db.tool.OGraphRepair.ORepairStats stats,
OCommandOutputListener outputListener,
Map<String,List<String>> options,
boolean checkOnly) |
protected void |
repairVertices(ODatabaseSession graph,
com.orientechnologies.orient.core.db.tool.OGraphRepair.ORepairStats stats,
OCommandOutputListener outputListener,
Map<String,List<String>> options,
boolean checkOnly) |
OGraphRepair |
setEventListener(OStorageRecoverEventListener eventListener) |
public void repair(ODatabaseSession graph, OCommandOutputListener outputListener, Map<String,List<String>> options)
public void check(ODatabaseSession graph, OCommandOutputListener outputListener, Map<String,List<String>> options)
protected void repairEdges(ODatabaseSession graph, com.orientechnologies.orient.core.db.tool.OGraphRepair.ORepairStats stats, OCommandOutputListener outputListener, Map<String,List<String>> options, boolean checkOnly)
protected void repairVertices(ODatabaseSession graph, com.orientechnologies.orient.core.db.tool.OGraphRepair.ORepairStats stats, OCommandOutputListener outputListener, Map<String,List<String>> options, boolean checkOnly)
protected OPair<ODirection,String> getConnection(ODatabaseDocument graph, ODirection iDirection, String iFieldName, String... iClassNames)
public String getConnectionClass(ODirection iDirection, String iFieldName)
public OStorageRecoverEventListener getEventListener()
public OGraphRepair setEventListener(OStorageRecoverEventListener eventListener)
Copyright © 2009–2020 OrientDB. All rights reserved.