Interface IndexNameGenerator
- All Known Implementing Classes:
DefaultIndexNameGenerator
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Generator for index names.
- Since:
- 1.11.0
- Author:
- Michael J. Simons
-
Method Summary
Modifier and TypeMethodDescriptiongenerateName
(Index.Type type, Collection<PropertyType<?>> properties) Generates a name for an index with the giventype
for the given list ofproperties
.
-
Method Details
-
generateName
Generates a name for an index with the giventype
for the given list ofproperties
.- Parameters:
type
- The type of the indexproperties
- The properties to create the index for. All properties will have the same owner.- Returns:
- A valid index name
-