public static class QueryBuilder.SummaryOnlyQueryEventListener extends Object implements UserResultsListener
QueryBuilder.QuerySummaryFuture.| Constructor and Description |
|---|
SummaryOnlyQueryEventListener(QueryBuilder.QuerySummaryFuture future) |
| Modifier and Type | Method and Description |
|---|---|
void |
dataArrived(QueryDataBatch result,
ConnectionThrottle throttle)
A
QueryData message was received |
void |
queryCompleted(UserBitShared.QueryResult.QueryState state)
The query has completed (successful completion or cancellation).
|
void |
queryIdArrived(UserBitShared.QueryId queryId)
QueryId is available.
|
void |
submissionFailed(UserException ex)
The query has failed.
|
public SummaryOnlyQueryEventListener(QueryBuilder.QuerySummaryFuture future)
public void queryIdArrived(UserBitShared.QueryId queryId)
UserResultsListenerqueryIdArrived in interface UserResultsListenerqueryId - sent by the server along Acks.OKpublic void submissionFailed(UserException ex)
UserResultsListenerdataArrived()
throws an exceptionsubmissionFailed in interface UserResultsListenerex - exception describing the cause of the failurepublic void dataArrived(QueryDataBatch result, ConnectionThrottle throttle)
UserResultsListenerQueryData message was receiveddataArrived in interface UserResultsListenerresult - data batch receivedthrottle - connection throttlepublic void queryCompleted(UserBitShared.QueryResult.QueryState state)
UserResultsListenerqueryCompleted in interface UserResultsListenerCopyright © 2021 The Apache Software Foundation. All rights reserved.