hugegraph-test/src/main/java/org/apache/hugegraph/core/VertexCoreTest.java [6683:6712]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        Assume.assumeTrue("Not support aggregate property",
                          storeFeatures().supportsAggregateProperty());

        HugeGraph graph = graph();
        SchemaManager schema = graph.schema();

        schema.propertyKey("worstScore")
              .asInt().valueSingle().calcMin()
              .ifNotExist().create();
        schema.propertyKey("bestScore")
              .asInt().valueSingle().calcMax()
              .ifNotExist().create();
        schema.propertyKey("testNum")
              .asInt().valueSingle().calcSum()
              .ifNotExist().create();
        schema.propertyKey("rank")
              .asInt().valueSet().calcSet()
              .ifNotExist().create();
        schema.propertyKey("reword")
              .asInt().valueList().calcList()
              .ifNotExist().create();

        schema.vertexLabel("student")
              .properties("name", "worstScore", "bestScore",
                          "testNum", "rank", "reword")
              .primaryKeys("name")
              .nullableKeys("worstScore", "bestScore",
                            "testNum", "rank", "reword")
              .ifNotExist()
              .create();
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



hugegraph-test/src/main/java/org/apache/hugegraph/core/VertexCoreTest.java [6777:6806]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        Assume.assumeTrue("Not support aggregate property",
                          storeFeatures().supportsAggregateProperty());

        HugeGraph graph = graph();
        SchemaManager schema = graph.schema();

        schema.propertyKey("worstScore")
              .asInt().valueSingle().calcMin()
              .ifNotExist().create();
        schema.propertyKey("bestScore")
              .asInt().valueSingle().calcMax()
              .ifNotExist().create();
        schema.propertyKey("testNum")
              .asInt().valueSingle().calcSum()
              .ifNotExist().create();
        schema.propertyKey("rank")
              .asInt().valueSet().calcSet()
              .ifNotExist().create();
        schema.propertyKey("reword")
              .asInt().valueList().calcList()
              .ifNotExist().create();

        schema.vertexLabel("student")
              .properties("name", "worstScore", "bestScore",
                          "testNum", "rank", "reword")
              .primaryKeys("name")
              .nullableKeys("worstScore", "bestScore",
                            "testNum", "rank", "reword")
              .ifNotExist()
              .create();
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



