public boolean matches(Descriptor other) {
      if (!mode.equals(other.mode) || (argCount != other.argCount) ) {
        return false;
      }
      if (unscaled != other.unscaled) {
        return false;
      }
      for (int i = 0; i < argCount; i++) {
        if (!argTypes[i].isSameTypeOrFamily(other.argTypes[i])) {
          return false;
        }
        if (!exprTypes[i].equals(other.exprTypes[i])) {
          return false;
        }
      }
      return true;
    }
Descriptor is immutable and is constructed by the {@link Builder} only. {@link #equals(Object)} is the only
publicly exposed member which can be used to compare two descriptors.
ql/src/java/org/apache/hadoop/hive/ql/exec/vector/VectorExpressionDescriptor.java