This project has retired. For details please refer to its Attic page.
ReferencedDimAtrribute (Lens 2.0.1-beta-incubating API)

org.apache.lens.cube.metadata
Class ReferencedDimAtrribute

java.lang.Object
  extended by org.apache.lens.cube.metadata.CubeColumn
      extended by org.apache.lens.cube.metadata.CubeDimAttribute
          extended by org.apache.lens.cube.metadata.BaseDimAttribute
              extended by 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
 
Method Summary
 void addProperties(Map<String,String> props)
           
 void addReference(TableReference reference)
           
 boolean isChainedColumn()
          Tells whether the attribute is retrieved from chain
 boolean removeReference(TableReference ref)
           
 boolean useAsJoinKey()
           
 
Methods inherited from class org.apache.lens.cube.metadata.BaseDimAttribute
equals, getDimType, getType, hashCode, toString
 
Methods inherited from class org.apache.lens.cube.metadata.CubeColumn
getCost, getDescription, getDisplayString, getEndTime, getName, getStartTime
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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 -
Method Detail

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.