Class QueryRewritesValuesDebugInfo
java.lang.Object
com.azure.search.documents.models.QueryRewritesValuesDebugInfo
- All Implemented Interfaces:
com.azure.json.JsonSerializable<QueryRewritesValuesDebugInfo>
public final class QueryRewritesValuesDebugInfo
extends Object
implements com.azure.json.JsonSerializable<QueryRewritesValuesDebugInfo>
Contains debugging information specific to query rewrites.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of QueryRewritesValuesDebugInfo class. -
Method Summary
Modifier and TypeMethodDescriptionstatic QueryRewritesValuesDebugInfofromJson(com.azure.json.JsonReader jsonReader) Reads an instance of QueryRewritesValuesDebugInfo from the JsonReader.Get the inputQuery property: The input text to the generative query rewriting model.Get the rewrites property: List of query rewrites.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
QueryRewritesValuesDebugInfo
public QueryRewritesValuesDebugInfo()Creates an instance of QueryRewritesValuesDebugInfo class.
-
-
Method Details
-
getInputQuery
Get the inputQuery property: The input text to the generative query rewriting model. There may be cases where the user query and the input to the generative model are not identical.- Returns:
- the inputQuery value.
-
getRewrites
Get the rewrites property: List of query rewrites.- Returns:
- the rewrites value.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<QueryRewritesValuesDebugInfo>- Throws:
IOException
-
fromJson
public static QueryRewritesValuesDebugInfo fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of QueryRewritesValuesDebugInfo from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of QueryRewritesValuesDebugInfo if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IOException- If an error occurs while reading the QueryRewritesValuesDebugInfo.
-