public interface IndexFieldDescriptor
| Modifier and Type | Method and Description |
|---|---|
String |
absolutePath() |
default boolean |
isMultiValued()
Deprecated.
Use
multiValued() instead. |
boolean |
isObjectField() |
boolean |
isValueField() |
boolean |
multiValued() |
IndexCompositeElementDescriptor |
parent() |
String |
relativeName() |
IndexObjectFieldDescriptor |
toObjectField() |
IndexValueFieldDescriptor |
toValueField() |
boolean isObjectField()
true if this field is an object field.
In that case, toObjectField() can be called safely (it won't throw an exception).boolean isValueField()
true if this field is a value field.
In that case, toValueField() can be called safely (it won't throw an exception).IndexObjectFieldDescriptor toObjectField()
IndexObjectFieldDescriptor, if possible. Never null.SearchException - If this field is not an object field.IndexValueFieldDescriptor toValueField()
IndexValueFieldDescriptor, if possible. Never null.SearchException - If this field is not a value field.IndexCompositeElementDescriptor parent()
index root
or an object field.String absolutePath()
boolean multiValued()
true if this field can have multiple values in the same parent document.@Deprecated default boolean isMultiValued()
multiValued() instead.true if this field can have multiple values in the same parent document.Copyright © 2006-2020 Red Hat, Inc. and others. Licensed under the GNU Lesser General Public License (LGPL), version 2.1 or later.