code: public final T getSpecializedOrDefault(T defaultInstance)
    {
      T specialized = getSpecialized();
      return specialized != null ? specialized : defaultInstance;
    }
docs: Returns an instance of specialized version of query processing algorithm, if available, defaultInstance otherwise.