This interface includes the methods which are required in a data store
implementation.
It expects data to be organized as dictionaries of
data sets and data records, where data set refers to a specific data type
(i.e. 'wellbore-headers') and records to a specific item in the set
indexed by a key (i.e. wellbore id)
get: retrieve a single record from the specified data set with the specified key
all: retrieve all records from the specified data set
query: retrieve all records from the specified data set matching the query partial values
set: set a single record into the specified data set with the specified key
Example of using query to retrieve all wellbore headers for a specific well:
This interface includes the methods which are required in a data store implementation.
It expects data to be organized as dictionaries of data sets and data records, where data set refers to a specific data type (i.e. 'wellbore-headers') and records to a specific item in the set indexed by a key (i.e. wellbore id)
get: retrieve a single record from the specified data set with the specified key all: retrieve all records from the specified data set query: retrieve all records from the specified data set matching the query partial values set: set a single record into the specified data set with the specified key
Example of using query to retrieve all wellbore headers for a specific well:
Example