Class SemanticProperty
java.lang.Object
org.opensearch.client.opensearch._types.mapping.SemanticProperty
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,PropertyVariant,ToCopyableBuilder<SemanticProperty.Builder,SemanticProperty>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class SemanticProperty
extends Object
implements PropertyVariant, PlainJsonSerializable, ToCopyableBuilder<SemanticProperty.Builder,SemanticProperty>
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<SemanticProperty> Json deserializer forSemanticProperty -
Method Summary
Modifier and TypeMethodDescriptionPropertyvariant kind.static SemanticProperty.Builderbuilder()final JsonDatachunking()API name:chunkingAPI name:dense_embedding_configbooleaninthashCode()final StringmodelId()Required - API name:model_idstatic SemanticPropertyfinal StringAPI name:raw_field_typefinal StringAPI name:search_model_idfinal StringAPI name:semantic_field_search_analyzerfinal StringAPI name:semantic_info_field_namevoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidfinal BooleanAPI name:skip_existing_embeddingAPI name:sparse_encoding_configCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.json.PlainJsonSerializable
toJsonStringMethods inherited from interface org.opensearch.client.opensearch._types.mapping.PropertyVariant
toPropertyMethods inherited from interface org.opensearch.client.util.ToCopyableBuilder
copy
-
Field Details
-
_DESERIALIZER
Json deserializer forSemanticProperty
-
-
Method Details
-
of
public static SemanticProperty of(Function<SemanticProperty.Builder, ObjectBuilder<SemanticProperty>> fn) -
_propertyKind
Propertyvariant kind.- Specified by:
_propertyKindin interfacePropertyVariant
-
chunking
API name:chunking -
denseEmbeddingConfig
API name:dense_embedding_config -
modelId
Required - API name:model_id -
rawFieldType
API name:raw_field_type -
searchModelId
API name:search_model_id -
semanticFieldSearchAnalyzer
API name:semantic_field_search_analyzer -
semanticInfoFieldName
API name:semantic_info_field_name -
skipExistingEmbedding
API name:skip_existing_embedding -
sparseEncodingConfig
API name:sparse_encoding_config -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toBuilder
Description copied from interface:ToCopyableBuilderCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<SemanticProperty.Builder,SemanticProperty> - Returns:
- a new builder instance.
-
builder
-
setupSemanticPropertyDeserializer
protected static void setupSemanticPropertyDeserializer(ObjectDeserializer<SemanticProperty.Builder> op) -
hashCode
public int hashCode() -
equals
-