public class BackendClient extends Object
| Constructor and Description |
|---|
BackendClient(Routing routing,
Settings settings) |
| Modifier and Type | Method and Description |
|---|---|
void |
closeScanner(com.starrocks.thrift.TScanCloseParams closeParams)
close an scanner.
|
com.starrocks.thrift.TScanBatchResult |
getNext(com.starrocks.thrift.TScanNextBatchParams nextBatchParams)
get next row batch from StarRocks BE
|
com.starrocks.thrift.TScanOpenResult |
openScanner(com.starrocks.thrift.TScanOpenParams openParams)
Open a scanner for reading StarRocks data.
|
public BackendClient(Routing routing, Settings settings) throws ConnectedFailedException
ConnectedFailedExceptionpublic com.starrocks.thrift.TScanOpenResult openScanner(com.starrocks.thrift.TScanOpenParams openParams)
throws ConnectedFailedException
openParams - thrift struct to required by requestConnectedFailedException - throw if cannot connect to StarRocks BEpublic com.starrocks.thrift.TScanBatchResult getNext(com.starrocks.thrift.TScanNextBatchParams nextBatchParams)
throws StarrocksException
nextBatchParams - thrift struct to required by requestConnectedFailedException - throw if cannot connect to StarRocks BEStarrocksExceptionpublic void closeScanner(com.starrocks.thrift.TScanCloseParams closeParams)
closeParams - thrift struct to required by requestCopyright © 2024. All rights reserved.