public class RegexDimExtractionFn extends Object implements DimExtractionFn
Constructor and Description |
---|
RegexDimExtractionFn(String expr) |
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 |
getExpr() |
boolean |
preservesOrdering()
Offers information on whether the extraction will preserve the original ordering of the values.
|
String |
toString() |
public RegexDimExtractionFn(String expr)
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 String getExpr()
public boolean preservesOrdering()
DimExtractionFn
preservesOrdering
in interface DimExtractionFn
Copyright © 2015. All rights reserved.