Package org.apache.calcite.materialize
Class TileKey
- java.lang.Object
-
- org.apache.calcite.materialize.TileKey
-
public class TileKey extends java.lang.Object
Definition of a particular combination of dimensions and measures of a lattice that is the basis of a materialization.Holds similar information to a
Lattice.Tile
but a lattice is immutable and tiles are not added after their creation.
-
-
Field Summary
Fields Modifier and Type Field Description ImmutableBitSet
dimensions
Lattice
lattice
com.google.common.collect.ImmutableList<Lattice.Measure>
measures
-
Constructor Summary
Constructors Constructor Description TileKey(Lattice lattice, ImmutableBitSet dimensions, com.google.common.collect.ImmutableList<Lattice.Measure> measures)
Creates a TileKey.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
int
hashCode()
java.lang.String
toString()
-
-
-
Field Detail
-
lattice
public final Lattice lattice
-
dimensions
public final ImmutableBitSet dimensions
-
measures
public final com.google.common.collect.ImmutableList<Lattice.Measure> measures
-
-
Constructor Detail
-
TileKey
public TileKey(Lattice lattice, ImmutableBitSet dimensions, com.google.common.collect.ImmutableList<Lattice.Measure> measures)
Creates a TileKey.
-
-