TinyBase logoTinyBase

Getter methods

This is the collection of getter methods within the Store interface. There are 23 getter methods in total.

getTables

The getTables method returns a Tables object containing the entire data of the Store.

getTablesJson

The getTablesJson method returns a string serialization of all of the Tables in the Store.

getTablesSchemaJson

The getTablesSchemaJson method returns a string serialization of the TablesSchema of the Store.

hasTables

The hasTables method returns a boolean indicating whether any Table objects exist in the Store.

getTableIds

The getTableIds method returns the Ids of every Table in the Store.

getTable

The getTable method returns an object containing the entire data of a single Table in the Store.

hasTable

The hasTable method returns a boolean indicating whether a given Table exists in the Store.

getRowIds

The getRowIds method returns the Ids of every Row in a given Table.

getSortedRowIds

The getSortedRowIds method returns the Ids of every Row in a given Table, sorted according to the values in a specified Cell.

getRow

The getRow method returns an object containing the entire data of a single Row in a given Table.

hasRow

The hasRow method returns a boolean indicating whether a given Row exists in the Store.

getCellIds

The getCellIds method returns the Ids of every Cell in a given Row, in a given Table.

getCell

The getCell method returns the value of a single Cell in a given Row, in a given Table.

hasCell

The hasCell method returns a boolean indicating whether a given Cell exists in the Store.

getJson

The getJson method returns a string serialization of all the Store content: both the Tables and the keyed Values.

getSchemaJson

The getSchemaJson method returns a string serialization of both the TablesSchema and ValuesSchema of the Store.

getValue

The getValue method returns a single keyed Value in the Store.

getValueIds

The getValueIds method returns the Ids of every Value in a Store.

getValues

The getValues method returns an object containing the entire set of keyed Values in the Store.

getValuesJson

The getValuesJson method returns a string serialization of all of the keyed Values in the Store.

getValuesSchemaJson

The getValuesSchemaJson method returns a string serialization of the ValuesSchema of the Store.

hasValue

The hasValue method returns a boolean indicating whether a given Value exists in the Store.

hasValues

The hasTables method returns a boolean indicating whether any Values exist in the Store.