Package com.yahoo.prelude.fastsearch
Class DocsumDefinition
java.lang.Object
com.yahoo.prelude.fastsearch.DocsumDefinition
A docsum definition which knows how to decode a certain class of document
summaries. The docsum definition has a name and a list of field definitions
- Author:
- bratseth, Bjørn Borud
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the given slime value as the type specified in this, or null if the type is not known.getField
(int fieldIndex) Returns the field at this index, or null if noneReturns the field with this name, or null if noneint
getName()
boolean
Returns whether this summary contains one or more dynamic fieldstoString()
-
Constructor Details
-
DocsumDefinition
-
-
Method Details
-
getField
Returns the field at this index, or null if none -
getField
Returns the field with this name, or null if none -
convert
Returns the given slime value as the type specified in this, or null if the type is not known. Even in a correctly configured system we may encounter field names for which we do not know the type, in the time period when a configuration is changing and one node has received the new configuration and another has not. -
fieldNames
-
toString
-
getName
-
getFieldCount
public int getFieldCount() -
getFields
-
isDynamic
public boolean isDynamic()Returns whether this summary contains one or more dynamic fields
-