public class QueryResult extends Object
构造器和说明 |
---|
QueryResult(long vertexCount,
long edgeCount) |
QueryResult(Map<Long,ResponseElementInfo> vertexSet,
Map<String,ResponseElementInfo> edgeSet,
List<Long> superNodeSet) |
限定符和类型 | 方法和说明 |
---|---|
long |
getEdgeCount()
结果集总共边个数
|
Map<String,ResponseElementInfo> |
getEdgeSet()
边的基础信息
|
List<Long> |
getSuperNodeSet()
达到maxNeighbor阈值的id集合
|
long |
getVertexCount()
结果集总共点个数
|
Map<Long,ResponseElementInfo> |
getVertexSet()
点的基础信息
|
void |
setEdgeCount(long edgeCount)
设置结果边的总数
|
void |
setVertexCount(long vertexCount)
设置结果点的总数
|
public QueryResult(long vertexCount, long edgeCount)
public QueryResult(Map<Long,ResponseElementInfo> vertexSet, Map<String,ResponseElementInfo> edgeSet, List<Long> superNodeSet)
public long getEdgeCount()
public Map<String,ResponseElementInfo> getEdgeSet()
public long getVertexCount()
public Map<Long,ResponseElementInfo> getVertexSet()
public void setEdgeCount(long edgeCount)
edgeCount
- 结果边的总数public void setVertexCount(long vertexCount)
vertexCount
- 结果点的总数