This project has retired. For details please refer to its Attic page.
QueryCompletionListener (Lens 2.0.1-beta-incubating API)

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.


Method Summary
 void onCompletion(QueryHandle handle)
          On completion.
 void onError(QueryHandle handle, String error)
          On error.
 

Method Detail

onCompletion

void onCompletion(QueryHandle handle)
On completion.

Parameters:
handle - the handle

onError

void onError(QueryHandle handle,
             String error)
On error.

Parameters:
handle - the handle
error - the error


Copyright © 2014–2015 Apache Software Foundation. All rights reserved.