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 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 -
Method Summary
Modifier and Type Method Description Property.Kind_propertyKind()Property variant kind.java.lang.Stringanalyzer()API name:analyzerjava.util.List<SuggestContext>contexts()API name:contextsjava.lang.IntegermaxInputLength()API name:max_input_lengthstatic CompletionPropertyof(java.util.function.Function<CompletionProperty.Builder,ObjectBuilder<CompletionProperty>> fn)java.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(ObjectDeserializer<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, properties, serialize, setupPropertyBaseDeserializer, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, 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
-
-
Method Details
-
of
public static CompletionProperty of(java.util.function.Function<CompletionProperty.Builder,ObjectBuilder<CompletionProperty>> fn) -
_propertyKind
Property variant kind.- Specified by:
_propertyKindin 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:
serializeInternalin classDocValuesPropertyBase
-
setupCompletionPropertyDeserializer
protected static void setupCompletionPropertyDeserializer(ObjectDeserializer<CompletionProperty.Builder> op)
-