zcollection.indexing.abc.Indexer.query#
- Indexer.query(columns, *, logical_op=None, mask=None, only_partition_keys=True)[source]#
Query the index.
- Parameters:
columns (QueryDict) – Dictionary of columns to query.
logical_op (str | None) – The logical operator to use. Can be “and”, “and_not”, “invert”, “or”, “xor”. Defaults to “and”.
mask (ChunkedArray | None) – An optional mask to apply to the table before querying.
only_partition_keys (bool) – If True, only the partition keys are kept.
- Returns:
Indexer.
- Return type: