dvs_query_interface.h
Last update: 17.04.2023
Go to the documentation of this file.
Interface for part/plot objects for DVS Reader API.
Definition: dvs_object_interface.h:45
virtual const DVS::IObject * get_plot(uint32_t index)=0
Get the plot object based on the index.
virtual dvs_ret get_num_servers(const char *uri, uint32_t &num_servers)=0
Get the num servers object.
virtual dvs_ret get_num_mesh_chunks(uint32_t &num_mesh_chunks)=0
Get the number of mesh chunks for this query.
virtual DVS::IQuery * filter(const char *filter)=0
The filter method will allocate a new chained query with the passed in filter appended to it.
virtual DVS::IDataset * get_dataset(uint32_t index)=0
Get the dataset object.
virtual dvs_ret get_num_parts(uint32_t &num_parts)=0
Get the number of parts for this query.
virtual dvs_ret get_num_variables(uint32_t &num_vars)=0
Get the number of variables for this query.
virtual const DVS::IObject * get_part(uint32_t index)=0
Get the part based on the index.
virtual dvs_ret get_num_timesteps(uint32_t &num_timesteps)=0
Get the number of timesteps.
virtual dvs_ret get_ranks(uint32_t *ranks)=0
Get the unique ranks for this filtered query.
virtual dvs_ret get_num_datasets(uint32_t &num_datasets)=0
Get the number of datasets objects.
virtual dvs_ret get_chunks_per_rank(uint32_t *chunks)=0
Get an array of the number of chunks for every rank for this query.
virtual const DVS::IVar * get_variable(uint32_t index)=0
Get the variable object based on the index.
virtual dvs_ret get_hash_available(const char *hash, bool &available)=0
Get if the hash is available in the blobstore.
virtual DVS::IMeshChunk * get_mesh_chunk(uint32_t index)=0
Get the mesh chunk based on the index.
virtual dvs_ret get_variable_data(const DVS::IObject *object, const DVS::IVar *var, float time, float *values)=0
Get variable values for dataset and part objects.
virtual dvs_ret get_num_plot_chunks(uint32_t &num_plot_chunks)=0
Get the number of plot chunks for this query.
virtual dvs_ret get_num_chunks_per_rank(uint32_t &num_chunks)=0
Get the number of chunks for each rank.
virtual dvs_ret get_num_ranks(uint32_t &num_ranks)=0
Get the number of ranks for this filtered query.
virtual dvs_ret get_num_plots(uint32_t &num_plots)=0
Get the number of plots for this query.
virtual void set_server_mod(uint32_t server_num, uint32_t server_mod)=0
Set a filter based on the server number and a modulus.
virtual dvs_ret get_timesteps(float *timesteps)=0
Get the timesteps object.
virtual dvs_ret add_uri(const char *uri)=0
Add a URI for the reader API to iterate over.
virtual DVS::IPlotChunk * get_plot_chunk(uint32_t index)=0
Get the plot chunk based on the index.
DVS Reader API Dataset Interface.
DVS Reader API Mesh Chunk Interface.
DVS Reader API Object Interface.
DVS Reader API Plot Chunk Interface.
DVS_DLL_EXPORT IQuery * CREATE_QUERY_INSTANCE()
Create a query interface object.
DVS Reader API Variable Interface.
Contains enums used in C/C++ API.
Contains errors used in the DVS C/C++ API.
int32_t dvs_ret
Return value of methods, TODO.
Definition: dynamic_visualization_store_error_codes.h:17
Logger Interface Class.