public interface MetadataProvider
Modifier and Type | Method and Description |
---|---|
boolean |
containsSearchMetadata(Class<?> clazz) |
TypeMetadata |
getTypeMetadataFor(Class<?> clazz,
IndexManagerType indexManagerType)
Returns the Search related metadata for the specified type.
|
TypeMetadata |
getTypeMetadataForContainedIn(Class<?> clazz)
Returns the
ContainedIn related metadata for the specified type. |
TypeMetadata getTypeMetadataFor(Class<?> clazz, IndexManagerType indexManagerType)
clazz
- The type of interest.indexManagerType
- the IndexManagerType
type managing this entity typeTypeMetadata
for the specified typeTypeMetadata getTypeMetadataForContainedIn(Class<?> clazz)
ContainedIn
related metadata for the specified type.
The metadata for ContainedIn
are not comprehensive: they do not
contain the information about the FieldBridges, the analyzers or the NullMarkerCodecs.
We can't build these information because classes only marked with
ContainedIn
are not tied to an IndexManager
.
It's of no use for ContainedIn
resolution anyway.
clazz
- The type of interest.ContainedInTypeMetadata
for the specified typeboolean containsSearchMetadata(Class<?> clazz)
Copyright © 2006-2017 Red Hat, Inc. All Rights Reserved