Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 49546200BB9 for ; Mon, 7 Nov 2016 17:38:49 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 46448160B10; Mon, 7 Nov 2016 16:38:49 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 8E1A2160AF9 for ; Mon, 7 Nov 2016 17:38:48 +0100 (CET) Received: (qmail 41899 invoked by uid 500); 7 Nov 2016 16:38:47 -0000 Mailing-List: contact commits-help@tinkerpop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@tinkerpop.apache.org Delivered-To: mailing list commits@tinkerpop.apache.org Received: (qmail 41858 invoked by uid 99); 7 Nov 2016 16:38:47 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Nov 2016 16:38:47 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id AC846EEE7B; Mon, 7 Nov 2016 16:38:47 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: okram@apache.org To: commits@tinkerpop.apache.org Date: Mon, 07 Nov 2016 16:38:49 -0000 Message-Id: In-Reply-To: <5f14e19690fb435eadee98b7953304d9@git.apache.org> References: <5f14e19690fb435eadee98b7953304d9@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [3/3] tinkerpop git commit: Merge branch 'TINKERPOP-1473' into tp32 archived-at: Mon, 07 Nov 2016 16:38:49 -0000 Merge branch 'TINKERPOP-1473' into tp32 Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/0c8d856f Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/0c8d856f Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/0c8d856f Branch: refs/heads/tp32 Commit: 0c8d856f0c531d1a9d999640345b25bd6460d7b3 Parents: 11f711d 3019757 Author: Marko A. Rodriguez Authored: Mon Nov 7 09:38:40 2016 -0700 Committer: Marko A. Rodriguez Committed: Mon Nov 7 09:38:40 2016 -0700 ---------------------------------------------------------------------- CHANGELOG.asciidoc | 1 + .../optimization/InlineFilterStrategy.java | 5 +- .../optimization/MatchPredicateStrategy.java | 2 +- .../optimization/PathProcessorStrategy.java | 54 ++++++++++++-- .../optimization/PathProcessorStrategyTest.java | 78 ++++++++++++-------- .../step/filter/GroovyWhereTest.groovy | 5 ++ .../traversal/step/filter/WhereTest.java | 15 ++++ 7 files changed, 117 insertions(+), 43 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/0c8d856f/CHANGELOG.asciidoc ---------------------------------------------------------------------- diff --cc CHANGELOG.asciidoc index 44f775e,578972c..c22855e --- a/CHANGELOG.asciidoc +++ b/CHANGELOG.asciidoc @@@ -26,15 -26,7 +26,16 @@@ image::https://raw.githubusercontent.co TinkerPop 3.2.4 (Release Date: NOT OFFICIALLY RELEASED YET) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +* Added `TinkerGraphCountStrategy` which translates `g.V().map*.count()` patterns into direct `Map.size()` calls in `TinkerGraph`. +* Added `Path.head()` and `Path.isEmpty()` with default method implementations. +* Improved ability to release resources in `GraphProvider` instances in the test suite. +* Added a `force` option for killing sessions without waiting for transaction close or timeout of a currently running job or multiple jobs. +* Deprecated `Session.kill()` and `Session.manualKill()`. +* Added `choose(predicate,traversal)` and `choose(traversal,traversal)` to effect if/then-semantics (no else). Equivalent to `choose(x,y,identity())`. +* Removed `ImmutablePath.TailPath` as it is no longer required with new recursion model. +* Removed call stack recursion in `ImmutablePath`. +* `IncidentToAdjacentStrategy` now uses a hidden label marker model to avoid repeated recursion for invalidating steps. + * `PathProcessorStrategy` can inline certain `where(traversal)`-steps in order to increase the likelihood of star-local children. * `SparkGraphComputer` no longer starts a worker iteration if the worker's partition is empty. * Added `ProjectStep.getProjectKeys()` for strategies that rely on such information. * Added `VertexFeatures.supportsDuplicateMultiProperties()` for graphs that only support unique values in multi-properties.