gephi / graphstore

Fast in-memory graph structure, powering Gephi
Apache License 2.0
71 stars 26 forks source link

Expose isSortable to indexed columns and take into account non-sortable Numbers. #130

Closed eduramiba closed 8 years ago

eduramiba commented 8 years ago

See https://github.com/gephi/gephi/issues/1612

eduramiba commented 8 years ago

Actually it's assumed that all Number columns are sortable, but BigInteger and BigDecimal are not because the index is using fastutil Object2ObjectOpenHashMap. This should be fixed by using Object2ObjectAVLTreeMap (new in fastutil 7).