public class ContainerExtractorPath 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 ContainerExtractorPath |
defaultExtractors() |
boolean |
equals(Object obj) |
static ContainerExtractorPath |
explicitExtractor(Class<? extends ContainerExtractor> extractorClass) |
static ContainerExtractorPath |
explicitExtractors(List<? extends Class<? extends ContainerExtractor>> extractorClasses) |
List<? extends Class<? extends ContainerExtractor>> |
getExplicitExtractorClasses() |
int |
hashCode() |
boolean |
isDefault() |
boolean |
isEmpty() |
static ContainerExtractorPath |
noExtractors() |
String |
toString() |
public static ContainerExtractorPath defaultExtractors()
public static ContainerExtractorPath noExtractors()
public static ContainerExtractorPath explicitExtractor(Class<? extends ContainerExtractor> extractorClass)
public static ContainerExtractorPath explicitExtractors(List<? extends Class<? extends ContainerExtractor>> extractorClasses)
public boolean isDefault()
public boolean isEmpty()
public List<? extends Class<? extends ContainerExtractor>> getExplicitExtractorClasses()
Copyright © 2006-2019 Red Hat, Inc. and others. Licensed under the GNU Lesser General Public License (LGPL), version 2.1 or later.