Interface MetadataIndex
- All Known Implementing Classes:
EndpointMetadataIndex,FunctionDrivenMetadataIndex,RoleMetadataIndex,SAMLArtifactMetadataIndex
public interface MetadataIndex
A component which defines and supports indexing an
EntityDescriptor, and corresponding lookup
via a CriteriaSet, using one or more (possibly implementation-specific)
instances of MetadataIndexKey.-
Method Summary
Modifier and TypeMethodDescriptiongenerateKeys(CriteriaSet criteriaSet) Generate a set of one or moreMetadataIndexKeyinstances based on the inputCriteriaSet.generateKeys(EntityDescriptor descriptor) Generate a set of one or moreMetadataIndexKeyinstances based on the inputEntityDescriptor.
-
Method Details
-
generateKeys
@Nullable @Unmodifiable @NotLive Set<MetadataIndexKey> generateKeys(@Nonnull EntityDescriptor descriptor) Generate a set of one or moreMetadataIndexKeyinstances based on the inputEntityDescriptor.These index key instances reflect the type of indexing performed and "understood" by the implementation, and as such should complement the
MetadataIndexKeytypes generated for descriptor lookup viagenerateKeys(CriteriaSet).- Parameters:
descriptor- the entity descriptor set to process- Returns:
- the set of index keys generated from the criteria. May be null or empty, but will not contain null elements.
-