|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RecordCountConsumer
The RecordCountConsumer interface needs to be implemented by a class wishing to receive record count information asynchronously.
Method Summary | |
---|---|
void |
done(java.lang.String dataSetId,
java.lang.String queryId)
Called when the record count response has be received. |
void |
exception(java.lang.String dataSetId,
java.lang.String queryId,
java.lang.Exception exception)
Called if an exception occurs during processing of the request. |
void |
httpResponseCode(java.lang.String dataSetId,
java.lang.String queryId,
int code)
Called with the HTTP response code that results from a record count query. |
void |
recordCount(java.lang.String dataSetId,
java.lang.String queryId,
RecordCountResponse recordCount)
Called for the record count response. |
Method Detail |
---|
void httpResponseCode(java.lang.String dataSetId, java.lang.String queryId, int code)
dataSetId
- the data set IDqueryId
- the unique query IDcode
- the HTTP response codevoid recordCount(java.lang.String dataSetId, java.lang.String queryId, RecordCountResponse recordCount)
dataSetId
- the data set IDqueryId
- the unique query IDrecordCount
- the record count for the queryvoid exception(java.lang.String dataSetId, java.lang.String queryId, java.lang.Exception exception)
exception
- the exception that occurredvoid done(java.lang.String dataSetId, java.lang.String queryId)
dataSetId
- the data set IDqueryId
- the unique query ID
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |