Return-Path: X-Original-To: apmail-accumulo-dev-archive@www.apache.org Delivered-To: apmail-accumulo-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 15ED4100B8 for ; Wed, 3 Jul 2013 16:45:22 +0000 (UTC) Received: (qmail 48494 invoked by uid 500); 3 Jul 2013 16:45:22 -0000 Delivered-To: apmail-accumulo-dev-archive@accumulo.apache.org Received: (qmail 48461 invoked by uid 500); 3 Jul 2013 16:45:21 -0000 Mailing-List: contact dev-help@accumulo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@accumulo.apache.org Delivered-To: mailing list dev@accumulo.apache.org Received: (qmail 48442 invoked by uid 99); 3 Jul 2013 16:45:19 -0000 Received: from minotaur.apache.org (HELO minotaur.apache.org) (140.211.11.9) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Jul 2013 16:45:19 +0000 Received: from localhost (HELO mail-lb0-f173.google.com) (127.0.0.1) (smtp-auth username ctubbsii, mechanism plain) by minotaur.apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Jul 2013 16:45:18 +0000 Received: by mail-lb0-f173.google.com with SMTP id v1so412248lbd.4 for ; Wed, 03 Jul 2013 09:45:17 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=0ssNJSsxD898b6YBdS7L/lTEzZbWnhBA2+fuEZxdQLM=; b=PjS5MMQYQdefUrSm9He+sPj/nUpZx9Wc2XFfLlK52GHgBteeikQG5VGJccWU/2GdCA AC/As/5+j1zK2sAUDBrkfzuA/9gF79+j+QscPfGCI8gYjnmr9GSai+fFvIc94DGS7Xzm klziR1sG5VJ68awDgnJPBt6QhdnAvahyhanQ/G1on9q+SibpqI/4bWCxiLEn9IlTzHM7 LFkyMI4SxKCDyZxpRxYSt+k85Lxyk29taAQV3XmtLAp6mE7DWQEpXQxJHaoTF+PgYA2+ rdsJEThbS/+PUyV/lCbKsENrqryXVqvg67NcemUVlwdN+GIGiDg7D4lf65J1DgbkdGJV Iw5A== MIME-Version: 1.0 X-Received: by 10.152.19.131 with SMTP id f3mr935247lae.9.1372869917025; Wed, 03 Jul 2013 09:45:17 -0700 (PDT) Received: by 10.114.181.37 with HTTP; Wed, 3 Jul 2013 09:45:16 -0700 (PDT) In-Reply-To: References: Date: Wed, 3 Jul 2013 12:45:16 -0400 Message-ID: Subject: Re: SourceSwitchingIterator - what is this class supposed to do? From: Christopher To: Accumulo Dev List Content-Type: text/plain; charset=ISO-8859-1 I think this enables scans while flushing. Once flushed, we can switch the current scan over to the file data source instead of the in-memory data source, and similar use cases like that. -- Christopher L Tubbs II http://gravatar.com/ctubbsii On Wed, Jul 3, 2013 at 12:39 PM, David Medinets wrote: > The intent of the class is not clear to me from reading the source code.