public Object[] getKeyValuePair() {
    return new Object[] {key, value};
  }
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