public interface UserResultsListener
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.
|
void queryIdArrived(UserBitShared.QueryId queryId)
queryId
- sent by the server along Acks.OK
void submissionFailed(UserException ex)
dataArrived()
throws an exceptionex
- exception describing the cause of the failurevoid dataArrived(QueryDataBatch result, ConnectionThrottle throttle)
QueryData
message was receivedresult
- data batch receivedthrottle
- connection throttlevoid queryCompleted(UserBitShared.QueryResult.QueryState state)
Copyright © 1970 The Apache Software Foundation. All rights reserved.