public class DocumentIdMapping extends Object
Constructor and Description |
---|
DocumentIdMapping(PropertyDescriptor property,
EntityDescriptor entity,
SearchMapping mapping) |
Modifier and Type | Method and Description |
---|---|
AnalyzerDefMapping |
analyzerDef(String name,
Class<? extends org.apache.lucene.analysis.util.TokenizerFactory> tokenizerFactory) |
PropertyMapping |
bridge(Class<? extends FieldBridge> fieldBridge) |
EntityMapping |
entity(Class<?> entityType) |
FieldMapping |
field() |
DocumentIdMapping |
name(String fieldName) |
PropertyMapping |
property(String name,
ElementType type) |
SortableFieldMapping |
sortableField() |
PropertySpatialMapping |
spatial() |
public DocumentIdMapping(PropertyDescriptor property, EntityDescriptor entity, SearchMapping mapping)
public DocumentIdMapping name(String fieldName)
public FieldMapping field()
public SortableFieldMapping sortableField()
public PropertySpatialMapping spatial()
public PropertyMapping property(String name, ElementType type)
public AnalyzerDefMapping analyzerDef(String name, Class<? extends org.apache.lucene.analysis.util.TokenizerFactory> tokenizerFactory)
public EntityMapping entity(Class<?> entityType)
public PropertyMapping bridge(Class<? extends FieldBridge> fieldBridge)
Copyright © 2006–2016 Hibernate. All rights reserved.