public interface Aggregation
DefaultCube.
Aggregation usually defines a list of dimensions, or dimensions that are extracted from the
CubeFact when it is
added to the Cube. Configuring a
Cube to compute an aggregation allows later querying for data based
on those dimensions the data is aggregated for. See also CubeQuery.| Modifier and Type | Method and Description |
|---|---|
boolean |
accept(co.cask.cdap.api.dataset.lib.cube.CubeFact fact)
Filters out
CubeFacts which should not be added into this aggregation. |
List<String> |
getDimensionNames()
Defines the dimensions to do the aggregation for.
|
List<String> getDimensionNames()
Cube,
the order of the dimension names can be used as is to form a row key.
That in turn may affect the performance of the querying. Usually you want to put most frequently defined dimensions
(dimensions with values to slice by in CubeQuery to be in front.boolean accept(co.cask.cdap.api.dataset.lib.cube.CubeFact fact)
CubeFacts which should not be added into this aggregation.fact - fact to testCopyright © 2016 Cask Data, Inc. Licensed under the Apache License, Version 2.0.