public interface ExtractionFn
Modifier and Type | Interface and Description |
---|---|
static class |
ExtractionFn.ExtractionType |
Modifier and Type | Method and Description |
---|---|
String |
apply(long value) |
String |
apply(Object value)
The "extraction" function.
|
String |
apply(String value) |
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.
|
boolean |
preservesOrdering()
Offers information on whether the extraction will preserve the original ordering of the values.
|
byte[] getCacheKey()
String apply(Object value)
value
- the original value of the dimensionString apply(long value)
boolean preservesOrdering()
ExtractionFn.ExtractionType getExtractionType()
ExtractionFn.ExtractionType
declaring what kind of manipulation this
function doesCopyright © 2011–2015. All rights reserved.