> ## Documentation Index
> Fetch the complete documentation index at: https://docs.activeviam.com/llms.txt
> Use this file to discover all available pages before exploring further.

# atoti.QueryCubeDefinition

### *final class* atoti.QueryCubeDefinition

The definition to create a [`QueryCube`](./atoti.distribution.query_cube#atoti.QueryCube).

#### allow\_data\_duplication *: [bool](https://docs.python.org/3/library/functions.html#bool)* *= False*

Whether to allow multiple data cubes in the same cluster to share some members in the [`distributing_levels`](#atoti.QueryCubeDefinition.distributing_levels).

If `True`, the priority of each data node can be configured when calling [`atoti.Session.create_cube()`](./atoti.Session.create_cube#atoti.Session.create_cube).

See the [Atoti Server docs](https://docs.activeviam.com/products/atoti/server/6.2/docs/distributed/data_overlap/) for more information.

#### cluster *: HasIdentifier\[ClusterIdentifier] | ClusterIdentifier*

Cluster joined by the query cube.

#### distributing\_levels *: [Set](https://docs.python.org/3/library/collections.abc.html#collections.abc.Set)\[[tuple](https://docs.python.org/3/library/stdtypes.html#tuple)\[[str](https://docs.python.org/3/library/stdtypes.html#str), [str](https://docs.python.org/3/library/stdtypes.html#str), [str](https://docs.python.org/3/library/stdtypes.html#str)]]* *= frozenset(\{})*

The [`distributing_levels`](./atoti.QueryCube.distributing_levels#atoti.QueryCube.distributing_levels).
