Package | Description |
---|---|
org.apache.lens.cube.parse | |
org.apache.lens.driver.cube |
Modifier and Type | Method and Description |
---|---|
CubeQueryContext |
SingleFactMultiStorageHQLContext.getQuery() |
CubeQueryContext |
CubeQueryRewriter.rewrite(org.apache.hadoop.hive.ql.parse.ASTNode astnode) |
CubeQueryContext |
CubeQueryRewriter.rewrite(String command) |
Modifier and Type | Method and Description |
---|---|
void |
CandidateFact.copyASTs(CubeQueryContext cubeql) |
Set<String> |
CandidateFact.getTimePartCols(CubeQueryContext query) |
static String |
TimeRangeUtils.getTimeRangePartitionFilter(FactPartition partition,
CubeQueryContext cubeQueryContext,
String tableName) |
String |
TimeRangeWriter.getTimeRangeWhereClause(CubeQueryContext cubeQueryContext,
String tableName,
Set<FactPartition> parts) |
String |
ORTimeRangeWriter.getTimeRangeWhereClause(CubeQueryContext cubeQueryContext,
String tableName,
Set<FactPartition> rangeParts) |
String |
BetweenTimeRangeWriter.getTimeRangeWhereClause(CubeQueryContext cubeQueryContext,
String tableName,
Set<FactPartition> rangeParts) |
String |
AbridgedTimeRangeWriter.getTimeRangeWhereClause(CubeQueryContext cubeQueryContext,
String tableName,
Set<FactPartition> parts)
Return IN clause for the partitions selected in the cube query
|
void |
LightestFactResolver.rewriteContext(CubeQueryContext cubeql) |
void |
FieldValidator.rewriteContext(CubeQueryContext cubeql) |
void |
DenormalizationResolver.rewriteContext(CubeQueryContext cubeql)
Find all de-normalized columns, if these columns are not directly available in candidate tables, query will be
replaced with the corresponding table reference
|
void |
CandidateFact.updateASTs(CubeQueryContext cubeql)
Update the ASTs to include only the fields queried from this fact, in all the expressions
|
void |
CandidateFact.updateTimeranges(CubeQueryContext cubeql) |
abstract boolean |
ValidationRule.validate(CubeQueryContext ctx) |
boolean |
CheckTableNames.validate(CubeQueryContext ctx) |
boolean |
CheckColumnMapping.validate(CubeQueryContext ctx) |
void |
FieldValidator.validateFields(CubeQueryContext cubeql) |
Constructor and Description |
---|
RewriterPlan(Collection<CubeQueryContext> cubeQueries) |
Copyright © 2014–2015 Apache Software Foundation. All rights reserved.