TinyBase logoTinyBase

Getter methods

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

getTables

The getTables method returns a Tables object containing the entire tabular 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.

hasTablesSchema

The hasTablesSchema method returns a boolean indicating whether the Store currently has a TablesSchema applied to it.

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.

getTableCellIds

The getTableCellIds method returns the Ids of every Cell used across the whole Table.

hasTable

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

hasTableCell

The hasTableCell method returns a boolean indicating whether a given Cell exists anywhere in a Table, not just in a specific Row.

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.

getRowCount

The getRowCount method returns the count of the Row objects 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 a given Row in a given Table.

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.

hasValues

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

hasValuesSchema

The hasValuesSchema method returns a boolean indicating whether the Store currently has a ValuesSchema applied to it.

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.

hasValue

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

getContent

The getContent method returns a Tables object and a Values object in an array, representing the entire content of 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.