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 3B575200BE2 for ; Wed, 9 Nov 2016 16:58:20 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 3A3C8160AEB; Wed, 9 Nov 2016 15:58:20 +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 4111F160B24 for ; Wed, 9 Nov 2016 16:58:18 +0100 (CET) Received: (qmail 34098 invoked by uid 500); 9 Nov 2016 15:58:17 -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 33662 invoked by uid 99); 9 Nov 2016 15:58:16 -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; Wed, 09 Nov 2016 15:58:16 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id BA6BEEF9A0; Wed, 9 Nov 2016 15:58:16 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: spmallette@apache.org To: commits@tinkerpop.apache.org Date: Wed, 09 Nov 2016 15:58:37 -0000 Message-Id: <9fc9bd0f8f564d768023f518d2ca3cd3@git.apache.org> In-Reply-To: References: X-Mailer: ASF-Git Admin Mailer Subject: [22/24] tinkerpop git commit: Merge branch 'TINKERPOP-1473' into tp32 archived-at: Wed, 09 Nov 2016 15:58:20 -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/TINKERPOP-1490 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.