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 7CC16200D74 for ; Tue, 26 Dec 2017 04:58:31 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 7B0A1160C30; Tue, 26 Dec 2017 03:58:31 +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 E8B50160C1E for ; Tue, 26 Dec 2017 04:58:30 +0100 (CET) Received: (qmail 41464 invoked by uid 500); 26 Dec 2017 03:58:24 -0000 Mailing-List: contact user-help@flink.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list user@flink.apache.org Received: (qmail 41454 invoked by uid 99); 26 Dec 2017 03:58:24 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Dec 2017 03:58:24 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 5608EC35EE for ; Tue, 26 Dec 2017 03:58:24 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3.735 X-Spam-Level: *** X-Spam-Status: No, score=3.735 tagged_above=-999 required=6.31 tests=[DKIM_ADSP_CUSTOM_MED=0.001, FREEMAIL_ENVFROM_END_DIGIT=0.25, NML_ADSP_CUSTOM_MED=1.2, SPF_HELO_PASS=-0.001, SPF_SOFTFAIL=0.972, URI_HEX=1.313] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id UdThMoE0egrq for ; Tue, 26 Dec 2017 03:58:23 +0000 (UTC) Received: from n4.nabble.com (n4.nabble.com [162.253.133.72]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 6812B5F3D0 for ; Tue, 26 Dec 2017 03:58:23 +0000 (UTC) Received: from mben.nabble.com (localhost [127.0.0.1]) by n4.nabble.com (Postfix) with ESMTP id 2FFEC177790D5 for ; Mon, 25 Dec 2017 20:58:23 -0700 (MST) Date: Mon, 25 Dec 2017 20:58:23 -0700 (MST) From: aitozi To: user@flink.apache.org Message-ID: <1514260703194-0.post@n4.nabble.com> Subject: MergingWindow MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit archived-at: Tue, 26 Dec 2017 03:58:31 -0000 Hi, i cant unserstand usage of this snippest of the code in MergingWindowSet.java, can anyone explain this for me ? if (!(mergedWindows.contains(mergeResult) && mergedWindows.size() == 1)) { mergeFunction.merge(mergeResult, mergedWindows, this.mapping.get(mergeResult), mergedStateWindows); } -- Sent from: http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/