@Override
  public boolean equals(Object other) {
    if (!(other instanceof CqEntry)) {
      return false;
    }
    return key.equals(((CqEntry) other).getKey());
  }
Returns key values as Object[] with key as the first and value as the last element of the
array.

@return Object[] key, value pair
geode-core/src/main/java/org/apache/geode/cache/query/internal/CqEntry.java