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,UnionVariant
@JsonpDeserializable public final class CompletionProperty extends DocValuesPropertyBase implements PropertyVariant
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCompletionProperty.BuilderBuilder 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>_DESERIALIZERJson deserializer forCompletionProperty -
Constructor Summary
Constructors Constructor Description CompletionProperty(CompletionProperty.Builder builder)CompletionProperty(java.util.function.Function<CompletionProperty.Builder,CompletionProperty.Builder> fn) -
Method Summary
Modifier and Type Method Description java.lang.String_variantType()Propertyvariant typejava.lang.Stringanalyzer()API name:analyzerjava.util.List<SuggestContext>contexts()API name:contextsjava.lang.IntegermaxInputLength()API name:max_input_lengthjava.lang.BooleanpreservePositionIncrements()API name:preserve_position_incrementsjava.lang.BooleanpreserveSeparators()API name:preserve_separatorsjava.lang.StringsearchAnalyzer()API name:search_analyzerprotected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupCompletionPropertyDeserializer(DelegatingDeserializer<CompletionProperty.Builder> op)Methods inherited from class co.elastic.clients.elasticsearch._types.mapping.DocValuesPropertyBase
docValues, setupDocValuesPropertyBaseDeserializerMethods inherited from class co.elastic.clients.elasticsearch._types.mapping.CorePropertyBase
copyTo, setupCorePropertyBaseDeserializer, similarity, storeMethods inherited from class co.elastic.clients.elasticsearch._types.mapping.PropertyBase
dynamic, fields, ignoreAbove, localMetadata, meta, name, properties, serialize, setupPropertyBaseDeserializerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface co.elastic.clients.json.JsonpSerializable
serializeMethods inherited from interface co.elastic.clients.elasticsearch._types.mapping.PropertyVariant
_toProperty
-
Field Details
-
_DESERIALIZER
Json deserializer forCompletionProperty
-
-
Constructor Details
-
CompletionProperty
-
CompletionProperty
public CompletionProperty(java.util.function.Function<CompletionProperty.Builder,CompletionProperty.Builder> fn)
-
-
Method Details
-
_variantType
public java.lang.String _variantType()Propertyvariant type- Specified by:
_variantTypein interfaceUnionVariant
-
analyzer
@Nullable public java.lang.String analyzer()API name:analyzer -
contexts
API name:contexts -
maxInputLength
@Nullable public java.lang.Integer maxInputLength()API name:max_input_length -
preservePositionIncrements
@Nullable public java.lang.Boolean preservePositionIncrements()API name:preserve_position_increments -
preserveSeparators
@Nullable public java.lang.Boolean preserveSeparators()API name:preserve_separators -
searchAnalyzer
@Nullable public java.lang.String searchAnalyzer()API name:search_analyzer -
serializeInternal
- Overrides:
serializeInternalin classDocValuesPropertyBase
-
setupCompletionPropertyDeserializer
protected static void setupCompletionPropertyDeserializer(DelegatingDeserializer<CompletionProperty.Builder> op)
-