public class FactPartition extends Object implements Comparable<FactPartition>
Constructor and Description |
---|
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) |
FactPartition(String partCol,
TimePartition timePartition) |
FactPartition(String partCol,
TimePartition timePartition,
FactPartition containingPart,
Set<String> storageTables) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(FactPartition o) |
boolean |
equals(Object o) |
double |
getAllTableWeights(com.google.common.collect.ImmutableMap<String,Double> tableWeights) |
FactPartition |
getContainingPart() |
String |
getFilter() |
String |
getFormattedFilter(String tableName) |
String |
getFormattedFilter(String partCol,
String tableName) |
String |
getFormattedPartSpec() |
String |
getPartCol() |
DateFormat |
getPartFormat() |
Date |
getPartSpec() |
String |
getPartString() |
UpdatePeriod |
getPeriod() |
Set<String> |
getStorageTables() |
TimePartition |
getTimePartition() |
boolean |
hasContainingPart() |
int |
hashCode() |
boolean |
isFound() |
FactPartition |
next() |
FactPartition |
previous() |
void |
setContainingPart(FactPartition containingPart) |
void |
setFound(boolean found) |
String |
toString() |
FactPartition |
withoutContaining()
Partition should not be used a indicative of the class itself.
|
public FactPartition(String partCol, Date partSpec, UpdatePeriod period, FactPartition containingPart, DateFormat partFormat)
public FactPartition(String partCol, Date partSpec, UpdatePeriod period, FactPartition containingPart, DateFormat partFormat, Set<String> storageTables)
public FactPartition(String partCol, TimePartition timePartition)
public FactPartition(String partCol, TimePartition timePartition, FactPartition containingPart, Set<String> storageTables)
public FactPartition withoutContaining()
public boolean hasContainingPart()
public String getFormattedPartSpec()
public FactPartition previous() throws LensException
LensException
public FactPartition next() throws LensException
LensException
public String getPartString()
public String getFilter()
public int compareTo(FactPartition o)
compareTo
in interface Comparable<FactPartition>
public TimePartition getTimePartition() throws LensException
LensException
public double getAllTableWeights(com.google.common.collect.ImmutableMap<String,Double> tableWeights)
@Generated(value="lombok") public boolean equals(Object o)
@Generated(value="lombok") public int hashCode()
@Generated(value="lombok") public String getPartCol()
@Generated(value="lombok") public Date getPartSpec()
@Generated(value="lombok") public Set<String> getStorageTables()
@Generated(value="lombok") public UpdatePeriod getPeriod()
@Generated(value="lombok") public FactPartition getContainingPart()
@Generated(value="lombok") public void setContainingPart(FactPartition containingPart)
@Generated(value="lombok") public DateFormat getPartFormat()
@Generated(value="lombok") public boolean isFound()
@Generated(value="lombok") public void setFound(boolean found)
Copyright © 2014–2018 Apache Software Foundation. All rights reserved.