org.apache.lens.ml.spark
Class DoubleValueMapper
java.lang.Object
org.apache.lens.ml.spark.FeatureValueMapper
org.apache.lens.ml.spark.DoubleValueMapper
- All Implemented Interfaces:
- Serializable, org.apache.spark.api.java.function.Function<Object,Double>
public class DoubleValueMapper
- extends FeatureValueMapper
Directly return input when it is known to be double.
- See Also:
- Serialized Form
DoubleValueMapper
public DoubleValueMapper()
call
public final Double call(Object input)
- Specified by:
call
in interface org.apache.spark.api.java.function.Function<Object,Double>
- Specified by:
call
in class FeatureValueMapper
Copyright © 2014–2015 Apache Software Foundation. All rights reserved.