public class ExtractionDimensionSpec extends DimensionSpec
DimensionSpec.DefaultDimensionSpecType
Constructor and Description |
---|
ExtractionDimensionSpec(String dimension,
String outputName,
ExtractionFunction extractionFunction)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getDimension() |
ExtractionFunction |
getExtractionFunction() |
String |
getOutputName() |
int |
hashCode() |
ExtractionDimensionSpec |
withDimension(String dimension) |
ExtractionDimensionSpec |
withExtractionFunction(ExtractionFunction extractionFunction) |
ExtractionDimensionSpec |
withOutputName(String outputName) |
getType
public ExtractionDimensionSpec(String dimension, String outputName, ExtractionFunction extractionFunction)
dimension
- name of the dimension to be selected.outputName
- replace output dimension name with this value.extractionFunction
- extraction function to be applied to this dimension.public String getDimension()
public String getOutputName()
public ExtractionFunction getExtractionFunction()
public ExtractionDimensionSpec withDimension(String dimension)
public ExtractionDimensionSpec withOutputName(String outputName)
public ExtractionDimensionSpec withExtractionFunction(ExtractionFunction extractionFunction)
public int hashCode()
hashCode
in class DimensionSpec
public boolean equals(Object obj)
equals
in class DimensionSpec
Copyright © 2016–2018 Yahoo! Inc.. All rights reserved.