org.apache.lens.cube.metadata
Class ReferencedDimAtrribute
java.lang.Object
org.apache.lens.cube.metadata.CubeColumn
org.apache.lens.cube.metadata.CubeDimAttribute
org.apache.lens.cube.metadata.BaseDimAttribute
org.apache.lens.cube.metadata.ReferencedDimAtrribute
- All Implemented Interfaces:
- Named
public class ReferencedDimAtrribute
- extends BaseDimAttribute
Constructor Summary |
ReferencedDimAtrribute(org.apache.hadoop.hive.metastore.api.FieldSchema column,
String displayString,
Collection<TableReference> references)
|
ReferencedDimAtrribute(org.apache.hadoop.hive.metastore.api.FieldSchema column,
String displayString,
Collection<TableReference> references,
Date startTime,
Date endTime,
Double cost)
|
ReferencedDimAtrribute(org.apache.hadoop.hive.metastore.api.FieldSchema column,
String displayString,
Collection<TableReference> references,
Date startTime,
Date endTime,
Double cost,
boolean isJoinKey)
|
ReferencedDimAtrribute(org.apache.hadoop.hive.metastore.api.FieldSchema column,
String displayString,
String chainName,
String refColumn,
Date startTime,
Date endTime,
Double cost)
|
ReferencedDimAtrribute(org.apache.hadoop.hive.metastore.api.FieldSchema column,
String displayString,
TableReference reference)
|
ReferencedDimAtrribute(org.apache.hadoop.hive.metastore.api.FieldSchema column,
String displayString,
TableReference reference,
Date startTime,
Date endTime,
Double cost)
|
ReferencedDimAtrribute(org.apache.hadoop.hive.metastore.api.FieldSchema column,
String displayString,
TableReference reference,
Date startTime,
Date endTime,
Double cost,
boolean isJoinKey)
|
ReferencedDimAtrribute(String name,
Map<String,String> props)
This is used only for serializing |
ReferencedDimAtrribute
public ReferencedDimAtrribute(org.apache.hadoop.hive.metastore.api.FieldSchema column,
String displayString,
TableReference reference)
ReferencedDimAtrribute
public ReferencedDimAtrribute(org.apache.hadoop.hive.metastore.api.FieldSchema column,
String displayString,
TableReference reference,
Date startTime,
Date endTime,
Double cost)
ReferencedDimAtrribute
public ReferencedDimAtrribute(org.apache.hadoop.hive.metastore.api.FieldSchema column,
String displayString,
TableReference reference,
Date startTime,
Date endTime,
Double cost,
boolean isJoinKey)
ReferencedDimAtrribute
public ReferencedDimAtrribute(org.apache.hadoop.hive.metastore.api.FieldSchema column,
String displayString,
Collection<TableReference> references)
ReferencedDimAtrribute
public ReferencedDimAtrribute(org.apache.hadoop.hive.metastore.api.FieldSchema column,
String displayString,
Collection<TableReference> references,
Date startTime,
Date endTime,
Double cost)
ReferencedDimAtrribute
public ReferencedDimAtrribute(org.apache.hadoop.hive.metastore.api.FieldSchema column,
String displayString,
Collection<TableReference> references,
Date startTime,
Date endTime,
Double cost,
boolean isJoinKey)
ReferencedDimAtrribute
public ReferencedDimAtrribute(org.apache.hadoop.hive.metastore.api.FieldSchema column,
String displayString,
String chainName,
String refColumn,
Date startTime,
Date endTime,
Double cost)
ReferencedDimAtrribute
public ReferencedDimAtrribute(String name,
Map<String,String> props)
- This is used only for serializing
- Parameters:
name
- props
-
addReference
public void addReference(TableReference reference)
removeReference
public boolean removeReference(TableReference ref)
useAsJoinKey
public boolean useAsJoinKey()
addProperties
public void addProperties(Map<String,String> props)
- Overrides:
addProperties
in class BaseDimAttribute
isChainedColumn
public boolean isChainedColumn()
- Tells whether the attribute is retrieved from chain
- Returns:
- true/false
Copyright © 2014–2015 Apache Software Foundation. All rights reserved.