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
Extracts attributes from a given input.
-
Method Summary
Modifier and TypeMethodDescriptionExtracts the attributes oninput.asScala()<T2> AttributeAccessor<P,T2> Maps the output of this accessor into some other type.
-
Method Details
-
apply
Extracts the attributes oninput.- Parameters:
input- the object that will have its attributes extracted- Returns:
- the extracted attributes and their anchors
-
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
-