ComplexArg - all info that is necessary to compute argument value from context
Root - the root slice (or object) from to work against
Filters - a slice of filters to apply to the root object, one after another (e.i. with AND condition between each one)
Accessor - the key to access to each result after filter
Transformers - a slice to transformers to apply on the result of the accessed key from each result
e.g. if user want to take from context all File.DisplayName where File.Extension is 'EXE', and the result in uppercase than:
Root: is "File"
Filters: will hold the "File.DisplayName where File.Extension is 'EXE'" query
Accessor: is "DisplayName"
Transformers: will hold the uppercase transformation
accessor
optional
|
String
|
|
filters
optional
|
array[List]
|
|
root
optional
|
String
|
|
transformers
optional
|
array[ArgTransformer] |