public class ScanVertexResult extends Object
| Constructor and Description |
|---|
ScanVertexResult(List<DataSet> dataSets,
ScanStatus status) |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getPropNames()
get the result's property names
|
VertexRow |
getVertex(ValueWrapper vid)
get vertex row with id
|
List<VertexTableRow> |
getVertexTableRows()
get vertex table rows
|
List<VertexRow> |
getVertices()
get all vertex row
|
Map<ValueWrapper,VertexRow> |
getVidVertices()
get the map of vid and vertex row
|
boolean |
isAllSuccess()
get the result status
|
boolean |
isEmpty()
whether result data is empty
|
public ScanVertexResult(List<DataSet> dataSets, ScanStatus status)
public List<VertexTableRow> getVertexTableRows()
VertexTableRowpublic List<String> getPropNames()
public VertexRow getVertex(ValueWrapper vid)
vid - ValueWrapper, int type or string type vidVertexRowpublic Map<ValueWrapper,VertexRow> getVidVertices()
ValueWrapper and VertexRowpublic boolean isAllSuccess()
public boolean isEmpty()
Copyright © 2022. All rights reserved.