Stores actual columns of data on the client. Used by lightweight "data source" models. Supports performing the following CRUD operations.
-
create new columns
-
replace all columns
-
replace selected columns
-
append to all columns
-
append to all columns, roll buffer
-
patch arbitrary indices
-
delete columns
Index of to ClientDataStore, does not live in any Bokeh Document.
A lightweight data source object that lives in a Bokeh Document. Is configured with, or can reference a ClientDataStore in Bokeh._data_store
{ type: "COLUMN" name: # column name dtype: # float32, float64, int32, int64, int8, uint8 size: # array size in bytes shape: [, , ...] }
"\0"
# utf-8 header, interpreted as JSON
[] # optional JSON+binary payload described by header
{ action: "CREATE_S" docid: modelid: columns: ["foo", "bar", "baz"] }
{ action: "REPLACE" docid: modelid: columns: ["foo", "bar", "baz"] }
{ action: "APPEND" docid: modelid: columns: ["foo", "bar", "baz"] }
{ action: "ROLLOVER" docid: modelid: columns: ["foo", "bar", "baz"] }
{ action: "DELETE" docid: modelid: columns: ["foo", "bar", "baz"] }
{ action: "PATCH" docid: modelid: updates: { "foo": [ [, data], [, data], ... ], "bar": [ [, data], [, data], ... ], "baz": [ [, data], [, data], ... ] ] }