This is an automated email from the ASF dual-hosted git repository.
jin pushed a change to branch fix_vaughn
in repository https://gitbox.apache.org/repos/asf/incubator-hugegraph.git
from e8c74013d tiny improve
add f6f370819 BREAKING CHANGE(server): support "parent & child" EdgeLabel
type (#2662)
add b5bb6ff8e Merge branch 'master' into fix_vaughn
No new revisions were added by this update.
Summary of changes:
.../hugegraph/iterator/ExtendableIterator.java | 11 +
.../org/apache/hugegraph/api/graph/EdgeAPI.java | 12 +-
.../apache/hugegraph/api/schema/EdgeLabelAPI.java | 29 ++
.../backend/store/cassandra/CassandraFeatures.java | 5 +
.../backend/store/cassandra/CassandraTables.java | 8 +-
.../main/java/org/apache/hugegraph/HugeGraph.java | 27 +-
.../backend/cache/CachedBackendStore.java | 30 ++
.../org/apache/hugegraph/backend/id/EdgeId.java | 68 ++--
.../backend/query/EdgesQueryIterator.java | 2 +-
.../org/apache/hugegraph/backend/query/Query.java | 4 +
.../backend/serializer/BinarySerializer.java | 36 +-
.../hugegraph/backend/serializer/BytesBuffer.java | 5 +-
.../backend/serializer/TableSerializer.java | 3 +
.../backend/serializer/TableSerializerV2.java | 129 +++++++
.../backend/serializer/TextSerializer.java | 8 +-
.../backend/store/AbstractBackendStore.java | 67 ++++
.../hugegraph/backend/store/BackendFeatures.java | 8 +-
.../hugegraph/backend/store/BackendStore.java | 7 +
.../backend/store/memory/InMemoryDBTables.java | 61 +++-
.../backend/store/raft/RaftBackendStore.java | 8 +
.../backend/tx/GraphIndexTransaction.java | 19 ++
.../hugegraph/backend/tx/GraphTransaction.java | 128 ++++++-
.../hugegraph/backend/tx/SchemaTransaction.java | 16 +-
.../hugegraph/backend/tx/SchemaTransactionV2.java | 25 +-
.../hugegraph/io/GraphSONSchemaSerializer.java | 57 +++-
.../org/apache/hugegraph/schema/EdgeLabel.java | 196 ++++++++---
.../hugegraph/schema/builder/EdgeLabelBuilder.java | 202 ++++++++---
.../org/apache/hugegraph/structure/HugeEdge.java | 38 ++-
.../org/apache/hugegraph/structure/HugeVertex.java | 2 +
.../traversal/algorithm/HugeTraverser.java | 2 +-
.../traversal/optimize/HugeVertexStep.java | 10 +-
.../hugegraph/type/define/EdgeLabelType.java | 8 -
.../org/apache/hugegraph/type/define/HugeKeys.java | 3 +
.../org/apache/hugegraph/example/Example4.java | 363 ++++++++++++++++++++
.../backend/store/hstore/HstoreStore.java | 318 ++++++++---------
.../backend/store/mysql/MysqlSerializer.java | 4 +-
.../hugegraph/backend/store/mysql/MysqlTables.java | 4 +-
.../org/apache/hugegraph/core/BaseCoreTest.java | 18 +-
.../org/apache/hugegraph/core/CoreTestSuite.java | 1 +
.../hugegraph/core/ParentAndSubEdgeCoreTest.java | 375 +++++++++++++++++++++
.../org/apache/hugegraph/core/TaskCoreTest.java | 8 +-
.../org/apache/hugegraph/unit/FakeObjects.java | 4 +-
.../org/apache/hugegraph/unit/id/EdgeIdTest.java | 12 +
.../org/apache/hugegraph/unit/id/IdUtilTest.java | 54 +--
.../apache/hugegraph/unit/util/JsonUtilTest.java | 16 +-
45 files changed, 2003 insertions(+), 408 deletions(-)
create mode 100644
hugegraph-server/hugegraph-core/src/main/java/org/apache/hugegraph/backend/serializer/TableSerializerV2.java
create mode 100644
hugegraph-server/hugegraph-example/src/main/java/org/apache/hugegraph/example/Example4.java
create mode 100644
hugegraph-server/hugegraph-test/src/main/java/org/apache/hugegraph/core/ParentAndSubEdgeCoreTest.java