public class ContainerValueExtractorPath extends Object
The extractors are either represented:
[MapValuesExtractor.class, CollectionElementExtractor.class]
,
meaning "apply an instance of MapValuesExtractor on the property value, then apply an instance of
CollectionElementExtractor on the map values".
defaultExtractors()
),
which means "whatever default Hibernate Search manages to apply using its internal extractor resolution algorithm".
This second form may result in different "resolved" paths depending on the type of the property it is applied to.
Modifier and Type | Method and Description |
---|---|
static ContainerValueExtractorPath |
defaultExtractors() |
boolean |
equals(Object obj) |
static ContainerValueExtractorPath |
explicitExtractor(Class<? extends ContainerValueExtractor> extractorClass) |
static ContainerValueExtractorPath |
explicitExtractors(List<? extends Class<? extends ContainerValueExtractor>> extractorClasses) |
List<? extends Class<? extends ContainerValueExtractor>> |
getExplicitExtractorClasses() |
int |
hashCode() |
boolean |
isDefault() |
boolean |
isEmpty() |
static ContainerValueExtractorPath |
noExtractors() |
String |
toString() |
public static ContainerValueExtractorPath defaultExtractors()
public static ContainerValueExtractorPath noExtractors()
public static ContainerValueExtractorPath explicitExtractor(Class<? extends ContainerValueExtractor> extractorClass)
public static ContainerValueExtractorPath explicitExtractors(List<? extends Class<? extends ContainerValueExtractor>> extractorClasses)
public boolean isDefault()
public boolean isEmpty()
public List<? extends Class<? extends ContainerValueExtractor>> getExplicitExtractorClasses()
Copyright © 2006-2018 Red Hat, Inc. and others. Licensed under the GNU Lesser General Public License (LGPL), version 2.1 or later.