public class JavascriptExtractionFn extends Object implements ExtractionFn
| Constructor and Description |
|---|
JavascriptExtractionFn(String function) |
| 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.
|
String |
getFunction() |
int |
hashCode() |
boolean |
preservesOrdering()
Offers information on whether the extraction will preserve the original ordering of the values.
|
String |
toString() |
public JavascriptExtractionFn(String function)
public String getFunction()
public byte[] getCacheKey()
ExtractionFngetCacheKey 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 String apply(long value)
apply in interface ExtractionFnpublic boolean preservesOrdering()
ExtractionFnpreservesOrdering in interface ExtractionFnCopyright © 2011–2015. All rights reserved.