-
Type:
Improvement
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
Query Optimization
-
None
-
None
-
None
-
None
-
None
-
None
-
None
Currently we have one SampleSpec class that describes all sample requests, of which there are 3 types:
- request to generate an OTF sample
- request to load a persistent sample
- request to refresh a persistent sample
These types all have different parameter requirements, and it's messy to manage which fields should be filled out for which types. It would be better to handle in an object oriented way by defining each of the 3 spec types as subclasses.