Package com.graphdbapi.driver
Class GraphMetricsInfo
- java.lang.Object
-
- com.graphdbapi.driver.GraphMetricsInfo
-
public class GraphMetricsInfo extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GraphMetricsInfo.EdgeTypeMetrics
static class
GraphMetricsInfo.VertexTypeMetrics
-
Constructor Summary
Constructors Constructor Description GraphMetricsInfo(String graphName, boolean rebalancing, long backup, List<GraphMetricsInfo.VertexTypeMetrics> vertexType, List<GraphMetricsInfo.EdgeTypeMetrics> edgeType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getBackup()
备份数量List<GraphMetricsInfo.EdgeTypeMetrics>
getEdgeType()
边信息String
getGraphName()
图名字List<GraphMetricsInfo.VertexTypeMetrics>
getVertexType()
点信息boolean
isRebalancing()
是否在rebalance
-
-
-
Constructor Detail
-
GraphMetricsInfo
public GraphMetricsInfo(String graphName, boolean rebalancing, long backup, List<GraphMetricsInfo.VertexTypeMetrics> vertexType, List<GraphMetricsInfo.EdgeTypeMetrics> edgeType)
-
-
Method Detail
-
getGraphName
public String getGraphName()
图名字- Returns:
- 图名字
-
isRebalancing
public boolean isRebalancing()
是否在rebalance- Returns:
- true表示在rebalance,false表示不在
-
getBackup
public long getBackup()
备份数量- Returns:
- 备份数量
-
getVertexType
public List<GraphMetricsInfo.VertexTypeMetrics> getVertexType()
点信息- Returns:
- 点信息
-
getEdgeType
public List<GraphMetricsInfo.EdgeTypeMetrics> getEdgeType()
边信息- Returns:
- 边信息
-
-