AnalyzeResult Class
- java.
lang. Object - com.
azure. search. documents. indexes. models. AnalyzeResult
- com.
Implements
public final class AnalyzeResult
implements JsonSerializable<AnalyzeResult>
The result of testing an analyzer on text.
Constructor Summary
| Constructor | Description |
|---|---|
| AnalyzeResult(List<AnalyzedTokenInfo> tokens) |
Creates an instance of Analyze |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Analyze |
fromJson(JsonReader jsonReader)
Reads an instance of Analyze |
|
List<Analyzed |
getTokens()
Get the tokens property: The list of tokens returned by the analyzer specified in the request. |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Constructor Details
AnalyzeResult
public AnalyzeResult(List<AnalyzedTokenInfo> tokens)
Creates an instance of AnalyzeResult class.
Parameters:
Method Details
fromJson
public static AnalyzeResult fromJson(JsonReader jsonReader)
Reads an instance of AnalyzeResult from the JsonReader.
Parameters:
Returns:
Throws:
getTokens
public List<AnalyzedTokenInfo> getTokens()
Get the tokens property: The list of tokens returned by the analyzer specified in the request.
Returns: