The cursor is an index that points to the current position within the selected points in the Scatter plot.
The total number of points that have been evaluated for the selection.
This is supplied because deepscatter doesn't evaluate functions on tiles untile they are loaded.
Private
eventsname: The name of the selection. This will be used as the colun name in the Arrow record batches and are necessary for users to define so that they can use the selection in subsequent plotAPI calls to apply aesthetics to the selection.
They must be globally unique in the session.
e.g. 'search: fish', '54-abcdf', 'selection at 07:34:12', 'selección compuesta número 1'
Has the selection been applied to the dataset (does not mean it has been applied to all points.)
The total number of points in the selection. It is used to know the size of the selected data.
Optional
typeOptionally, a user-defined for defining.
If you're using this, I recommend defining your own application schema but I'm not going to force you throw type hints right now because, you know. I'm not a monster.
e.g.: ['search', 'lasso', 'random', 'cherry-pick']
The total number of points in the set. At present, always a light wrapper around the total number of points in the dataset.
the name for the column to assign in the dataset.
The transformation to apply
Private
add_Ensures that the selection has been evaluated on all tiles loaded in the dataset. This is useful if, for example, your selection represents a search, and you are zoomed in on one portion of the map; this will immediately execute the search (subject to delays to avoid blocking the main thread) on all tiles that have been fetched even if out of the viewport.
Resolves upon completion.
Private
dispatchReturns the nth element in the selection. This is a bit tricky because the selection is stored as a list of tiles, each of which has a list of matches. So we have to iterate through the tiles until we find the one that contains the nth match, then iterate through the matches in that tile until we find the nth match.
the index of the row to get
A function that combines two selections into a third selection that is the intersection of the two. Note--for more complicated queries than simple intersection/union, use the (not yet defined) disjunctive normal form constructor.
Advances the cursor (the currently selected point) by a given number of rows. steps forward or backward. Wraps from the beginning to the end.
the selection, for chaining
the number of rows to move the cursor by
A function that combines two selections into a third selection that is the union of the two.
Private
wrapTakes a user-defined supplied transformation and adds some bookkeeping for the various count variables.
the user-defined transformation
Generated using TypeDoc
Has the selection run on all tiles in the dataset?