public static class SortConfigurations.SortConfiguration extends Object
| Constructor and Description |
|---|
SortConfiguration(String indexName,
Map<Class<?>,List<SortableFieldMetadata>> sortableFieldsByType) |
| Modifier and Type | Method and Description |
|---|---|
Set<Class<?>> |
getEntityTypes() |
String |
getIndexName() |
List<String> |
getUncoveredSorts(Class<?> entityType,
org.apache.lucene.search.Sort sort) |
String |
toString() |
public SortConfiguration(String indexName, Map<Class<?>,List<SortableFieldMetadata>> sortableFieldsByType)
public List<String> getUncoveredSorts(Class<?> entityType, org.apache.lucene.search.Sort sort)
entityType - the targeted entity typesort - the sort to be examinedSort that cannot be satisfied by the existing sortable
fields (doc value fields) declared for the given indexed type.public String getIndexName()
Copyright © 2006–2017 Hibernate. All rights reserved.