When running queryFeatures on a FeatureLayerView, only the features that are currently in the extent are returned. Is there any way to query for all graphics that have been drawn / downloaded from the server? I would like to be able to get statistics on a large area even if the user is zoomed in and only looking at a few features. I don't want to make any more server / rest endpoint requests, this becomes too slow.
Here is a jsbin that logs the number of features to demonstrate what I am talking about.
https://output.jsbin.com/jojonuhehi
Thanks.