druid/docs
praveev 52a74cf84f Use timestamp in millis as Map key instead of DateTime object (#3674)
* Use Long timestamp as key instead of DateTime.

DateTime representation is screwed up when you store with an obj
and read with a different DateTime obj.

For example: The code below fails when you use DateTime as key
```
        DateTime odt = DateTime.now(DateTimeUtils.getZone(DateTimeZone.forID("America/Los_Angeles")));
        HashMap<DateTime, String> map = new HashMap<>();
        map.put(odt, "abc");
        DateTime dt = new DateTime(odt.getMillis());
        System.out.println(map.get(dt));
```

* Respect timezone when creating the file.

* Update docs with timezone caveat in granularity spec

* Remove unused imports
2016-11-11 10:20:20 -08:00
..
_bin Move "libraries.md" out of docs, onto the main site. (#3159) 2016-06-16 18:14:35 -07:00
_graphics druid production architecture diagram 2015-05-27 17:06:24 -07:00
_includes towards a community led druid 2015-01-31 20:57:36 -08:00
_layouts towards a community led druid 2015-01-31 20:57:36 -08:00
content Use timestamp in millis as Map key instead of DateTime object (#3674) 2016-11-11 10:20:20 -08:00
img Improve segment file documentation 2015-06-24 11:45:23 -07:00
_config.yml update docs jekyll config 2015-02-17 23:58:50 -08:00
_redirects.json Move "libraries.md" out of docs, onto the main site. (#3159) 2016-06-16 18:14:35 -07:00
index.html towards a community led druid 2015-01-31 20:57:36 -08:00