idxCond = new BasicIndexQuery.IndexConditionEQ(key);
} else {
final byte[] keyStr = ArrayUtils.copyOfRange(query, 0, percentidx);
final byte[] filter = ArrayUtils.copyOfRange(query, percentidx, query.length);
final Value key = new Value(keyStr);
idxCond = new ByteLikeIndexQuery(key, filter, RevPathCoder.PERCENT_CODE);
}
return idxCond;
}