public interface CancellableQuery
Modifier and Type | Method and Description |
---|---|
boolean |
cancel()
Cancel the query if it is currently running.
|
QueryResults |
execute()
Execute the query and get the results.
|
QueryResults execute() throws QueryCancelledException, RepositoryException
QueryCancelledException
- if the query was cancelledRepositoryException
- if there was a problem executing the queryboolean cancel()
Copyright © 2008–2016 JBoss, a division of Red Hat. All rights reserved.