Package | Description |
---|---|
org.apache.lens.cube.metadata | |
org.apache.lens.cube.parse | |
org.apache.lens.cube.parse.join | |
org.apache.lens.server.metastore |
Modifier and Type | Method and Description |
---|---|
Dimension |
CubeMetastoreClient.getDimension(String tableName)
Get
Cube object corresponding to the name |
Modifier and Type | Method and Description |
---|---|
Collection<Dimension> |
CubeMetastoreClient.getAllDimensions()
Get all cubes in metastore
|
Modifier and Type | Method and Description |
---|---|
void |
JoinChain.addProperties(Dimension dimension) |
void |
CubeMetastoreClient.alterDimension(String dimName,
Dimension newDim)
Alter dimension specified by the dimension name to new definition
|
void |
CubeMetastoreClient.createDimension(Dimension dim)
Create dimension in metastore defined by
Dimension object |
List<CubeDimensionTable> |
CubeMetastoreClient.getAllDimensionTables(Dimension dim)
Get all dimension tables of the dimension.
|
Modifier and Type | Method and Description |
---|---|
Dimension |
CandidateDim.getBaseTable() |
Modifier and Type | Method and Description |
---|---|
Map<Dimension,Set<CandidateDim>> |
CubeQueryContext.getCandidateDims() |
Map<Dimension,Set<CandidateDim>> |
CubeQueryContext.getCandidateDimTables() |
Set<Dimension> |
CubeQueryContext.getDimensions() |
Map<Dimension,PruneCauses<CubeDimensionTable>> |
CubeQueryContext.getDimPruningMsgs() |
Map<org.apache.lens.cube.parse.CubeQueryContext.QueriedExprColumn,Set<Aliased<Dimension>>> |
CubeQueryContext.getExprColToDim() |
Set<Dimension> |
CubeQueryContext.getNonChainedDimensions() |
Map<Aliased<Dimension>,CubeQueryContext.OptionalDimCtx> |
CubeQueryContext.getOptionalDimensionMap() |
Set<Aliased<Dimension>> |
CubeQueryContext.getOptionalDimensions() |
Map<String,Set<Aliased<Dimension>>> |
CubeQueryContext.getRefColToDim() |
Set<Dimension> |
DenormalizationResolver.DenormalizationContext.rewriteDenormctx(CandidateFact cfact,
Map<Dimension,CandidateDim> dimsToQuery,
boolean replaceFact) |
Modifier and Type | Method and Description |
---|---|
void |
CubeQueryContext.addDimPruningMsgs(Dimension dim,
CubeDimensionTable dimtable,
CandidateTablePruneCause msg) |
Modifier and Type | Method and Description |
---|---|
Set<Dimension> |
DenormalizationResolver.DenormalizationContext.rewriteDenormctx(CandidateFact cfact,
Map<Dimension,CandidateDim> dimsToQuery,
boolean replaceFact) |
void |
CubeQueryContext.updateExprColDim(String tblAlias,
String col,
Aliased<Dimension> dim) |
void |
CubeQueryContext.updateRefColDim(String col,
Aliased<Dimension> dim) |
Modifier and Type | Method and Description |
---|---|
Map<Aliased<Dimension>,List<JoinPath>> |
AutoJoinContext.getAllPaths() |
Set<Dimension> |
JoinClause.getDimsInPath() |
Set<Dimension> |
AutoJoinContext.getDimsOnPath(Map<Aliased<Dimension>,List<TableRelationship>> joinChain,
Set<Dimension> qdims) |
Map<Aliased<Dimension>,Map<AbstractCubeTable,List<String>>> |
AutoJoinContext.getJoinPathFromColumns() |
Map<Aliased<Dimension>,Map<AbstractCubeTable,List<String>>> |
AutoJoinContext.getJoinPathToColumns() |
Set<Dimension> |
AutoJoinContext.pickOptionalTables(CandidateFact fact,
Set<Dimension> qdims,
CubeQueryContext cubeql) |
Modifier and Type | Method and Description |
---|---|
boolean |
AutoJoinContext.isReachableDim(Dimension dim) |
boolean |
AutoJoinContext.isReachableDim(Dimension dim,
String alias) |
Modifier and Type | Method and Description |
---|---|
Set<Dimension> |
AutoJoinContext.getDimsOnPath(Map<Aliased<Dimension>,List<TableRelationship>> joinChain,
Set<Dimension> qdims) |
Set<Dimension> |
AutoJoinContext.getDimsOnPath(Map<Aliased<Dimension>,List<TableRelationship>> joinChain,
Set<Dimension> qdims) |
String |
AutoJoinContext.getFromString(String fromTable,
CandidateFact fact,
Set<Dimension> qdims,
Map<Dimension,CandidateDim> dimsToQuery,
CubeQueryContext cubeql) |
String |
AutoJoinContext.getFromString(String fromTable,
CandidateFact fact,
Set<Dimension> qdims,
Map<Dimension,CandidateDim> dimsToQuery,
CubeQueryContext cubeql) |
String |
AutoJoinContext.getMergedJoinClause(CubeQueryContext cubeql,
JoinClause joinClause,
Map<Dimension,CandidateDim> dimsToQuery) |
JoinTree |
JoinClause.mergeJoinChains(Map<Aliased<Dimension>,List<TableRelationship>> chain)
Takes chains and merges them in the form of a tree.
|
Set<Dimension> |
AutoJoinContext.pickOptionalTables(CandidateFact fact,
Set<Dimension> qdims,
CubeQueryContext cubeql) |
void |
AutoJoinContext.pruneAllPaths(CubeInterface cube,
Set<CandidateFact> cfacts,
Map<Dimension,CandidateDim> dimsToQuery) |
void |
AutoJoinContext.pruneAllPathsForCandidateDims(Map<Dimension,Set<CandidateDim>> candidateDims)
Prunes allPaths by removing paths which contain columns that are not present in any candidate dims.
|
void |
AutoJoinContext.removeJoinedTable(Aliased<Dimension> dim) |
Constructor and Description |
---|
AutoJoinContext(Map<Aliased<Dimension>,List<JoinPath>> allPaths,
Set<Dimension> requiredDimensions,
Map<AbstractCubeTable,org.apache.hadoop.hive.ql.parse.JoinType> tableJoinTypeMap,
AbstractCubeTable autoJoinTarget,
String joinTypeCfg,
boolean joinsResolved,
boolean flattenBridgeTables,
String bridgeTableFieldAggr) |
AutoJoinContext(Map<Aliased<Dimension>,List<JoinPath>> allPaths,
Set<Dimension> requiredDimensions,
Map<AbstractCubeTable,org.apache.hadoop.hive.ql.parse.JoinType> tableJoinTypeMap,
AbstractCubeTable autoJoinTarget,
String joinTypeCfg,
boolean joinsResolved,
boolean flattenBridgeTables,
String bridgeTableFieldAggr) |
JoinClause(CubeQueryContext cubeql,
Map<Aliased<Dimension>,List<TableRelationship>> chain,
Set<Dimension> dimsInPath) |
JoinClause(CubeQueryContext cubeql,
Map<Aliased<Dimension>,List<TableRelationship>> chain,
Set<Dimension> dimsInPath) |
Modifier and Type | Method and Description |
---|---|
static Dimension |
JAXBUtils.dimensionFromXDimension(XDimension dimension) |
Modifier and Type | Method and Description |
---|---|
static XDimension |
JAXBUtils.xdimensionFromDimension(Dimension dimension) |
Copyright © 2014–2016 Apache Software Foundation. All rights reserved.