@Override
        public void createChildKeyRange(final Key parentKey,
                                        final TimeFilter timeFilter,
                                        final Consumer<KeyRange<ByteBuffer>> consumer) {
            if (timeFilter == null) {
                consumer.accept(all());
            } else {
                final ByteBuffer start = byteBufferFactory.acquire(Long.BYTES);
                final ByteBuffer stop = byteBufferFactory.acquire(Long.BYTES);
                try {
                    start.putLong(timeFilter.getFrom());
                    start.flip();
                    stop.putLong(timeFilter.getTo() + 1);
                    stop.flip();
                    consumer.accept(KeyRange.closedOpen(start, stop));
                } finally {
                    byteBufferFactory.release(start);
                    byteBufferFactory.release(stop);
                }
            }
        }
Creates a flat time based group key. <TIME_MS><GROUP_HASH>
stroom-query/stroom-query-common/src/main/java/stroom/query/common/v2/LmdbRowKeyFactoryFactory.java