T - public interface QueryForObjectListener<T>
T or an Exception.| Modifier and Type | Method and Description |
|---|---|
void |
onException(Exception ex)
Called if an exception is raised while getting or converting the
ResultSet. |
void |
onQueryComplete(T result)
Called upon query completion.
|
void onQueryComplete(T result)
result - the result, can be null for empty single-record results.void onException(Exception ex)
ResultSet.ex - the exception that triggered the failure, never null.Copyright © 2011–2019 Pivotal Software, Inc.. All rights reserved.