public class TimeFormatExtractionFn extends Object implements ExtractionFn
ExtractionFn.ExtractionType| Constructor and Description |
|---|
TimeFormatExtractionFn(String pattern,
org.joda.time.DateTimeZone tz,
String localeString) |
| Modifier and Type | Method and Description |
|---|---|
String |
apply(long value) |
String |
apply(Object value)
The "extraction" function.
|
String |
apply(String value) |
boolean |
equals(Object o) |
byte[] |
getCacheKey()
Returns a byte[] unique to all concrete implementations of DimExtractionFn.
|
ExtractionFn.ExtractionType |
getExtractionType()
A dim extraction can be of one of two types, renaming or rebucketing.
|
String |
getFormat() |
String |
getLocale() |
org.joda.time.DateTimeZone |
getTimeZone() |
int |
hashCode() |
boolean |
preservesOrdering()
Offers information on whether the extraction will preserve the original ordering of the values.
|
public org.joda.time.DateTimeZone getTimeZone()
public String getFormat()
public String getLocale()
public byte[] getCacheKey()
ExtractionFngetCacheKey in interface ExtractionFnpublic String apply(long value)
apply in interface ExtractionFnpublic String apply(Object value)
ExtractionFnapply in interface ExtractionFnvalue - the original value of the dimensionpublic String apply(String value)
apply in interface ExtractionFnpublic boolean preservesOrdering()
ExtractionFnpreservesOrdering in interface ExtractionFnpublic ExtractionFn.ExtractionType getExtractionType()
ExtractionFngetExtractionType in interface ExtractionFnExtractionFn.ExtractionType declaring what kind of manipulation this
function doesCopyright © 2011–2015. All rights reserved.