public class DefaultDimensionSpec extends Object implements DimensionSpec
| Constructor and Description | 
|---|
DefaultDimensionSpec(String dimension,
                    String outputName)  | 
DefaultDimensionSpec(String dimension,
                    String outputName,
                    ValueType outputType)  | 
| Modifier and Type | Method and Description | 
|---|---|
DimensionSelector | 
decorate(DimensionSelector selector)  | 
boolean | 
equals(Object o)  | 
byte[] | 
getCacheKey()
Get a byte array used as a cache key. 
 | 
String | 
getDimension()  | 
ExtractionFn | 
getExtractionFn()  | 
String | 
getOutputName()  | 
ValueType | 
getOutputType()  | 
int | 
hashCode()  | 
boolean | 
mustDecorate()
Does this DimensionSpec require that decorate() be called to produce correct results? 
 | 
static DefaultDimensionSpec | 
of(String dimensionName)  | 
boolean | 
preservesOrdering()  | 
static List<DimensionSpec> | 
toSpec(Iterable<String> dimensionNames)  | 
static List<DimensionSpec> | 
toSpec(String... dimensionNames)  | 
String | 
toString()  | 
public DefaultDimensionSpec(String dimension, String outputName, ValueType outputType)
public static DefaultDimensionSpec of(String dimensionName)
public static List<DimensionSpec> toSpec(String... dimensionNames)
public static List<DimensionSpec> toSpec(Iterable<String> dimensionNames)
public String getDimension()
getDimension in interface DimensionSpecpublic String getOutputName()
getOutputName in interface DimensionSpecpublic ValueType getOutputType()
getOutputType in interface DimensionSpecpublic ExtractionFn getExtractionFn()
getExtractionFn in interface DimensionSpecpublic DimensionSelector decorate(DimensionSelector selector)
decorate in interface DimensionSpecpublic boolean mustDecorate()
DimensionSpecmustDecorate in interface DimensionSpecpublic byte[] getCacheKey()
CacheablegetCacheKey in interface Cacheablepublic boolean preservesOrdering()
preservesOrdering in interface DimensionSpecCopyright © 2011–2018. All rights reserved.