add comment about de-serialing bySegment

This commit is contained in:
Xavier Léauté 2014-12-09 17:01:13 -08:00
parent a7da9aed9f
commit c44242f0af
1 changed files with 2 additions and 0 deletions

View File

@ -268,6 +268,8 @@ public class DirectDruidClient<T> implements QueryRunner<T>
}
);
// bySegment queries are de-serialized after caching results in order to
// avoid the cost of de-serializing and then re-serializing again when adding to cache
if (!isBySegment) {
retVal = Sequences.map(
retVal,