optimize aggregate functions (#813)
authorJermy Li <lizhangmei@baidu.com>
Sat, 4 Apr 2020 19:15:11 +0000 (03:15 +0800)
committerGitHub <noreply@github.com>
Sat, 4 Apr 2020 19:15:11 +0000 (03:15 +0800)
commit65799ea13fa62d36c3abe996d0a9ba03ed1e2477
tree9cb378b0358ae5a862b006ebc8ebe6683918da6d
parent01f1e77eadc291bd4388c2acb58a692ad5402142
optimize aggregate functions (#813)

* optimize aggregate functions
* put backend dependencies into submodules
* adapt hbase
* adapt to rocksdb
* adapt to mysql
* adapt to memory backend
* fix query count with uncommitted records
* add option aggregation_timeout for cassandra and hbase
* add travis log for run-api-test
* fix jersey dependency conflict

Change-Id: I87af5f447c06e7a42c077d3d9eb1a3acde9d3b66
49 files changed:
hugegraph-cassandra/pom.xml
hugegraph-cassandra/src/main/java/com/baidu/hugegraph/backend/store/cassandra/CassandraMetrics.java
hugegraph-cassandra/src/main/java/com/baidu/hugegraph/backend/store/cassandra/CassandraOptions.java
hugegraph-cassandra/src/main/java/com/baidu/hugegraph/backend/store/cassandra/CassandraSessionPool.java
hugegraph-cassandra/src/main/java/com/baidu/hugegraph/backend/store/cassandra/CassandraStore.java
hugegraph-cassandra/src/main/java/com/baidu/hugegraph/backend/store/cassandra/CassandraTable.java
hugegraph-core/src/main/java/com/baidu/hugegraph/HugeGraph.java
hugegraph-core/src/main/java/com/baidu/hugegraph/backend/cache/CachedBackendStore.java
hugegraph-core/src/main/java/com/baidu/hugegraph/backend/page/PageEntryIterator.java
hugegraph-core/src/main/java/com/baidu/hugegraph/backend/page/QueryList.java
hugegraph-core/src/main/java/com/baidu/hugegraph/backend/query/Aggregate.java [new file with mode: 0644]
hugegraph-core/src/main/java/com/baidu/hugegraph/backend/query/Query.java
hugegraph-core/src/main/java/com/baidu/hugegraph/backend/query/QueryResults.java
hugegraph-core/src/main/java/com/baidu/hugegraph/backend/serializer/BinaryEntryIterator.java
hugegraph-core/src/main/java/com/baidu/hugegraph/backend/store/BackendSession.java
hugegraph-core/src/main/java/com/baidu/hugegraph/backend/store/BackendStore.java
hugegraph-core/src/main/java/com/baidu/hugegraph/backend/store/BackendTable.java
hugegraph-core/src/main/java/com/baidu/hugegraph/backend/store/memory/InMemoryDBStore.java
hugegraph-core/src/main/java/com/baidu/hugegraph/backend/store/memory/InMemoryDBTable.java
hugegraph-core/src/main/java/com/baidu/hugegraph/backend/store/memory/InMemoryDBTables.java
hugegraph-core/src/main/java/com/baidu/hugegraph/backend/tx/AbstractTransaction.java
hugegraph-core/src/main/java/com/baidu/hugegraph/backend/tx/GraphTransaction.java
hugegraph-core/src/main/java/com/baidu/hugegraph/backend/tx/SchemaIndexTransaction.java
hugegraph-core/src/main/java/com/baidu/hugegraph/backend/tx/SchemaTransaction.java
hugegraph-core/src/main/java/com/baidu/hugegraph/traversal/optimize/HugeCountStep.java [new file with mode: 0644]
hugegraph-core/src/main/java/com/baidu/hugegraph/traversal/optimize/HugeCountStepStrategy.java [new file with mode: 0644]
hugegraph-core/src/main/java/com/baidu/hugegraph/traversal/optimize/HugeGraphStep.java
hugegraph-core/src/main/java/com/baidu/hugegraph/traversal/optimize/HugeGraphStepStrategy.java
hugegraph-core/src/main/java/com/baidu/hugegraph/traversal/optimize/QueryHolder.java
hugegraph-core/src/main/java/com/baidu/hugegraph/traversal/optimize/TraversalUtil.java
hugegraph-dist/src/assembly/travis/run-api-test.sh
hugegraph-hbase/pom.xml
hugegraph-hbase/src/main/java/com/baidu/hugegraph/backend/store/hbase/HbaseOptions.java
hugegraph-hbase/src/main/java/com/baidu/hugegraph/backend/store/hbase/HbaseSessions.java
hugegraph-hbase/src/main/java/com/baidu/hugegraph/backend/store/hbase/HbaseStore.java
hugegraph-hbase/src/main/java/com/baidu/hugegraph/backend/store/hbase/HbaseTable.java
hugegraph-hbase/src/main/java/com/baidu/hugegraph/backend/store/hbase/HbaseTables.java
hugegraph-mysql/pom.xml
hugegraph-mysql/src/main/java/com/baidu/hugegraph/backend/store/mysql/MysqlSessions.java
hugegraph-mysql/src/main/java/com/baidu/hugegraph/backend/store/mysql/MysqlStore.java
hugegraph-mysql/src/main/java/com/baidu/hugegraph/backend/store/mysql/MysqlTable.java
hugegraph-rocksdb/pom.xml
hugegraph-rocksdb/src/main/java/com/baidu/hugegraph/backend/store/rocksdb/RocksDBSessions.java
hugegraph-rocksdb/src/main/java/com/baidu/hugegraph/backend/store/rocksdb/RocksDBStore.java
hugegraph-rocksdb/src/main/java/com/baidu/hugegraph/backend/store/rocksdb/RocksDBTable.java
hugegraph-test/src/main/java/com/baidu/hugegraph/core/EdgeCoreTest.java
hugegraph-test/src/main/java/com/baidu/hugegraph/core/VertexCoreTest.java
hugegraph-test/src/main/java/com/baidu/hugegraph/unit/core/QueryTest.java
pom.xml