Package | Description |
---|---|
org.apache.lens.cube.metadata | |
org.apache.lens.cube.parse | |
org.apache.lens.cube.parse.join |
Modifier and Type | Method and Description |
---|---|
static Dimension |
JAXBUtils.dimensionFromXDimension(XDimension dimension) |
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) |
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.
|
static XDimension |
JAXBUtils.xdimensionFromDimension(Dimension 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<Dimension,CandidateDim> |
QueryWriterContext.getDimsToQuery() |
Map<Dimension,CandidateDim> |
MultiCandidateQueryWriterContext.getDimsToQuery() |
Map<Dimension,CandidateDim> |
DimHQLContext.getDimsToQuery() |
Map<org.apache.lens.cube.parse.CubeQueryContext.QueriedExprColumn,Set<Aliased<Dimension>>> |
CubeQueryContext.getExprColToDim() |
Set<Dimension> |
CubeQueryContext.getNonChainedDimensions() |
Map<Aliased<Dimension>,org.apache.lens.cube.parse.CubeQueryContext.OptionalDimCtx> |
CubeQueryContext.getOptionalDimensionMap() |
Set<Dimension> |
StorageCandidate.getQueriedDims() |
Map<String,Set<Aliased<Dimension>>> |
CubeQueryContext.getRefColToDim() |
Modifier and Type | Method and Description |
---|---|
void |
CubeQueryContext.addDimPruningMsgs(Dimension dim,
CubeDimensionTable dimtable,
CandidateTablePruneCause msg) |
Modifier and Type | Method and Description |
---|---|
QueryWriterContext |
CubeQueryContext.getQueryWriterContext(Candidate cand,
Map<Dimension,CandidateDim> dimsToQuery) |
StorageCandidateHQLContext |
StorageCandidate.toQueryWriterContext(Map<Dimension,CandidateDim> dimsToQuery,
CubeQueryContext rootCubeQueryContext) |
default QueryWriterContext |
Candidate.toQueryWriterContext(Map<Dimension,CandidateDim> dimsToQuery,
CubeQueryContext rootCubeQueryContext)
Get query writer context from the candidate.
|
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(DimHQLContext sc,
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,
DimHQLContext sc,
Map<Dimension,CandidateDim> dimsToQuery,
CubeQueryContext cubeql) |
String |
AutoJoinContext.getMergedJoinClause(CubeQueryContext cubeql,
DimHQLContext sc,
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(DimHQLContext sc,
Set<Dimension> qdims,
CubeQueryContext cubeql) |
void |
AutoJoinContext.pruneAllPaths(CubeInterface cube,
Collection<String> candColumns,
Map<Dimension,CandidateDim> dimsToQuery)
Prunes the join chains defined in Cube whose starting column is not there in any of the candidate facts.
|
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,
String bridgeTableFieldArrayFilter,
boolean doFlatteningEarly) |
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,
String bridgeTableFieldArrayFilter,
boolean doFlatteningEarly) |
JoinClause(CubeQueryContext cubeql,
Map<Aliased<Dimension>,List<TableRelationship>> chain,
Set<Dimension> dimsInPath) |
JoinClause(CubeQueryContext cubeql,
Map<Aliased<Dimension>,List<TableRelationship>> chain,
Set<Dimension> dimsInPath) |
Copyright © 2014–2018 Apache Software Foundation. All rights reserved.