Interface AttributeAccessor<P,T>
- Type Parameters:
P
- The type used as input and that will have some attribute extractedT
- The type of the extracted attribute
- All Superinterfaces:
Serializable
,scala.Serializable
public interface AttributeAccessor<P,T>
extends scala.Serializable
Extracts attributes from a given input.
-
Method Summary
-
Method Details
-
asScala
-
map
Maps the output of this accessor into some other type.- Parameters:
f
- the transformation function- Returns:
- a new accessor that applies the output of this accessor into a different type
- Type Parameters:
- T2 the output parameter of the mapped accessor
-
outputClass
-