Provides methods to define an operation that can be used to filter a data set.
<T>: The filtered data type.
| Property | Description |
|---|---|
| returnPayloadIfEmpty | Boolean. Indicates if the original payload should be returned when the query is empty. |
| Method | Description |
|---|---|
| Apply | Applies the filtering on an IEnumerable data set. |
| Test | Tests the query on a single object. Returns true if the test passes. |
| Property | Description |
|---|---|
| errors | A list of QueryErrors. |
| text | The text that generated the query. |
| tokens | The list of tokens found in the query. |
| valid | Indicates if the query is valid or not. |
| Method | Description |
|---|---|
| Apply | Applies the filtering on a payload. |
| GetNodeAtPosition | Get the query node located at the specified index position in the query. |
| Optimize | Optimizes the query by optimizing the underlying filtering graph. |