Package com.attivio.sdk.search.fields
Class ScoreExplain
- java.lang.Object
- 
- com.attivio.sdk.search.fields.FieldExpression
- 
- com.attivio.sdk.search.fields.ScoreExplain
 
 
- 
- All Implemented Interfaces:
- java.io.Serializable,- java.lang.Cloneable
 
 public class ScoreExplain extends FieldExpression FieldExpression to provide the explanation of a document's score.PERFORMANCE NOTE: Requesting an explanation of a document's score is very costly. The performance cost can be as high as (num docs returned) * (search query execution time).- See Also:
- Serialized Form
 
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from class com.attivio.sdk.search.fields.FieldExpressionFieldExpression.StringMode
 
- 
 - 
Field Summary- 
Fields inherited from class com.attivio.sdk.search.fields.FieldExpressionEMPTY_ARRAY
 
- 
 - 
Constructor SummaryConstructors Constructor Description ScoreExplain()Construct a new ScoreExplain.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object other)SchemaField.TypegetType(Schema schema)Resolve the type for this expression.booleanhasChildren()Returnstrueif this field expression has any sub FieldExpressions.inthashCode()booleanisConstant()Returnstrueif this field expression evaluates to a constant value.protected voidtoString(java.lang.StringBuilder buffer, FieldExpression.StringMode mode)Writes the string representation of this field expression tobuffer.static ScoreExplainvalueOf(StringParser parser)- 
Methods inherited from class com.attivio.sdk.search.fields.FieldExpressionapply, clone, copyOf, forEachField, forEachPhrase, forEachQuery, getDefaultName, getFieldName, isConstant, parse, quote, rewrite, rewrite, rewriteChildren, toString, toString, valueOf
 
- 
 
- 
- 
- 
Method Detail- 
isConstantpublic boolean isConstant() Returnstrueif this field expression evaluates to a constant value.- Specified by:
- isConstantin class- FieldExpression
 
 - 
getTypepublic SchemaField.Type getType(Schema schema) Resolve the type for this expression.- Specified by:
- getTypein class- FieldExpression
 
 - 
hasChildrenpublic boolean hasChildren() Returnstrueif this field expression has any sub FieldExpressions.- Specified by:
- hasChildrenin class- FieldExpression
 
 - 
toStringprotected void toString(java.lang.StringBuilder buffer, FieldExpression.StringMode mode)Writes the string representation of this field expression tobuffer.- Specified by:
- toStringin class- FieldExpression
 
 - 
equalspublic boolean equals(java.lang.Object other) - Overrides:
- equalsin class- java.lang.Object
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- FieldExpression
 
 - 
valueOfpublic static ScoreExplain valueOf(StringParser parser) 
 
- 
 
-