public class QueryFeedback extends Object implements Cloneable, Serializable
For instance, a query transformer might use the feedback mechanism to insert alternative spelling suggestions into the query response.
Constructor and Description |
---|
QueryFeedback(String stageName,
String messageName,
String message)
Create a new QueryFeedback object.
|
QueryFeedback(String stageName,
String messageName,
String message,
Map<String,Object> properties)
Create a new QueryFeedback object.
|
Modifier and Type | Method and Description |
---|---|
QueryFeedback |
clone() |
static ArrayList<QueryFeedback> |
clone(ArrayList<QueryFeedback> value)
Deep clone an ArrayList of QueryFeedback instances.
|
boolean |
equals(Object other) |
String |
getMessage()
Get the message.
|
String |
getMessageName()
Get the name of this message.
|
LinkedHashMap<String,Object> |
getProperties()
Get all properties.
|
Object |
getProperty(String name)
Get a property by name or null if it does not exist.
|
String |
getStageName()
Get the name of the stage that generated this message.
|
int |
hashCode() |
void |
setMessage(String message)
Set the message.
|
void |
setMessageName(String messageName)
Set the name of this message.
|
void |
setProperties(BaseTypesMap<String,Object> properties)
Set the properties for this feedback.
|
void |
setProperty(String name,
Object value)
Set a property.
|
void |
setStageName(String stageName)
Set the name of the stage that generated this message.
|
String |
toString() |
public QueryFeedback(String stageName, String messageName, String message)
public String getStageName()
public void setStageName(String stageName)
public String getMessage()
public void setMessage(String message)
public String getMessageName()
public void setMessageName(String messageName)
public Object getProperty(String name)
public LinkedHashMap<String,Object> getProperties()
public void setProperties(BaseTypesMap<String,Object> properties)
public QueryFeedback clone()
public static ArrayList<QueryFeedback> clone(ArrayList<QueryFeedback> value)
Copyright © 2018 Attivio, Inc. All Rights Reserved.
PATENT NOTICE: Attivio, Inc. Software Related Patents. With respect to the Attivio software product(s) being used, the following patents apply: Querying Joined Data Within A Search Engine Index: United States Patent No.(s): 8,073,840. Ordered Processing of Groups of Messages: U.S. Patent No.(s) 8,495,656. Signal processing approach to sentiment analysis for entities in documents: U.S. Patent No.(s) 8,725,494. Other U.S. and International Patents Pending.