public InputStream queryForStream() {
		URI uri = uriBuilder.build();
		if(allDocsKeys != null) { // bulk docs
			return getStream(dbc.post(uri, allDocsKeys));
		}
		
		return dbc.get(uri);
	}
public InputStream queryForStream() {
		URI uri = uriBuilder.build();
		if(allDocsKeys != null) { 
			return getStream(dbc.post(uri, allDocsKeys));
		}
		
		return dbc.get(uri);
	}
public InputStream queryForStream ( ) { URI uri = uriBuilder . build ( ) ; if ( allDocsKeys != null ) { // bulk docs return getStream ( dbc . post ( uri , allDocsKeys ) ) ; } return dbc . get ( uri ) ; }
Queries a view as an {@link InputStream}
<p>The stream should be properly closed after usage, as to avoid connection leaks.
@return The result as an {@link InputStream}.
Queries a view as an {