deephaven_enterprise.acl_generator

conjunctive(*generators)[source]

Create a filter generator that conjunctively combines the input generators

Parameters:

generators (AclFilterGenerator) – the generators to combine

Returns:

a conjunctive filter generator

disjunctive(*generators)[source]

Create a filter generator that disjunctively combines the input generators

Parameters:

generators (AclFilterGenerator) – the generators to combine

Returns:

a disjunctively filter generator

full_access()[source]

Create a filter generator that gives full access to the table.

Returns:

a generator for full access

group(group_column, matches_set=False)[source]

Create a filter generator that filters rows based on group data contained within the table.

Parameters:
  • group_column (str) – the column containing the group data

  • matches_set (bool) – if the filter should match groups within a column that is a list or array or groups (defaults to False)

Returns:

a generator that filters based on group data in the table

no_access()[source]

Create a filter generator that gives no access to the table.

Returns:

a generator for no access

where(*filters)[source]

Create a filter generator from a set of simple where clauses. :type filters: str :param filters: the filters to apply :return: a generator that applies the defined clauses

where_in(set_namespace, set_table_name, set_group_column, set_filters, use_historical, *match_expressions)[source]

Create a filter generator that applies a where_in() filter from a “Set” table containing the grouping information

Parameters:
  • set_namespace (str) – the namespace of the “Set” table

  • set_table_name (str) – the table name of the “Set” table

  • set_group_column (str) – the column in the “Set” table containing the group information

  • set_filters (list) – a set of expressions to filter the “Set” table

  • use_historical (bool) – if the “Set” table should ceom from the historical data store

  • match_expressions (str) – the set of columns to match between the two tables

Returns:

a filter generator that creates where_in filters

where_in_table(set_table, set_group_column, set_filters, *match_expressions)[source]

Create a filter generator that applies a where_in() filter from a “Set” table containing the grouping information

Parameters:
  • set_table (Table) – the set table

  • set_group_column (str) – the column in the “Set” table containing the group information

  • set_filters (list) – a set of expressions to filter the “Set” table

  • match_expressions (str) – the set of columns to match between the two tables

Returns:

a filter generator that creates where_in filters