Grassroots Infrastructure
The Grassroots Infrastructure is a suite of computing tools to help users and developers use scientific data infrastructure that can easily be interconnected.
treatment_jobs.h File Reference
Include dependency graph for treatment_jobs.h:

Go to the source code of this file.

Functions

bool AddSubmissionTreatmentParams (ServiceData *data_p, ParameterSet *param_set_p, DataResource *resource_p)
 
bool RunForSubmissionTreatmentParams (FieldTrialServiceData *data_p, ParameterSet *param_set_p, ServiceJob *job_p)
 
bool GetSubmissionTreatmentParameterTypeForNamedParameter (const char *param_name_s, ParameterType *pt_p)
 
json_t * GetTreatmentIndexingData (Service *service_p)
 
json_t * GetAllTreatmentsAsJSON (const FieldTrialServiceData *data_p, bson_t *opts_p)
 
TreatmentGetTreatmentByIdString (const char *treatment_id_s, const ViewFormat format, const FieldTrialServiceData *data_p)
 
TreatmentGetTreatmentById (const bson_oid_t *id_p, const ViewFormat format, const FieldTrialServiceData *data_p)
 
TreatmentGetTreatmentByURL (const char *term_url_s, const ViewFormat format, const FieldTrialServiceData *data_p)
 
bool AddTreatmentToServiceJob (ServiceJob *job_p, Treatment *treatment_p, const ViewFormat format, FieldTrialServiceData *data_p)
 

Function Documentation

◆ AddSubmissionTreatmentParams()

bool AddSubmissionTreatmentParams ( ServiceData data_p,
ParameterSet param_set_p,
DataResource resource_p 
)

◆ RunForSubmissionTreatmentParams()

bool RunForSubmissionTreatmentParams ( FieldTrialServiceData data_p,
ParameterSet param_set_p,
ServiceJob job_p 
)

◆ GetSubmissionTreatmentParameterTypeForNamedParameter()

bool GetSubmissionTreatmentParameterTypeForNamedParameter ( const char *  param_name_s,
ParameterType pt_p 
)

◆ GetTreatmentIndexingData()

json_t* GetTreatmentIndexingData ( Service service_p)

◆ GetAllTreatmentsAsJSON()

json_t* GetAllTreatmentsAsJSON ( const FieldTrialServiceData data_p,
bson_t *  opts_p 
)

◆ GetTreatmentByIdString()

Treatment* GetTreatmentByIdString ( const char *  treatment_id_s,
const ViewFormat  format,
const FieldTrialServiceData data_p 
)

◆ GetTreatmentById()

Treatment* GetTreatmentById ( const bson_oid_t *  id_p,
const ViewFormat  format,
const FieldTrialServiceData data_p 
)

◆ GetTreatmentByURL()

Treatment* GetTreatmentByURL ( const char *  term_url_s,
const ViewFormat  format,
const FieldTrialServiceData data_p 
)

◆ AddTreatmentToServiceJob()

bool AddTreatmentToServiceJob ( ServiceJob job_p,
Treatment treatment_p,
const ViewFormat  format,
FieldTrialServiceData data_p 
)