NebulaGraph Java Client
release-3.8
|
Public Member Functions | |
StorageClient (String ip, int port) | |
Get a Nebula Storage client that executes the scan query to get NebulaGraph's data with one server host. More... | |
StorageClient (List< HostAddress > addresses) | |
Get a Nebula Storage client that executes the scan query to get NebulaGraph's data with multi servers' host. More... | |
StorageClient (List< HostAddress > addresses, int timeout) | |
Get a Nebula Storage client that executes the scan query to get NebulaGraph's data with multi servers' hosts and timeout. More... | |
StorageClient (List< HostAddress > addresses, int timeout, int connectionRetry, int executionRetry, boolean enableSSL, SSLParam sslParam) | |
Get a Nebula Storage client that executes the scan query to get NebulaGraph's data with multi servers' hosts, timeout and ssl config. | |
boolean | connect () throws Exception |
Connect to Nebula Storage server. More... | |
StorageClient | setUser (String user) |
StorageClient | setPassword (String password) |
ScanVertexResultIterator | scanVertex (String spaceName, String tagName, List< String > returnCols) |
scan vertex of all parts with specific return cols, if returnCols is an empty list, then return all the columns of specific tagName. More... | |
ScanVertexResultIterator | scanVertex (String spaceName, int part, String tagName, List< String > returnCols) |
scan vertex of specific part with specific return cols, if returnCols is an empty list, then return all the columns of specific tagName. More... | |
ScanVertexResultIterator | scanVertex (String spaceName, String tagName) |
scan vertex of all parts with no return cols. More... | |
ScanVertexResultIterator | scanVertex (String spaceName, int part, String tagName) |
scan vertex of specific part with no return cols. More... | |
ScanVertexResultIterator | scanVertex (String spaceName, String tagName, List< String > returnCols, int limit) |
scan vertex of all parts with specific return cols and limit. More... | |
ScanVertexResultIterator | scanVertex (String spaceName, int part, String tagName, List< String > returnCols, int limit) |
scan vertex of specific part with specific return cols and limit. More... | |
ScanVertexResultIterator | scanVertex (String spaceName, String tagName, int limit) |
scan vertex of all parts with no return cols and limit. More... | |
ScanVertexResultIterator | scanVertex (String spaceName, int part, String tagName, int limit) |
scan vertex of specific part with no return cols and limit. More... | |
ScanVertexResultIterator | scanVertex (String spaceName, String tagName, List< String > returnCols, int limit, long startTime, long endTime) |
scan vertex of all parts with specific returnCols, limit, startTime and endTime. More... | |
ScanVertexResultIterator | scanVertex (String spaceName, int part, String tagName, List< String > returnCols, int limit, long startTime, long endTime) |
scan vertex of specific part with specific returnCols, limit, startTime and endTime. More... | |
ScanVertexResultIterator | scanVertex (String spaceName, String tagName, int limit, long startTime, long endTime) |
scan vertex of all parts with no returnCols, limit, startTime and endTime. More... | |
ScanVertexResultIterator | scanVertex (String spaceName, int part, String tagName, int limit, long startTime, long endTime) |
scan vertex of specific part with no returnCols, limit, startTime and endTime. More... | |
ScanVertexResultIterator | scanVertex (String spaceName, String tagName, List< String > returnCols, int limit, long startTime, long endTime, boolean allowPartSuccess, boolean allowReadFromFollower) |
scan vertex of all parts with specific return cols, limit, startTime, endTime, whether allow partial success, whether allow read from storage follower. More... | |
ScanVertexResultIterator | scanVertex (String spaceName, int part, String tagName, List< String > returnCols, int limit, long startTime, long endTime, boolean allowPartSuccess, boolean allowReadFromFollower) |
scan vertex of specific part with specific return cols, limit, startTime, endTime, whether allow partial success, whether allow read from storage follower. More... | |
ScanVertexResultIterator | scanVertex (String spaceName, String tagName, int limit, long startTime, long endTime, boolean allowPartSuccess, boolean allowReadFromFollower) |
scan vertex of all parts with no return cols, limit, startTime, endTime, whether allow partial success, whether allow read from storage follower. More... | |
ScanVertexResultIterator | scanVertex (String spaceName, int part, String tagName, int limit, long startTime, long endTime, boolean allowPartSuccess, boolean allowReadFromFollower) |
scan vertex of specific part with no return cols, limit, startTime, endTime, whether allow partial success, whether allow read from storage follower. More... | |
ScanEdgeResultIterator | scanEdge (String spaceName, String edgeName, List< String > returnCols) |
scan edge of all parts with return cols. More... | |
ScanEdgeResultIterator | scanEdge (String spaceName, int part, String edgeName, List< String > returnCols) |
scan edge of specific part with return cols. More... | |
ScanEdgeResultIterator | scanEdge (String spaceName, String edgeName) |
scan edge of all parts with no return cols. More... | |
ScanEdgeResultIterator | scanEdge (String spaceName, int part, String edgeName) |
scan edge of specific part with no return cols. More... | |
ScanEdgeResultIterator | scanEdge (String spaceName, String edgeName, List< String > returnCols, int limit) |
scan edge of all parts with return cols and limit config. More... | |
ScanEdgeResultIterator | scanEdge (String spaceName, int part, String edgeName, List< String > returnCols, int limit) |
scan edge of specific part with return cols. More... | |
ScanEdgeResultIterator | scanEdge (String spaceName, String edgeName, int limit) |
scan edge of all parts with no return cols and limit config. More... | |
ScanEdgeResultIterator | scanEdge (String spaceName, int part, String edgeName, int limit) |
scan edge of specific part with no return cols and limit config. More... | |
ScanEdgeResultIterator | scanEdge (String spaceName, String edgeName, List< String > returnCols, int limit, long startTime, long endTime) |
scan edge of all parts with return cols and limit, start time, end time config. More... | |
ScanEdgeResultIterator | scanEdge (String spaceName, int part, String edgeName, List< String > returnCols, int limit, long startTime, long endTime) |
scan edge of specific part with return cols and limit, start time, end time config. More... | |
ScanEdgeResultIterator | scanEdge (String spaceName, String edgeName, int limit, long startTime, long endTime) |
scan edge of all parts with no return cols and limit, start time, end time config. More... | |
ScanEdgeResultIterator | scanEdge (String spaceName, int part, String edgeName, int limit, long startTime, long endTime) |
scan edge of specific part with no return cols and limit, start time, end time config. More... | |
ScanEdgeResultIterator | scanEdge (String spaceName, String edgeName, List< String > returnCols, int limit, long startTime, long endTime, boolean allowPartSuccess, boolean allowReadFromFollower) |
scan edge of all parts with return cols and limit, start time, end time, if allow partial success, if allow read data from storage follower config. More... | |
ScanEdgeResultIterator | scanEdge (String spaceName, int part, String edgeName, List< String > returnCols, int limit, long startTime, long endTime, boolean allowPartSuccess, boolean allowReadFromFollower) |
scan edge of specific part with return cols and limit, start time, end time, if allow partial success, if allow read data from storage follower config. More... | |
ScanEdgeResultIterator | scanEdge (String spaceName, String edgeName, int limit, long startTime, long endTime, boolean allowPartSuccess, boolean allowReadFromFollower) |
scan edge of all parts with no return cols and limit, start time, end time, if allow partial success, if allow read data from storage follower config. More... | |
ScanEdgeResultIterator | scanEdge (String spaceName, int part, String edgeName, int limit, long startTime, long endTime, boolean allowPartSuccess, boolean allowReadFromFollower) |
scan edge of specific part with no return cols and limit, start time, end time, if allow partial success, if allow read data from storage follower config. More... | |
void | close () |
release storage client | |
Protected Member Functions | |
GraphStorageConnection | getConnection () |
return client's connection session More... | |
Definition at line 30 of file StorageClient.java.
StorageClient | ( | String | ip, |
int | port | ||
) |
Get a Nebula Storage client that executes the scan query to get NebulaGraph's data with one server host.
ip | the ip of metad server |
port | the port of metad server |
Definition at line 54 of file StorageClient.java.
StorageClient | ( | List< HostAddress > | addresses | ) |
Get a Nebula Storage client that executes the scan query to get NebulaGraph's data with multi servers' host.
addresses | the HostAddress list of metad servers |
Definition at line 64 of file StorageClient.java.
StorageClient | ( | List< HostAddress > | addresses, |
int | timeout | ||
) |
Get a Nebula Storage client that executes the scan query to get NebulaGraph's data with multi servers' hosts and timeout.
addresses | the HostAddress list of metad servers |
timeout | the timeout of scan vertex or edge |
Definition at line 76 of file StorageClient.java.
boolean connect | ( | ) | throws Exception |
Connect to Nebula Storage server.
Definition at line 103 of file StorageClient.java.
|
protected |
return client's connection session
Definition at line 1126 of file StorageClient.java.
ScanEdgeResultIterator scanEdge | ( | String | spaceName, |
int | part, | ||
String | edgeName | ||
) |
scan edge of specific part with no return cols.
the result only contains edge src id, dst id, rank.
spaceName | Nebula space name |
part | Nebula data partition |
edgeName | Nebula edge type name |
Definition at line 697 of file StorageClient.java.
ScanEdgeResultIterator scanEdge | ( | String | spaceName, |
int | part, | ||
String | edgeName, | ||
int | limit | ||
) |
scan edge of specific part with no return cols and limit config.
the result only contains edge src id, dst id, rank.
spaceName | Nebula space name |
part | Nebula data partition |
edgeName | Nebula edge type name |
limit | the data amount of scan operation for each partition in every iterator |
Definition at line 764 of file StorageClient.java.
ScanEdgeResultIterator scanEdge | ( | String | spaceName, |
int | part, | ||
String | edgeName, | ||
int | limit, | ||
long | startTime, | ||
long | endTime | ||
) |
scan edge of specific part with no return cols and limit, start time, end time config.
the result only contains edge src id, dst id, rank.
spaceName | Nebula space name |
part | Nebula data partition |
edgeName | Nebula edge type name |
limit | the data amount of scan operation for each partition in every iterator |
startTime | the time range's start time of the data to be scanned, if data was insert before start time, then it will not be return. |
endTime | the time range's end time of the data to be scanned, if data was insert after end time, then it will not be return. |
Definition at line 858 of file StorageClient.java.
ScanEdgeResultIterator scanEdge | ( | String | spaceName, |
int | part, | ||
String | edgeName, | ||
int | limit, | ||
long | startTime, | ||
long | endTime, | ||
boolean | allowPartSuccess, | ||
boolean | allowReadFromFollower | ||
) |
scan edge of specific part with no return cols and limit, start time, end time, if allow partial success, if allow read data from storage follower config.
the result only contains edge src id, dst id, rank.
spaceName | Nebula space name |
edgeName | Nebula edge type name |
part | Nebula data partition |
limit | the data amount of scan operation for each partition in every iterator |
startTime | the time range's start time of the data to be scanned, if data was insert before start time, then it will not be return. |
endTime | the time range's end time of the data to be scanned, if data was insert after end time, then it will not be return. |
allowPartSuccess | if allow part success |
allowReadFromFollower | if allow read from follower |
Definition at line 992 of file StorageClient.java.
ScanEdgeResultIterator scanEdge | ( | String | spaceName, |
int | part, | ||
String | edgeName, | ||
List< String > | returnCols | ||
) |
scan edge of specific part with return cols.
the result contains edge src id, dst id, rank and return cols.
spaceName | Nebula space name |
part | Nebula data partition |
edgeName | Nebula edge type name |
returnCols | Nebula edge properties to return |
Definition at line 668 of file StorageClient.java.
ScanEdgeResultIterator scanEdge | ( | String | spaceName, |
int | part, | ||
String | edgeName, | ||
List< String > | returnCols, | ||
int | limit | ||
) |
scan edge of specific part with return cols.
the result contains edge src id, dst id, rank and return cols.
spaceName | Nebula space name |
edgeName | Nebula edge type name |
returnCols | Nebula edge properties to return |
limit | the data amount of scan operation for each partition in every iterator |
Definition at line 731 of file StorageClient.java.
ScanEdgeResultIterator scanEdge | ( | String | spaceName, |
int | part, | ||
String | edgeName, | ||
List< String > | returnCols, | ||
int | limit, | ||
long | startTime, | ||
long | endTime | ||
) |
scan edge of specific part with return cols and limit, start time, end time config.
the result contains edge src id, dst id, rank and return cols.
spaceName | Nebula space name |
part | Nebula data partition |
edgeName | Nebula edge type name |
returnCols | Nebula edge properties to return |
limit | the data amount of scan operation for each partition in every iterator |
startTime | the time range's start time of the data to be scanned, if data was insert before start time, then it will not be return. |
endTime | the time range's end time of the data to be scanned, if data was insert after end time, then it will not be return. |
Definition at line 807 of file StorageClient.java.
ScanEdgeResultIterator scanEdge | ( | String | spaceName, |
int | part, | ||
String | edgeName, | ||
List< String > | returnCols, | ||
int | limit, | ||
long | startTime, | ||
long | endTime, | ||
boolean | allowPartSuccess, | ||
boolean | allowReadFromFollower | ||
) |
scan edge of specific part with return cols and limit, start time, end time, if allow partial success, if allow read data from storage follower config.
the result contains edge src id, dst id, rank and return cols.
spaceName | Nebula space name |
part | Nebula data partition |
edgeName | Nebula edge type name |
limit | the data amount of scan operation for each partition in every iterator |
startTime | the time range's start time of the data to be scanned, if data was insert before start time, then it will not be return. |
endTime | the time range's end time of the data to be scanned, if data was insert after end time, then it will not be return. |
allowPartSuccess | if allow part success |
allowReadFromFollower | if allow read from follower |
Definition at line 924 of file StorageClient.java.
ScanEdgeResultIterator scanEdge | ( | String | spaceName, |
String | edgeName | ||
) |
scan edge of all parts with no return cols.
the result only contains edge src id, dst id, rank.
spaceName | Nebula space name |
edgeName | Nebula edge type name |
Definition at line 683 of file StorageClient.java.
ScanEdgeResultIterator scanEdge | ( | String | spaceName, |
String | edgeName, | ||
int | limit | ||
) |
scan edge of all parts with no return cols and limit config.
the result only contains edge src id, dst id, rank.
spaceName | Nebula space name |
edgeName | Nebula edge type name |
limit | the data amount of scan operation for each partition in every iterator |
Definition at line 748 of file StorageClient.java.
ScanEdgeResultIterator scanEdge | ( | String | spaceName, |
String | edgeName, | ||
int | limit, | ||
long | startTime, | ||
long | endTime | ||
) |
scan edge of all parts with no return cols and limit, start time, end time config.
the result only contains edge src id, dst id, rank.
spaceName | Nebula space name |
edgeName | Nebula edge type name |
limit | the data amount of scan operation for each partition in every iterator |
startTime | the time range's start time of the data to be scanned, if data was insert before start time, then it will not be return. |
endTime | the time range's end time of the data to be scanned, if data was insert after end time, then it will not be return. |
Definition at line 833 of file StorageClient.java.
ScanEdgeResultIterator scanEdge | ( | String | spaceName, |
String | edgeName, | ||
int | limit, | ||
long | startTime, | ||
long | endTime, | ||
boolean | allowPartSuccess, | ||
boolean | allowReadFromFollower | ||
) |
scan edge of all parts with no return cols and limit, start time, end time, if allow partial success, if allow read data from storage follower config.
the result only contains edge src id, dst id, rank.
spaceName | Nebula space name |
edgeName | Nebula edge type name |
limit | the data amount of scan operation for each partition in every iterator |
startTime | the time range's start time of the data to be scanned, if data was insert before start time, then it will not be return. |
endTime | the time range's end time of the data to be scanned, if data was insert after end time, then it will not be return. |
allowPartSuccess | if allow part success |
allowReadFromFollower | if allow read from follower |
Definition at line 956 of file StorageClient.java.
ScanEdgeResultIterator scanEdge | ( | String | spaceName, |
String | edgeName, | ||
List< String > | returnCols | ||
) |
scan edge of all parts with return cols.
the result contains edge src id, dst id, rank and return cols.
spaceName | Nebula space name |
edgeName | Nebula edge type name |
returnCols | Nebula edge properties to return |
Definition at line 651 of file StorageClient.java.
ScanEdgeResultIterator scanEdge | ( | String | spaceName, |
String | edgeName, | ||
List< String > | returnCols, | ||
int | limit | ||
) |
scan edge of all parts with return cols and limit config.
the result contains edge src id, dst id, rank and return cols.
spaceName | Nebula space name |
edgeName | Nebula edge type name |
returnCols | Nebula edge properties to return |
limit | the data amount of scan operation for each partition in every iterator |
Definition at line 713 of file StorageClient.java.
ScanEdgeResultIterator scanEdge | ( | String | spaceName, |
String | edgeName, | ||
List< String > | returnCols, | ||
int | limit, | ||
long | startTime, | ||
long | endTime | ||
) |
scan edge of all parts with return cols and limit, start time, end time config.
the result only contains edge src id, dst id, rank and return cols.
spaceName | Nebula space name |
edgeName | Nebula edge type name |
returnCols | Nebula edge properties to return |
limit | the data amount of scan operation for each partition in every iterator |
Definition at line 780 of file StorageClient.java.
ScanEdgeResultIterator scanEdge | ( | String | spaceName, |
String | edgeName, | ||
List< String > | returnCols, | ||
int | limit, | ||
long | startTime, | ||
long | endTime, | ||
boolean | allowPartSuccess, | ||
boolean | allowReadFromFollower | ||
) |
scan edge of all parts with return cols and limit, start time, end time, if allow partial success, if allow read data from storage follower config.
the result contains edge src id, dst id, rank and return cols.
spaceName | Nebula space name |
edgeName | Nebula edge type name |
limit | the data amount of scan operation for each partition in every iterator |
startTime | the time range's start time of the data to be scanned, if data was insert before start time, then it will not be return. |
endTime | the time range's end time of the data to be scanned, if data was insert after end time, then it will not be return. |
allowPartSuccess | if allow part success |
allowReadFromFollower | if allow read from follower |
Definition at line 887 of file StorageClient.java.
ScanVertexResultIterator scanVertex | ( | String | spaceName, |
int | part, | ||
String | tagName | ||
) |
scan vertex of specific part with no return cols.
the result only contains vertex id.
spaceName | Nebula space name |
part | Nebula data partition |
tagName | Nebula tag name |
Definition at line 181 of file StorageClient.java.
ScanVertexResultIterator scanVertex | ( | String | spaceName, |
int | part, | ||
String | tagName, | ||
int | limit | ||
) |
scan vertex of specific part with no return cols and limit.
the result only contains vertex id.
spaceName | Nebula space name |
part | Nebula data partition |
tagName | Nebula tag name |
limit | the data amount of scan in every iterator |
Definition at line 252 of file StorageClient.java.
ScanVertexResultIterator scanVertex | ( | String | spaceName, |
int | part, | ||
String | tagName, | ||
int | limit, | ||
long | startTime, | ||
long | endTime | ||
) |
scan vertex of specific part with no returnCols, limit, startTime and endTime.
the result contains vertex id and return cols.
spaceName | Nebula space name |
tagName | Nebula tag name |
limit | the data amount of scan operation for each partition in every iterator |
startTime | the time range's start time of the data to be scanned, if data was insert before start time, then it will not be return. |
endTime | the time range's end time of the data to be scanned, if data was insert after end time, then it will not be return. |
Definition at line 349 of file StorageClient.java.
ScanVertexResultIterator scanVertex | ( | String | spaceName, |
int | part, | ||
String | tagName, | ||
int | limit, | ||
long | startTime, | ||
long | endTime, | ||
boolean | allowPartSuccess, | ||
boolean | allowReadFromFollower | ||
) |
scan vertex of specific part with no return cols, limit, startTime, endTime, whether allow partial success, whether allow read from storage follower.
the result only contains vertex id.
spaceName | Nebula graph space |
part | Nebula data partition |
tagName | Nebula tag name |
limit | the data amount of scan operation for each partition in every iterator |
startTime | the time range's start time of the data to be scanned, if data was insert before start time, then it will not be return. |
endTime | the time range's end time of the data to be scanned, if data was insert after end time, then it will not be return. |
allowPartSuccess | if allow part success |
allowReadFromFollower | if allow read from follower |
Definition at line 523 of file StorageClient.java.
ScanVertexResultIterator scanVertex | ( | String | spaceName, |
int | part, | ||
String | tagName, | ||
List< String > | returnCols | ||
) |
scan vertex of specific part with specific return cols, if returnCols is an empty list, then return all the columns of specific tagName.
the result contains vertex id and return cols.
spaceName | Nebula space name |
part | Nebula data partition |
tagName | Nebula tag name |
returnCols | Nebula tag properties to return |
Definition at line 153 of file StorageClient.java.
ScanVertexResultIterator scanVertex | ( | String | spaceName, |
int | part, | ||
String | tagName, | ||
List< String > | returnCols, | ||
int | limit | ||
) |
scan vertex of specific part with specific return cols and limit.
the result contains vertex id and return cols.
spaceName | Nebula space name |
part | Nebula data partition |
tagName | Nebula tag name |
returnCols | Nebula tag properties to return |
limit | the data amount of scan in every iterator |
Definition at line 216 of file StorageClient.java.
ScanVertexResultIterator scanVertex | ( | String | spaceName, |
int | part, | ||
String | tagName, | ||
List< String > | returnCols, | ||
int | limit, | ||
long | startTime, | ||
long | endTime | ||
) |
scan vertex of specific part with specific returnCols, limit, startTime and endTime.
the result contains vertex id and return cols.
spaceName | Nebula space name |
part | Nebula data partition |
tagName | Nebula tag name |
returnCols | Nebula tag properties to return |
limit | the data amount of scan operation for each partition in every iterator |
startTime | the time range's start time of the data to be scanned, if data was insert before start time, then it will not be return. |
endTime | the time range's end time of the data to be scanned, if data was insert after end time, then it will not be return. |
Definition at line 301 of file StorageClient.java.
ScanVertexResultIterator scanVertex | ( | String | spaceName, |
int | part, | ||
String | tagName, | ||
List< String > | returnCols, | ||
int | limit, | ||
long | startTime, | ||
long | endTime, | ||
boolean | allowPartSuccess, | ||
boolean | allowReadFromFollower | ||
) |
scan vertex of specific part with specific return cols, limit, startTime, endTime, whether allow partial success, whether allow read from storage follower.
the result contains vertex id and return cols.
spaceName | Nebula graph space |
part | Nebula data partition |
tagName | Nebula tag name |
returnCols | Nebula tag properties to return |
limit | the data amount of scan operation for each partition in every iterator |
startTime | the time range's start time of the data to be scanned, if data was insert before start time, then it will not be return. |
endTime | the time range's end time of the data to be scanned, if data was insert after end time, then it will not be return. |
allowPartSuccess | if allow part success |
allowReadFromFollower | if allow read from follower |
Definition at line 436 of file StorageClient.java.
ScanVertexResultIterator scanVertex | ( | String | spaceName, |
String | tagName | ||
) |
scan vertex of all parts with no return cols.
the result only contains vertex id.
spaceName | Nebula space name |
tagName | Nebula tag name |
Definition at line 167 of file StorageClient.java.
ScanVertexResultIterator scanVertex | ( | String | spaceName, |
String | tagName, | ||
int | limit | ||
) |
scan vertex of all parts with no return cols and limit.
the result only contains vertex id.
spaceName | Nebula space name |
tagName | Nebula tag name |
limit | the data amount of scan in every iterator |
Definition at line 235 of file StorageClient.java.
ScanVertexResultIterator scanVertex | ( | String | spaceName, |
String | tagName, | ||
int | limit, | ||
long | startTime, | ||
long | endTime | ||
) |
scan vertex of all parts with no returnCols, limit, startTime and endTime.
the result contains vertex id and return cols.
spaceName | Nebula space name |
tagName | Nebula tag name |
limit | the data amount of scan operation for each partition in every iterator |
startTime | the time range's start time of the data to be scanned, if data was insert before start time, then it will not be return. |
endTime | the time range's end time of the data to be scanned, if data was insert after end time, then it will not be return. |
Definition at line 326 of file StorageClient.java.
ScanVertexResultIterator scanVertex | ( | String | spaceName, |
String | tagName, | ||
int | limit, | ||
long | startTime, | ||
long | endTime, | ||
boolean | allowPartSuccess, | ||
boolean | allowReadFromFollower | ||
) |
scan vertex of all parts with no return cols, limit, startTime, endTime, whether allow partial success, whether allow read from storage follower.
the result only contains vertex id.
spaceName | Nebula graph space |
tagName | Nebula tag name |
limit | the data amount of scan operation for each partition in every iterator |
startTime | the time range's start time of the data to be scanned, if data was insert before start time, then it will not be return. |
endTime | the time range's end time of the data to be scanned, if data was insert after end time, then it will not be return. |
allowPartSuccess | if allow part success |
allowReadFromFollower | if allow read from follower |
Definition at line 479 of file StorageClient.java.
ScanVertexResultIterator scanVertex | ( | String | spaceName, |
String | tagName, | ||
List< String > | returnCols | ||
) |
scan vertex of all parts with specific return cols, if returnCols is an empty list, then return all the columns of specific tagName.
the result contains vertex id and return cols.
spaceName | Nebula space name |
tagName | Nebula tag name |
returnCols | Nebula tag properties to return |
Definition at line 136 of file StorageClient.java.
ScanVertexResultIterator scanVertex | ( | String | spaceName, |
String | tagName, | ||
List< String > | returnCols, | ||
int | limit | ||
) |
scan vertex of all parts with specific return cols and limit.
the result contains vertex id and return cols.
spaceName | Nebula space name |
tagName | Nebula tag name |
returnCols | Nebula tag properties to return |
limit | the data amount of scan in every iterator |
Definition at line 196 of file StorageClient.java.
ScanVertexResultIterator scanVertex | ( | String | spaceName, |
String | tagName, | ||
List< String > | returnCols, | ||
int | limit, | ||
long | startTime, | ||
long | endTime | ||
) |
scan vertex of all parts with specific returnCols, limit, startTime and endTime.
the result contains vertex id and return cols.
spaceName | Nebula space name |
tagName | Nebula tag name |
returnCols | nebula tag properties to return |
limit | the data amount of scan operation for each partition in every iterator |
startTime | the time range's start time of the data to be scanned, if data was insert before start time, then it will not be return. |
endTime | the time range's end time of the data to be scanned, if data was insert after end time, then it will not be return. |
Definition at line 275 of file StorageClient.java.
ScanVertexResultIterator scanVertex | ( | String | spaceName, |
String | tagName, | ||
List< String > | returnCols, | ||
int | limit, | ||
long | startTime, | ||
long | endTime, | ||
boolean | allowPartSuccess, | ||
boolean | allowReadFromFollower | ||
) |
scan vertex of all parts with specific return cols, limit, startTime, endTime, whether allow partial success, whether allow read from storage follower.
the result contains vertex id and return cols.
spaceName | Nebula graph space |
tagName | Nebula tag name |
returnCols | Nebula tag properties to return |
limit | the data amount of scan operation for each partition in every iterator |
startTime | the time range's start time of the data to be scanned, if data was insert before start time, then it will not be return. |
endTime | the time range's end time of the data to be scanned, if data was insert after end time, then it will not be return. |
allowPartSuccess | if allow part success |
allowReadFromFollower | if allow read from follower |
Definition at line 388 of file StorageClient.java.