org.apache.lens.server.api.driver
Interface QueryCompletionListener
public interface QueryCompletionListener
The listener interface for receiving queryCompletion events. The class that is interested in processing a
queryCompletion event implements this interface, and the object created with that class is registered with a
component using the component's addQueryCompletionListener method. When
the queryCompletion event occurs, that object's appropriate
method is invoked.
onCompletion
void onCompletion(QueryHandle handle)
- On completion.
- Parameters:
handle - the handle
onError
void onError(QueryHandle handle,
String error)
- On error.
- Parameters:
handle - the handleerror - the error
Copyright © 2014–2015 Apache Software Foundation. All rights reserved.