Class NeighborProviderIndex
java.lang.Object
software.amazon.smithy.model.knowledge.NeighborProviderIndex
- All Implemented Interfaces:
KnowledgeIndex
Provides a cache of precomputed neighbors for models.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the precomputed neighbor provider.Gets the neighbor provider that includes trait relationships.Gets a reversed, bottom up neighbor provider.Gets a reversed, bottom up neighbor provider that includes reverse traits.static NeighborProviderIndex
-
Constructor Details
-
NeighborProviderIndex
-
-
Method Details
-
of
-
getProvider
Gets the precomputed neighbor provider.- Returns:
- Returns the provider.
-
getProviderWithTraitRelationships
Gets the neighbor provider that includes trait relationships.- Returns:
- Returns the provider.
-
getReverseProvider
Gets a reversed, bottom up neighbor provider.- Returns:
- Returns the reversed neighbor provider.
-
getReverseProviderWithTraitRelationships
Gets a reversed, bottom up neighbor provider that includes reverse traits.- Returns:
- Returns the reversed neighbor provider with reverse traits.
-