NebulaGraph Java Client  release-3.6
ScanVertexResultIterator Class Reference

ScanVertexResult's iterator. More...

+ Inheritance diagram for ScanVertexResultIterator:
+ Collaboration diagram for ScanVertexResultIterator:

Classes

class  ScanVertexResultBuilder
 builder to build ScanVertexResult
 

Public Member Functions

ScanVertexResult next () throws Exception
 get the next vertex set More...
 
- Public Member Functions inherited from ScanResultIterator
boolean hasNext ()
 if iter has more vertex data More...
 

Additional Inherited Members

- Protected Member Functions inherited from ScanResultIterator
 ScanResultIterator (MetaManager metaManager, StorageConnPool pool, PartScanQueue partScanQueue, List< HostAddress > addresses, String spaceName, String labelName, boolean partSuccess)
 
void freshLeader (String spaceName, int part, HostAddr leader)
 fresh leader for part More...
 
HostAddress getLeader (HostAddr leader)
 
void handleNullResponse (PartScanInfo partInfo, List< Exception > exceptions)
 
void handleNullResult (PartScanInfo partInfo, List< Exception > exceptions)
 
void throwExceptions (List< Exception > exceptions) throws ExecuteFailedException
 
boolean isSuccessful (ScanResponse response)
 
void handleSucceedResult (AtomicInteger existSuccess, ScanResponse response, PartScanInfo partInfo)
 
void handleFailedResult (ScanResponse response, PartScanInfo partInfo, List< Exception > exceptions)
 
- Protected Attributes inherited from ScanResultIterator
boolean hasNext = true
 
final Map< Integer, byte[]> partCursor
 
final MetaManager metaManager
 
final StorageConnPool pool
 
final PartScanQueue partScanQueue
 
final List< HostAddressaddresses
 
final String spaceName
 
final String labelName
 
final boolean partSuccess
 

Detailed Description

ScanVertexResult's iterator.

Definition at line 34 of file ScanVertexResultIterator.java.

Member Function Documentation

◆ next()

ScanVertexResult next ( ) throws Exception

get the next vertex set

in every next function, the client will send new scan request to storage server parallel, and the parallel num is the space's leader hosts.

Returns
ScanVertexResult

Definition at line 62 of file ScanVertexResultIterator.java.

+ Here is the call graph for this function:

The documentation for this class was generated from the following file: