Class CustomAnalyzer
java.lang.Object
org.opensearch.client.opensearch._types.analysis.CustomAnalyzer
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,AnalyzerVariant,ToCopyableBuilder<CustomAnalyzer.Builder,CustomAnalyzer>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class CustomAnalyzer
extends Object
implements AnalyzerVariant, PlainJsonSerializable, ToCopyableBuilder<CustomAnalyzer.Builder,CustomAnalyzer>
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<CustomAnalyzer> Json deserializer forCustomAnalyzer -
Method Summary
Modifier and TypeMethodDescriptionAnalyzervariant kind.static CustomAnalyzer.Builderbuilder()API name:char_filterbooleanfilter()API name:filterinthashCode()static CustomAnalyzerfinal IntegerAPI name:position_increment_gapfinal IntegerAPI name:position_offset_gapvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.final StringRequired - API name:tokenizerMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.opensearch._types.analysis.AnalyzerVariant
toAnalyzerMethods inherited from interface org.opensearch.client.json.PlainJsonSerializable
toJsonStringMethods inherited from interface org.opensearch.client.util.ToCopyableBuilder
copy
-
Field Details
-
_DESERIALIZER
Json deserializer forCustomAnalyzer
-
-
Method Details
-
of
-
_analyzerKind
Analyzervariant kind.- Specified by:
_analyzerKindin interfaceAnalyzerVariant
-
charFilter
API name:char_filter -
filter
API name:filter -
positionIncrementGap
API name:position_increment_gap -
positionOffsetGap
API name:position_offset_gap -
tokenizer
Required - API name:tokenizer -
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<CustomAnalyzer.Builder,CustomAnalyzer> - Returns:
- a new builder instance.
-
builder
-
setupCustomAnalyzerDeserializer
protected static void setupCustomAnalyzerDeserializer(ObjectDeserializer<CustomAnalyzer.Builder> op) -
hashCode
public int hashCode() -
equals
-