Class CompletionProperty
java.lang.Object
co.elastic.clients.elasticsearch._types.mapping.PropertyBase
co.elastic.clients.elasticsearch._types.mapping.CorePropertyBase
co.elastic.clients.elasticsearch._types.mapping.DocValuesPropertyBase
co.elastic.clients.elasticsearch._types.mapping.CompletionProperty
- All Implemented Interfaces:
PropertyVariant
,JsonpSerializable
@JsonpDeserializable public class CompletionProperty extends DocValuesPropertyBase implements PropertyVariant
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CompletionProperty.Builder
Builder forCompletionProperty
.Nested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.mapping.DocValuesPropertyBase
DocValuesPropertyBase.AbstractBuilder<BuilderT extends DocValuesPropertyBase.AbstractBuilder<BuilderT>>
-
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<CompletionProperty>
_DESERIALIZER
Json deserializer forCompletionProperty
-
Method Summary
Modifier and Type Method Description Property.Kind
_propertyKind()
Property variant kind.java.lang.String
analyzer()
API name:analyzer
java.util.List<SuggestContext>
contexts()
API name:contexts
java.lang.Integer
maxInputLength()
API name:max_input_length
static CompletionProperty
of(java.util.function.Function<CompletionProperty.Builder,ObjectBuilder<CompletionProperty>> fn)
java.lang.Boolean
preservePositionIncrements()
API name:preserve_position_increments
java.lang.Boolean
preserveSeparators()
API name:preserve_separators
java.lang.String
searchAnalyzer()
API name:search_analyzer
protected void
serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
protected static void
setupCompletionPropertyDeserializer(ObjectDeserializer<CompletionProperty.Builder> op)
Methods inherited from class co.elastic.clients.elasticsearch._types.mapping.DocValuesPropertyBase
docValues, setupDocValuesPropertyBaseDeserializer
Methods inherited from class co.elastic.clients.elasticsearch._types.mapping.CorePropertyBase
copyTo, setupCorePropertyBaseDeserializer, similarity, store
Methods inherited from class co.elastic.clients.elasticsearch._types.mapping.PropertyBase
dynamic, fields, ignoreAbove, localMetadata, meta, properties, serialize, setupPropertyBaseDeserializer, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface co.elastic.clients.json.JsonpSerializable
serialize
Methods inherited from interface co.elastic.clients.elasticsearch._types.mapping.PropertyVariant
_toProperty
-
Field Details
-
_DESERIALIZER
Json deserializer forCompletionProperty
-
-
Method Details
-
of
public static CompletionProperty of(java.util.function.Function<CompletionProperty.Builder,ObjectBuilder<CompletionProperty>> fn) -
_propertyKind
Property variant kind.- Specified by:
_propertyKind
in interfacePropertyVariant
-
analyzer
@Nullable public final java.lang.String analyzer()API name:analyzer
-
contexts
API name:contexts
-
maxInputLength
@Nullable public final java.lang.Integer maxInputLength()API name:max_input_length
-
preservePositionIncrements
@Nullable public final java.lang.Boolean preservePositionIncrements()API name:preserve_position_increments
-
preserveSeparators
@Nullable public final java.lang.Boolean preserveSeparators()API name:preserve_separators
-
searchAnalyzer
@Nullable public final java.lang.String searchAnalyzer()API name:search_analyzer
-
serializeInternal
- Overrides:
serializeInternal
in classDocValuesPropertyBase
-
setupCompletionPropertyDeserializer
protected static void setupCompletionPropertyDeserializer(ObjectDeserializer<CompletionProperty.Builder> op)
-