Class OverridableQueryProfile

  • All Implemented Interfaces:
    com.yahoo.component.Component, com.yahoo.component.provider.Freezable, java.lang.Cloneable, java.lang.Comparable<com.yahoo.component.Component>
    Direct Known Subclasses:
    BackedOverridableQueryProfile

    public class OverridableQueryProfile
    extends QueryProfile
    A regular query profile which knows it is storing overrides (not configured profiles) and that implements override legality checking.
    Author:
    bratseth
    • Constructor Detail

      • OverridableQueryProfile

        protected OverridableQueryProfile()
        Creates an unbacked overridable query profile
      • OverridableQueryProfile

        protected OverridableQueryProfile​(java.lang.String sourceName)
    • Method Detail

      • checkAndConvertAssignment

        protected java.lang.Object checkAndConvertAssignment​(java.lang.String localName,
                                                             java.lang.Object inputValue,
                                                             QueryProfileRegistry registry)
        Description copied from class: QueryProfile
        Converts to the type of the receiving field, if possible and necessary.
        Overrides:
        checkAndConvertAssignment in class QueryProfile
        Returns:
        the value to be assigned: the original or a converted value