Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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.
Filter' | |
|
Instances
Eq Filter Source # | |
Show Filter Source # | |
Generic Filter Source # | |
NFData Filter Source # | |
Defined in Amazonka.HoneyCode.Types.Filter | |
Hashable Filter Source # | |
Defined in Amazonka.HoneyCode.Types.Filter | |
ToJSON 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" "libZSservicesZSamazonka-honeycodeZSamazonka-honeycode" '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.