docs: protected Comparison getComparison( QueryContext context,
                                          Comparison comparison1,
                                          Comparison comparison2,
                                          boolean smallest ) {
          int diff = compareStaticOperands(context, comparison1, comparison2);
          if (diff == 0) {
              // They are the same ...
              return comparison1;
          }
          if (!smallest) diff = -1 * diff;
          return diff < 1 ? comparison1 : comparison2;
      }