public class PropertyDefinition extends Object implements Serializable
| Constructor and Description |
|---|
PropertyDefinition(String propertyName,
Class<? extends Value> dataType,
Set<TextIndexHint> textIndexHints) |
PropertyDefinition(String propertyName,
Class dataType,
Set<TextIndexHint> textIndexHints,
Double boost,
boolean sortable) |
| Modifier and Type | Method and Description |
|---|---|
static PropertyDefinition |
findPropertyDefinition(Collection<PropertyDefinition> propertyDefinitions,
String propertyName) |
Double |
getBoost() |
Class<? extends Value> |
getDataType() |
String |
getPropertyName() |
Set<TextIndexHint> |
getTextIndexHints() |
boolean |
isSortable() |
String |
toString() |
public PropertyDefinition(String propertyName, Class<? extends Value> dataType, Set<TextIndexHint> textIndexHints)
public PropertyDefinition(String propertyName, Class dataType, Set<TextIndexHint> textIndexHints, Double boost, boolean sortable)
public String getPropertyName()
public Set<TextIndexHint> getTextIndexHints()
public Double getBoost()
public boolean isSortable()
public static PropertyDefinition findPropertyDefinition(Collection<PropertyDefinition> propertyDefinitions, String propertyName)
Copyright © 2016–2021 MWARE SOLUTIONS. All rights reserved.