| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.HoneyCode.Types.Filter
Description
Documentation
An object that represents a filter formula along with the id of the context row under which the filter function needs to evaluate.
See: newFilter smart constructor.
Constructors
| Filter' | |
Fields
| |
Instances
| ToJSON Filter Source # | |
Defined in Amazonka.HoneyCode.Types.Filter | |
| Generic Filter Source # | |
| Show Filter Source # | |
| NFData Filter Source # | |
Defined in Amazonka.HoneyCode.Types.Filter | |
| Eq Filter Source # | |
| Hashable Filter Source # | |
Defined in Amazonka.HoneyCode.Types.Filter | |
| type Rep Filter Source # | |
Defined in Amazonka.HoneyCode.Types.Filter type Rep Filter = D1 ('MetaData "Filter" "Amazonka.HoneyCode.Types.Filter" "amazonka-honeycode-2.0-IdtoOmZm6eT6kjUDWwPe6X" 'False) (C1 ('MetaCons "Filter'" 'PrefixI 'True) (S1 ('MetaSel ('Just "contextRowId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "formula") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Sensitive Text)))) | |
Create a value of Filter with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:contextRowId:Filter', filter_contextRowId - The optional contextRowId attribute can be used to specify the row id of
the context row if the filter formula contains unqualified references to
table columns and needs a context row to evaluate them successfully.
$sel:formula:Filter', filter_formula - A formula representing a filter function that returns zero or more
matching rows from a table. Valid formulas in this field return a list
of rows from a table. The most common ways of writing a formula to
return a list of rows are to use the FindRow() or Filter() functions.
Any other formula that returns zero or more rows is also acceptable. For
example, you can use a formula that points to a cell that contains a
filter function.
filter_contextRowId :: Lens' Filter (Maybe Text) Source #
The optional contextRowId attribute can be used to specify the row id of the context row if the filter formula contains unqualified references to table columns and needs a context row to evaluate them successfully.
filter_formula :: Lens' Filter Text Source #
A formula representing a filter function that returns zero or more matching rows from a table. Valid formulas in this field return a list of rows from a table. The most common ways of writing a formula to return a list of rows are to use the FindRow() or Filter() functions. Any other formula that returns zero or more rows is also acceptable. For example, you can use a formula that points to a cell that contains a filter function.