public class FacetMapping extends Object
@Facet
.Constructor and Description |
---|
FacetMapping(String fieldName,
PropertyDescriptor property,
EntityDescriptor entity,
SearchMapping mapping) |
Modifier and Type | Method and Description |
---|---|
FacetMapping |
encoding(FacetEncodingType encoding) |
EntityMapping |
entity(Class<?> entityType) |
FieldMapping |
field() |
FacetMapping |
name(String fieldName) |
NumericFieldMapping |
numericField() |
PropertyMapping |
property(String name,
ElementType type) |
public FacetMapping(String fieldName, PropertyDescriptor property, EntityDescriptor entity, SearchMapping mapping)
public FacetMapping name(String fieldName)
public FacetMapping encoding(FacetEncodingType encoding)
public FieldMapping field()
public NumericFieldMapping numericField()
public PropertyMapping property(String name, ElementType type)
public EntityMapping entity(Class<?> entityType)
Copyright © 2006-2017 Red Hat, Inc. All Rights Reserved