Package com.yahoo.search.query.profile
Class QueryProfileVariants.FieldValues
java.lang.Object
com.yahoo.search.query.profile.QueryProfileVariants.FieldValues
- All Implemented Interfaces:
com.yahoo.component.provider.Freezable,Cloneable
- Enclosing class:
- QueryProfileVariants
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionasList()Returns the field values (values for various dimensions) for this field as a read-only list (never null)clone()clone(String fieldName, List<QueryProfileVariant> clonedVariants) Clone by filling in values from the given variantsprotected voidThrows an IllegalStateException if this is frozenvoidfreeze()getExact(DimensionValues dimensionValues) Returns the value having exactly the given dimensions, or null if nonegetIfExists(int index) booleanisFrozen()voidput(DimensionValues dimensionValues, Object value) intsize()Same as asList().size()voidsort()
-
Constructor Details
-
FieldValues
public FieldValues()
-
-
Method Details
-
freeze
public void freeze()- Specified by:
freezein interfacecom.yahoo.component.provider.Freezable
-
isFrozen
public boolean isFrozen()- Specified by:
isFrozenin interfacecom.yahoo.component.provider.Freezable
-
put
-
getExact
Returns the value having exactly the given dimensions, or null if none -
asList
Returns the field values (values for various dimensions) for this field as a read-only list (never null) -
getIfExists
-
sort
public void sort() -
size
public int size()Same as asList().size() -
ensureNotFrozen
protected void ensureNotFrozen()Throws an IllegalStateException if this is frozen -
clone
public QueryProfileVariants.FieldValues clone(String fieldName, List<QueryProfileVariant> clonedVariants) Clone by filling in values from the given variants -
clone
-