Package | Description |
---|---|
org.apache.lens.cube.metadata |
Modifier and Type | Class and Description |
---|---|
class |
BaseDimAttribute |
class |
HierarchicalDimAttribute |
class |
ReferencedDimAtrribute |
class |
ReferencedDimAttribute |
Modifier and Type | Method and Description |
---|---|
CubeDimAttribute |
Dimension.getAttributeByName(String attr) |
CubeDimAttribute |
DerivedCube.getDimAttributeByName(String dimension) |
CubeDimAttribute |
CubeInterface.getDimAttributeByName(String dimAttrName)
Get dimension attribute given by name
|
CubeDimAttribute |
Cube.getDimAttributeByName(String dimension) |
static CubeDimAttribute |
JAXBUtils.hiveDimAttrFromXDimAttr(XDimAttribute xd)
Create a hive ql CubeDimension from JAXB counterpart
|
Modifier and Type | Method and Description |
---|---|
Set<CubeDimAttribute> |
Dimension.getAttributes() |
static Set<CubeDimAttribute> |
Dimension.getAttributes(String name,
Map<String,String> props) |
Set<CubeDimAttribute> |
DerivedCube.getDimAttributes() |
Set<CubeDimAttribute> |
CubeInterface.getDimAttributes()
Get all dimension attributes of the cube
|
Set<CubeDimAttribute> |
Cube.getDimAttributes() |
static Set<CubeDimAttribute> |
Cube.getDimensions(String name,
Map<String,String> props) |
static List<CubeDimAttribute> |
HierarchicalDimAttribute.getHiearachy(String name,
Map<String,String> props) |
List<CubeDimAttribute> |
HierarchicalDimAttribute.getHierarchy() |
Modifier and Type | Method and Description |
---|---|
static void |
MetastoreUtil.addColumnNames(CubeDimAttribute dim,
Set<String> cols) |
void |
Dimension.alterAttribute(CubeDimAttribute attribute)
Alters the attribute if already existing or just adds if it is new attribute
|
void |
Cube.alterDimension(CubeDimAttribute dimension)
Alters the dimension if already existing or just adds if it is new dimension
|
static String |
HierarchicalDimAttribute.getHierarchyElement(CubeDimAttribute dim) |
static XDimAttribute |
JAXBUtils.xDimAttrFromHiveDimAttr(CubeDimAttribute cd,
AbstractBaseTable baseTable)
Create XDimAttribute from CubeDimAttribute
|
Modifier and Type | Method and Description |
---|---|
void |
CubeMetastoreClient.createCube(String name,
Set<CubeMeasure> measures,
Set<CubeDimAttribute> dimensions)
Create cube defined by measures and dimensions
|
void |
CubeMetastoreClient.createCube(String name,
Set<CubeMeasure> measures,
Set<CubeDimAttribute> dimensions,
Map<String,String> properties)
Create cube defined by measures, dimensions and properties
|
void |
CubeMetastoreClient.createCube(String name,
Set<CubeMeasure> measures,
Set<CubeDimAttribute> dimensions,
Set<ExprColumn> expressions,
Map<String,String> properties)
Create cube defined by measures, dimensions and properties
|
void |
CubeMetastoreClient.createCube(String name,
Set<CubeMeasure> measures,
Set<CubeDimAttribute> dimensions,
Set<ExprColumn> expressions,
Set<JoinChain> chains,
Map<String,String> properties)
Create cube defined by measures, dimensions and properties
|
void |
CubeMetastoreClient.createDimension(String name,
Set<CubeDimAttribute> attributes,
Map<String,String> properties,
double weight)
Create dimension defined by attributes and properties
|
Constructor and Description |
---|
Cube(String name,
Set<CubeMeasure> measures,
Set<CubeDimAttribute> dimensions) |
Cube(String name,
Set<CubeMeasure> measures,
Set<CubeDimAttribute> dimensions,
Map<String,String> properties) |
Cube(String name,
Set<CubeMeasure> measures,
Set<CubeDimAttribute> dimensions,
Map<String,String> properties,
double weight) |
Cube(String name,
Set<CubeMeasure> measures,
Set<CubeDimAttribute> dimensions,
Set<ExprColumn> expressions,
Set<JoinChain> joinChains,
Map<String,String> properties,
double weight) |
Dimension(String name,
Set<CubeDimAttribute> attributes) |
Dimension(String name,
Set<CubeDimAttribute> attributes,
Map<String,String> properties,
double weight) |
Dimension(String name,
Set<CubeDimAttribute> attributes,
Set<ExprColumn> exprs,
Map<String,String> dimProps,
long weight) |
Dimension(String name,
Set<CubeDimAttribute> attributes,
Set<ExprColumn> expressions,
Set<JoinChain> joinChains,
Map<String,String> properties,
double weight) |
HierarchicalDimAttribute(String name,
String description,
List<CubeDimAttribute> hierarchy) |
Copyright © 2014–2018 Apache Software Foundation. All rights reserved.