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

org.apache.lens.cube.metadata
Class FactPartition

java.lang.Object
  extended by org.apache.lens.cube.metadata.FactPartition
All Implemented Interfaces:
Comparable<FactPartition>

public class FactPartition
extends Object
implements Comparable<FactPartition>


Constructor Summary
FactPartition(String partCol, Date partSpec, UpdatePeriod period, FactPartition containingPart, DateFormat partFormat)
           
FactPartition(String partCol, Date partSpec, UpdatePeriod period, FactPartition containingPart, DateFormat partFormat, Set<String> storageTables)
           
 
Method Summary
 int compareTo(FactPartition o)
           
 boolean found()
           
 String getFilter()
           
 String getFormattedFilter(String tableName)
           
 String getFormattedFilter(String partCol, String tableName)
           
 String getFormattedPartSpec()
           
 String getPartString()
           
 boolean hasContainingPart()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FactPartition

public FactPartition(String partCol,
                     Date partSpec,
                     UpdatePeriod period,
                     FactPartition containingPart,
                     DateFormat partFormat)

FactPartition

public FactPartition(String partCol,
                     Date partSpec,
                     UpdatePeriod period,
                     FactPartition containingPart,
                     DateFormat partFormat,
                     Set<String> storageTables)
Method Detail

hasContainingPart

public boolean hasContainingPart()

found

public boolean found()

getFormattedPartSpec

public String getFormattedPartSpec()

getPartString

public String getPartString()

getFormattedFilter

public String getFormattedFilter(String tableName)

getFormattedFilter

public String getFormattedFilter(String partCol,
                                 String tableName)

getFilter

public String getFilter()

toString

public String toString()
Overrides:
toString in class Object

compareTo

public int compareTo(FactPartition o)
Specified by:
compareTo in interface Comparable<FactPartition>


Copyright © 2014–2015 Apache Software Foundation. All rights reserved.