LexicalTokenizer Class
- java.
lang. Object - com.
azure. search. documents. indexes. models. LexicalTokenizer
- com.
Implements
public class LexicalTokenizer
implements JsonSerializable<LexicalTokenizer>
Base type for tokenizers.
Constructor Summary
Constructor | Description |
---|---|
LexicalTokenizer(String name) |
Creates an instance of Lexical |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Lexical |
fromJson(JsonReader jsonReader)
Reads an instance of Lexical |
String |
getName()
Get the name property: The name of the tokenizer. |
String |
getOdataType()
Get the odata |
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Constructor Details
LexicalTokenizer
public LexicalTokenizer(String name)
Creates an instance of LexicalTokenizer class.
Parameters:
Method Details
fromJson
public static LexicalTokenizer fromJson(JsonReader jsonReader)
Reads an instance of LexicalTokenizer from the JsonReader.
Parameters:
Returns:
Throws:
getName
public String getName()
Get the name property: The name of the tokenizer. It must only contain letters, digits, spaces, dashes or underscores, can only start and end with alphanumeric characters, and is limited to 128 characters.
Returns:
getOdataType
public String getOdataType()
Get the odataType property: A URI fragment specifying the type of tokenizer.
Returns:
toJson
Applies to
Azure SDK for Java