Interface AnalysisDescriptorRegistry
@Incubating
public interface AnalysisDescriptorRegistry
-
Method Summary
Modifier and TypeMethodDescriptionOptional<? extends AnalyzerDescriptor> analyzerDescriptor(String name) Looks up the configured analyzers.Collection<? extends AnalyzerDescriptor> Optional<? extends NormalizerDescriptor> normalizerDescriptor(String name) Looks up the configured normalizers.Collection<? extends NormalizerDescriptor>
-
Method Details
-
analyzerDescriptor
Looks up the configured analyzers.- Parameters:
name- The name of the analyzer.- Returns:
- An
empty optionalif there is no analyzer configured with the given name.
-
analyzerDescriptors
Collection<? extends AnalyzerDescriptor> analyzerDescriptors()- Returns:
- A collection of configured analyzer descriptors.
-
normalizerDescriptor
Looks up the configured normalizers.- Parameters:
name- The name of the normalizer.- Returns:
- An
empty optionalif there is no normalizer configured with the given name.
-
normalizerDescriptors
Collection<? extends NormalizerDescriptor> normalizerDescriptors()- Returns:
- A collection of configured normalizer descriptors.
-