public static < T > IQueryResult < T > abortResult ( String reason ) { return packageResult ( null , CompletionStatus . ABORTED , reason == null ? null : Collections . singletonMap ( "reason" , ( Object ) reason ) ) ; }
Returns a query result for an aborted operation .