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

public static class QueryProfileVariants.FieldValues extends Object implements com.yahoo.component.provider.Freezable, Cloneable
  • Constructor Details

    • FieldValues

      public FieldValues()
  • Method Details

    • freeze

      public void freeze()
      Specified by:
      freeze in interface com.yahoo.component.provider.Freezable
    • isFrozen

      public boolean isFrozen()
      Specified by:
      isFrozen in interface com.yahoo.component.provider.Freezable
    • put

      public void put(DimensionValues dimensionValues, Object value)
    • getExact

      public Object getExact(DimensionValues dimensionValues)
      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

      public QueryProfileVariants.FieldValue getIfExists(int index)
    • 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

      Overrides:
      clone in class Object