public class JavascriptDimExtractionFn extends Object implements DimExtractionFn
Constructor and Description |
---|
JavascriptDimExtractionFn(String function) |
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 |
getFunction() |
boolean |
preservesOrdering()
Offers information on whether the extraction will preserve the original ordering of the values.
|
String |
toString() |
public JavascriptDimExtractionFn(String function)
public String getFunction()
public byte[] getCacheKey()
DimExtractionFn
getCacheKey
in interface DimExtractionFn
public String apply(String dimValue)
DimExtractionFn
apply
in interface DimExtractionFn
dimValue
- the original value of the dimensionpublic boolean preservesOrdering()
DimExtractionFn
preservesOrdering
in interface DimExtractionFn
Copyright © 2015. All rights reserved.