public interface AnalysisResult extends Iterable<ResolvedSegment>
CqnStructuredTypeRef or
CqnStatement.| Modifier and Type | Method and Description |
|---|---|
Iterator<ResolvedSegment> |
iterator()
Returns an iterator over
ResolvedSegment(s). |
Iterator<ResolvedSegment> |
reverse()
Returns a reverse order iterator over
ResolvedSegment(s), starting from the target segment. |
CdsEntity |
rootEntity()
Returns the
CdsEntity that is the root of the ref. |
Map<String,Object> |
rootKeys()
Returns the element name to value mapping for the key elements of the
CdsEntity that is the root of the ref. |
CdsEntity |
targetEntity()
Returns the
CdsEntity targeted by the ref. |
Map<String,Object> |
targetKeys()
Returns the element name to value mapping for the key elements of the
CdsEntity that is targeted by the ref. |
forEach, spliteratorIterator<ResolvedSegment> iterator()
ResolvedSegment(s).iterator in interface Iterable<ResolvedSegment>Iterator<ResolvedSegment> reverse()
ResolvedSegment(s), starting from the target segment.CdsEntity rootEntity()
CdsEntity that is the root of the ref.CdsEntityMap<String,Object> rootKeys()
CdsEntity that is the root of the ref.
Extracts the key values, i.e. the values of the key elements of the entity
that is the root of the ref. If the filter does not uniquely restrict
a key element to a particular value, the element's name is mapped to
null.Map<String,Object> targetKeys()
CdsEntity that is targeted by the ref.
Extracts the key values, i.e. the values of the key elements to the entity
targeted by the ref and optionally the statement's where
condition. If the combined filter does not uniquely restrict a key element to
a particular value, the element's name is mapped to null.Copyright © 2020 SAP. All rights reserved.