You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tinkerpop.apache.org by sp...@apache.org on 2019/12/03 18:34:29 UTC
[tinkerpop] branch master updated (7e96133 -> 05ebdc8)
This is an automated email from the ASF dual-hosted git repository.
spmallette pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/tinkerpop.git.
from 7e96133 Merge branch 'tp34'
add 0ab7a52 TINKERPOP-2235 Allow null to work within Gremlin
add 381d1e5 TINKERPOP-2235 Fix C# gherkin test harness
add 5824b53 TINKERPOP-2235 Fixed null handling in .NET
add 1f7d34e TINKERPOP-2235 Added tests and Graph level null support
add a2fce50 TINKERPOP-2235 Exposed the configuration option for null as a feature
add 86c0db8 TINKERPOP-2235 Added upgrade and reference docs
add f94956a TINKERPOP-2235 Cleanup comments/javadoc a bit for MapStep
add 46a4cef TINKERPOP-2235 Expand imports to match code style
add 98e722b TINKERPOP-2235 Improved upgrade docs for null handling
add f80990b TINKERPOP-2235 Adjusted semantics of null a bit for Graph
add 8ff4322 TINKERPOP-2235 Minor refactoring to get rid of duplicate code
add ba454fd TINKERPOP-2235 Improve map checks for null
add 5901ddf TINKERPOP-2235 Allow for nulls in Path toString()
add 4e688ca TINKERPOP-2235 Be smarter about null in SelectOneStep
add f5e937b TINKERPOP-2235 Removed some uneccessary code
add c102bc3 TINKERPOP-2235 Fixed ImmutablePath again
add 4ef74c3 TINKERPOP-2235 Major refactoring and introduction of ScalarMapStep
add b15437c TINKERPOP-2235 Refactored Scoping interface
add 185a32d TINKERPOP-2235 Ensured null defaults to default vertex label for all overloads of addV()
add b5c033e TINKERPOP-2235 More consistent null handling for vertex mutations
add 446d92c TINKERPOP-2235 Ensured addE(null) behaved consistently.
add d2be888 TINKERPOP-2235 Consistent behavior for multi/meta properties and null
add db3933f TINKERPOP-2235 Fixed up label overrides for property(label,Object)
new 05ebdc8 Merge pull request #1214 from apache/TINKERPOP-2235
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
CHANGELOG.asciidoc | 7 +
.../reference/implementations-tinkergraph.asciidoc | 1 +
docs/src/upgrade/release-3.5.x.asciidoc | 291 ++++++++++++++++++++-
.../tinkerpop/gremlin/jsr223/JavaTranslator.java | 29 +-
.../tinkerpop/gremlin/process/traversal/Order.java | 8 +-
.../gremlin/process/traversal/Traverser.java | 9 +-
.../traversal/dsl/graph/GraphTraversal.java | 11 +-
.../traversal/dsl/graph/GraphTraversalSource.java | 6 +-
.../gremlin/process/traversal/step/Scoping.java | 88 +++++--
.../traversal/step/filter/DedupGlobalStep.java | 4 +-
.../traversal/step/filter/WherePredicateStep.java | 4 +-
.../traversal/step/filter/WhereTraversalStep.java | 8 +-
.../process/traversal/step/map/AddEdgeStep.java | 2 +-
.../traversal/step/map/AddVertexStartStep.java | 17 +-
.../process/traversal/step/map/AddVertexStep.java | 19 +-
.../process/traversal/step/map/ConstantStep.java | 2 +-
.../process/traversal/step/map/CountLocalStep.java | 2 +-
.../process/traversal/step/map/DedupLocalStep.java | 2 +-
.../traversal/step/map/EdgeOtherVertexStep.java | 2 +-
.../process/traversal/step/map/ElementMapStep.java | 2 +-
.../gremlin/process/traversal/step/map/IdStep.java | 2 +-
.../process/traversal/step/map/IndexStep.java | 2 +-
.../process/traversal/step/map/LabelStep.java | 2 +-
.../process/traversal/step/map/LambdaMapStep.java | 2 +-
.../process/traversal/step/map/LoopsStep.java | 2 +-
.../process/traversal/step/map/MapStep.java | 15 +-
.../process/traversal/step/map/MathStep.java | 2 +-
.../process/traversal/step/map/MaxLocalStep.java | 2 +-
.../process/traversal/step/map/MeanLocalStep.java | 2 +-
.../process/traversal/step/map/MinLocalStep.java | 2 +-
.../process/traversal/step/map/OrderLocalStep.java | 2 +-
.../process/traversal/step/map/PathStep.java | 2 +-
.../process/traversal/step/map/ProjectStep.java | 2 +-
.../traversal/step/map/PropertyKeyStep.java | 2 +-
.../traversal/step/map/PropertyMapStep.java | 2 +-
.../traversal/step/map/PropertyValueStep.java | 2 +-
.../process/traversal/step/map/RangeLocalStep.java | 2 +-
.../process/traversal/step/map/SackStep.java | 2 +-
.../traversal/step/map/SampleLocalStep.java | 2 +-
.../step/map/{MapStep.java => ScalarMapStep.java} | 13 +-
.../process/traversal/step/map/SelectOneStep.java | 27 +-
.../process/traversal/step/map/SelectStep.java | 29 +-
.../process/traversal/step/map/SumLocalStep.java | 2 +-
.../process/traversal/step/map/TailLocalStep.java | 2 +-
.../traversal/step/map/TraversalMapStep.java | 8 +-
.../traversal/step/map/TraversalSelectStep.java | 58 ++--
.../process/traversal/step/util/AbstractStep.java | 19 +-
.../process/traversal/step/util/ImmutablePath.java | 8 +-
.../process/traversal/step/util/Parameters.java | 11 +
.../finalization/ReferenceElementStrategy.java | 4 +-
.../traversal/traverser/B_O_S_SE_SL_Traverser.java | 2 +-
.../traverser/util/AbstractTraverser.java | 7 +-
.../traversal/traverser/util/EmptyTraverser.java | 9 +-
.../apache/tinkerpop/gremlin/structure/Graph.java | 20 ++
.../tinkerpop/gremlin/structure/Property.java | 4 -
.../gremlin/structure/util/ElementHelper.java | 59 +++--
.../gremlin/structure/util/StringFactory.java | 3 +-
.../gremlin/process/traversal/OrderTest.java | 4 +
.../traversal/step/map/AddVertexStepTest.java | 48 ++++
.../traversal/step/util/ParametersTest.java | 16 ++
.../util/EmptyTraverserTest.java} | 17 +-
.../gremlin/structure/util/ElementHelperTest.java | 58 ++--
.../gremlin/util/iterator/ArrayIteratorTest.java | 16 ++
.../src/Gremlin.Net/Process/Traversal/Bytecode.cs | 6 +
.../Gremlin.Net/Process/Traversal/Instruction.cs | 11 +
.../Structure/IO/GraphSON/GraphSONWriter.cs | 18 +-
.../Gherkin/CommonSteps.cs | 4 +-
.../TraversalEvaluation/LiteralParameter.cs | 11 +-
.../Gherkin/TraversalEvaluation/TraversalParser.cs | 26 +-
.../Structure/IO/GraphSON/GraphSONReaderTests.cs | 9 +-
.../Structure/IO/GraphSON/GraphSONWriterTests.cs | 4 +-
.../groovy/jsr223/GroovyTranslatorProvider.java | 4 -
.../ParameterizedGroovyTranslatorProvider.java | 4 -
.../test/cucumber/feature-steps.js | 10 +-
.../gremlin-javascript/test/unit/graphson-test.js | 5 +
.../gremlin_python/structure/io/graphbinaryV1.py | 4 +
.../src/main/jython/radish/feature_steps.py | 6 +-
.../tests/structure/io/test_graphbinaryV1.py | 9 +
.../jython/tests/structure/io/test_graphsonV2d0.py | 4 +
.../jython/tests/structure/io/test_graphsonV3d0.py | 4 +
.../GraphBinaryRemoteGraphComputerProvider.java | 6 +-
.../GraphSONRemoteGraphComputerProvider.java | 6 +-
.../remote/GryoRemoteGraphComputerProvider.java | 6 +-
...emoteGraphGroovyTranslatorComputerProvider.java | 6 +-
gremlin-test/features/map/AddEdge.feature | 25 ++
gremlin-test/features/map/AddVertex.feature | 44 ++++
gremlin-test/features/map/Constant.feature | 17 +-
gremlin-test/features/map/Map.feature | 16 ++
gremlin-test/features/sideEffect/Inject.feature | 39 +++
.../process/AbstractGremlinProcessTest.java | 5 +-
.../process/traversal/CoreTraversalTest.java | 51 +++-
.../process/traversal/step/map/AddEdgeTest.java | 18 ++
.../process/traversal/step/map/AddVertexTest.java | 60 ++++-
.../process/traversal/step/map/ConstantTest.java | 15 +-
.../process/traversal/step/map/MapTest.java | 22 ++
.../traversal/step/sideEffect/InjectTest.java | 53 ++++
.../strategy/decoration/TranslationStrategy.java | 4 +-
.../tinkerpop/gremlin/structure/PropertyTest.java | 67 ++++-
.../gremlin/structure/VertexPropertyTest.java | 92 ++++++-
.../gremlin/neo4j/structure/Neo4jEdge.java | 6 +
.../gremlin/neo4j/structure/Neo4jGraph.java | 10 +
.../gremlin/neo4j/structure/Neo4jVertex.java | 6 +
.../gremlin/tinkergraph/structure/TinkerEdge.java | 8 +
.../gremlin/tinkergraph/structure/TinkerGraph.java | 18 ++
.../gremlin/tinkergraph/structure/TinkerIndex.java | 48 +++-
.../tinkergraph/structure/TinkerProperty.java | 5 +-
.../tinkergraph/structure/TinkerVertex.java | 12 +
.../structure/TinkerVertexProperty.java | 22 +-
.../strategy/decoration/OptionsStrategyTest.java | 4 +-
.../tinkergraph/structure/TinkerGraphTest.java | 1 -
...tractTinkerGraphGraphSONTranslatorProvider.java | 4 -
.../io/gryo/TinkerGraphGryoTranslatorProvider.java | 4 -
112 files changed, 1494 insertions(+), 354 deletions(-)
copy gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/step/map/{MapStep.java => ScalarMapStep.java} (73%)
create mode 100644 gremlin-core/src/test/java/org/apache/tinkerpop/gremlin/process/traversal/step/map/AddVertexStepTest.java
copy gremlin-core/src/test/java/org/apache/tinkerpop/gremlin/process/traversal/{ScopeTest.java => traverser/util/EmptyTraverserTest.java} (70%)
[tinkerpop] 01/01: Merge pull request #1214 from
apache/TINKERPOP-2235
Posted by sp...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
spmallette pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tinkerpop.git
commit 05ebdc830f528ab822c97a2c5c4899d65e989f75
Merge: 7e96133 db3933f
Author: stephen mallette <sp...@users.noreply.github.com>
AuthorDate: Tue Dec 3 13:34:21 2019 -0500
Merge pull request #1214 from apache/TINKERPOP-2235
TINKERPOP-2235 Expand semantics of null
CHANGELOG.asciidoc | 7 +
.../reference/implementations-tinkergraph.asciidoc | 1 +
docs/src/upgrade/release-3.5.x.asciidoc | 291 ++++++++++++++++++++-
.../tinkerpop/gremlin/jsr223/JavaTranslator.java | 29 +-
.../tinkerpop/gremlin/process/traversal/Order.java | 8 +-
.../gremlin/process/traversal/Traverser.java | 9 +-
.../traversal/dsl/graph/GraphTraversal.java | 11 +-
.../traversal/dsl/graph/GraphTraversalSource.java | 6 +-
.../gremlin/process/traversal/step/Scoping.java | 88 +++++--
.../traversal/step/filter/DedupGlobalStep.java | 4 +-
.../traversal/step/filter/WherePredicateStep.java | 4 +-
.../traversal/step/filter/WhereTraversalStep.java | 8 +-
.../process/traversal/step/map/AddEdgeStep.java | 2 +-
.../traversal/step/map/AddVertexStartStep.java | 17 +-
.../process/traversal/step/map/AddVertexStep.java | 19 +-
.../process/traversal/step/map/ConstantStep.java | 2 +-
.../process/traversal/step/map/CountLocalStep.java | 2 +-
.../process/traversal/step/map/DedupLocalStep.java | 2 +-
.../traversal/step/map/EdgeOtherVertexStep.java | 2 +-
.../process/traversal/step/map/ElementMapStep.java | 2 +-
.../gremlin/process/traversal/step/map/IdStep.java | 2 +-
.../process/traversal/step/map/IndexStep.java | 2 +-
.../process/traversal/step/map/LabelStep.java | 2 +-
.../process/traversal/step/map/LambdaMapStep.java | 2 +-
.../process/traversal/step/map/LoopsStep.java | 2 +-
.../process/traversal/step/map/MapStep.java | 15 +-
.../process/traversal/step/map/MathStep.java | 2 +-
.../process/traversal/step/map/MaxLocalStep.java | 2 +-
.../process/traversal/step/map/MeanLocalStep.java | 2 +-
.../process/traversal/step/map/MinLocalStep.java | 2 +-
.../process/traversal/step/map/OrderLocalStep.java | 2 +-
.../process/traversal/step/map/PathStep.java | 2 +-
.../process/traversal/step/map/ProjectStep.java | 2 +-
.../traversal/step/map/PropertyKeyStep.java | 2 +-
.../traversal/step/map/PropertyMapStep.java | 2 +-
.../traversal/step/map/PropertyValueStep.java | 2 +-
.../process/traversal/step/map/RangeLocalStep.java | 2 +-
.../process/traversal/step/map/SackStep.java | 2 +-
.../traversal/step/map/SampleLocalStep.java | 2 +-
.../step/map/{MapStep.java => ScalarMapStep.java} | 13 +-
.../process/traversal/step/map/SelectOneStep.java | 27 +-
.../process/traversal/step/map/SelectStep.java | 29 +-
.../process/traversal/step/map/SumLocalStep.java | 2 +-
.../process/traversal/step/map/TailLocalStep.java | 2 +-
.../traversal/step/map/TraversalMapStep.java | 8 +-
.../traversal/step/map/TraversalSelectStep.java | 58 ++--
.../process/traversal/step/util/AbstractStep.java | 19 +-
.../process/traversal/step/util/ImmutablePath.java | 8 +-
.../process/traversal/step/util/Parameters.java | 11 +
.../finalization/ReferenceElementStrategy.java | 4 +-
.../traversal/traverser/B_O_S_SE_SL_Traverser.java | 2 +-
.../traverser/util/AbstractTraverser.java | 7 +-
.../traversal/traverser/util/EmptyTraverser.java | 9 +-
.../apache/tinkerpop/gremlin/structure/Graph.java | 20 ++
.../tinkerpop/gremlin/structure/Property.java | 4 -
.../gremlin/structure/util/ElementHelper.java | 59 +++--
.../gremlin/structure/util/StringFactory.java | 3 +-
.../gremlin/process/traversal/OrderTest.java | 4 +
.../traversal/step/map/AddVertexStepTest.java | 48 ++++
.../traversal/step/util/ParametersTest.java | 16 ++
.../traverser/util/EmptyTraverserTest.java} | 30 +--
.../gremlin/structure/util/ElementHelperTest.java | 58 ++--
.../gremlin/util/iterator/ArrayIteratorTest.java | 16 ++
.../src/Gremlin.Net/Process/Traversal/Bytecode.cs | 6 +
.../Gremlin.Net/Process/Traversal/Instruction.cs | 11 +
.../Structure/IO/GraphSON/GraphSONWriter.cs | 18 +-
.../Gherkin/CommonSteps.cs | 4 +-
.../TraversalEvaluation/LiteralParameter.cs | 11 +-
.../Gherkin/TraversalEvaluation/TraversalParser.cs | 26 +-
.../Structure/IO/GraphSON/GraphSONReaderTests.cs | 9 +-
.../Structure/IO/GraphSON/GraphSONWriterTests.cs | 4 +-
.../groovy/jsr223/GroovyTranslatorProvider.java | 4 -
.../ParameterizedGroovyTranslatorProvider.java | 4 -
.../test/cucumber/feature-steps.js | 10 +-
.../gremlin-javascript/test/unit/graphson-test.js | 5 +
.../gremlin_python/structure/io/graphbinaryV1.py | 4 +
.../src/main/jython/radish/feature_steps.py | 6 +-
.../tests/structure/io/test_graphbinaryV1.py | 9 +
.../jython/tests/structure/io/test_graphsonV2d0.py | 4 +
.../jython/tests/structure/io/test_graphsonV3d0.py | 4 +
.../GraphBinaryRemoteGraphComputerProvider.java | 6 +-
.../GraphSONRemoteGraphComputerProvider.java | 6 +-
.../remote/GryoRemoteGraphComputerProvider.java | 6 +-
...emoteGraphGroovyTranslatorComputerProvider.java | 6 +-
gremlin-test/features/map/AddEdge.feature | 25 ++
gremlin-test/features/map/AddVertex.feature | 44 ++++
gremlin-test/features/map/Constant.feature | 17 +-
gremlin-test/features/map/Map.feature | 16 ++
gremlin-test/features/sideEffect/Inject.feature | 39 +++
.../process/AbstractGremlinProcessTest.java | 5 +-
.../process/traversal/CoreTraversalTest.java | 51 +++-
.../process/traversal/step/map/AddEdgeTest.java | 18 ++
.../process/traversal/step/map/AddVertexTest.java | 60 ++++-
.../process/traversal/step/map/ConstantTest.java | 15 +-
.../process/traversal/step/map/MapTest.java | 22 ++
.../traversal/step/sideEffect/InjectTest.java | 53 ++++
.../strategy/decoration/TranslationStrategy.java | 4 +-
.../tinkerpop/gremlin/structure/PropertyTest.java | 67 ++++-
.../gremlin/structure/VertexPropertyTest.java | 92 ++++++-
.../gremlin/neo4j/structure/Neo4jEdge.java | 6 +
.../gremlin/neo4j/structure/Neo4jGraph.java | 10 +
.../gremlin/neo4j/structure/Neo4jVertex.java | 6 +
.../gremlin/tinkergraph/structure/TinkerEdge.java | 8 +
.../gremlin/tinkergraph/structure/TinkerGraph.java | 18 ++
.../gremlin/tinkergraph/structure/TinkerIndex.java | 48 +++-
.../tinkergraph/structure/TinkerProperty.java | 5 +-
.../tinkergraph/structure/TinkerVertex.java | 12 +
.../structure/TinkerVertexProperty.java | 22 +-
.../strategy/decoration/OptionsStrategyTest.java | 4 +-
.../tinkergraph/structure/TinkerGraphTest.java | 1 -
...tractTinkerGraphGraphSONTranslatorProvider.java | 4 -
.../io/gryo/TinkerGraphGryoTranslatorProvider.java | 4 -
112 files changed, 1498 insertions(+), 363 deletions(-)