public class FactPartitionBasedQueryCostCalculator extends Object implements QueryCostCalculator
Modifier and Type | Field and Description |
---|---|
static String |
UPDATE_PERIOD_WEIGHT_PREFIX |
Constructor and Description |
---|
FactPartitionBasedQueryCostCalculator() |
Modifier and Type | Method and Description |
---|---|
QueryCost |
calculateCost(AbstractQueryContext queryContext,
LensDriver driver) |
Map<String,Set<?>> |
getAllPartitions(AbstractQueryContext queryContext,
LensDriver driver) |
public static final String UPDATE_PERIOD_WEIGHT_PREFIX
public FactPartitionBasedQueryCostCalculator()
public QueryCost calculateCost(AbstractQueryContext queryContext, LensDriver driver) throws LensException
calculateCost
in interface QueryCostCalculator
LensException
- when can't calculate costpublic Map<String,Set<?>> getAllPartitions(AbstractQueryContext queryContext, LensDriver driver)
Copyright © 2014–2018 Apache Software Foundation. All rights reserved.