public class TimeDimExtractionFn extends Object implements DimExtractionFn
| Constructor and Description |
|---|
TimeDimExtractionFn(String timeFormat,
String resultFormat) |
| Modifier and Type | Method and Description |
|---|---|
String |
apply(String dimValue)
The "extraction" function.
|
byte[] |
getCacheKey()
Returns a byte[] unique to all concrete implementations of DimExtractionFn.
|
String |
getResultFormat() |
String |
getTimeFormat() |
boolean |
preservesOrdering()
Offers information on whether the extraction will preserve the original ordering of the values.
|
String |
toString() |
public byte[] getCacheKey()
DimExtractionFngetCacheKey in interface DimExtractionFnpublic String apply(String dimValue)
DimExtractionFnapply in interface DimExtractionFndimValue - the original value of the dimensionpublic String getTimeFormat()
public String getResultFormat()
public boolean preservesOrdering()
DimExtractionFnpreservesOrdering in interface DimExtractionFnCopyright © 2015. All rights reserved.