Class AttributeAccessors
java.lang.Object
com.here.platform.location.compilation.heremapcontent.javadsl.AttributeAccessors
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <T,
P, C> AttributeAccessor<P, T> forHereMapContentSegmentAnchor
(AttributeContainerAccess<P, C> attributeContainerAccess, AttributeAccess<C, T> attributeAccess) Creates anAttributeAccessor
for HERE Map Content data.static <T> Class<T>
getOutputClass
(Function<?, T> f)
-
Constructor Details
-
AttributeAccessors
public AttributeAccessors()
-
-
Method Details
-
forHereMapContentSegmentAnchor
public static <T,P, AttributeAccessor<P,C> T> forHereMapContentSegmentAnchor(AttributeContainerAccess<P, C> attributeContainerAccess, AttributeAccess<C, T> attributeAccess) Creates anAttributeAccessor
for HERE Map Content data.- Returns:
- a new HERE Map Content accessor
- Type Parameters:
- P the partition type data the HERE Map Content layer contains. It must be HERE Map Content
compliant, which means it needs to have a method named
segmentAnchor
returning aSeq
ofSegmentAnchor
, C the container type. It must be HERE Map Content compliant, which means it needs to have a method namedsegmentAnchorIndex
returning anIterable
ofT
., T the extracted attribute type
-
getOutputClass
-