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 A7938200B83 for ; Sat, 3 Sep 2016 01:18:00 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id A62EB160ACB; Fri, 2 Sep 2016 23:18:00 +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 208D2160A8C for ; Sat, 3 Sep 2016 01:17:59 +0200 (CEST) Received: (qmail 25195 invoked by uid 500); 2 Sep 2016 23:17:59 -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 25183 invoked by uid 99); 2 Sep 2016 23:17:59 -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; Fri, 02 Sep 2016 23:17:59 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id E578EE053F; Fri, 2 Sep 2016 23:17:58 +0000 (UTC) From: melrief To: dev@accumulo.apache.org Reply-To: dev@accumulo.apache.org References: In-Reply-To: Subject: [GitHub] accumulo pull request #145: ACCUMULO-4376 add KeyBuilder Content-Type: text/plain Message-Id: <20160902231758.E578EE053F@git1-us-west.apache.org> Date: Fri, 2 Sep 2016 23:17:58 +0000 (UTC) archived-at: Fri, 02 Sep 2016 23:18:00 -0000 Github user melrief commented on a diff in the pull request: https://github.com/apache/accumulo/pull/145#discussion_r77424301 --- Diff: core/src/main/java/org/apache/accumulo/core/data/Key.java --- @@ -51,6 +51,26 @@ protected long timestamp; protected boolean deleted; + /** + * Create a {@link Key} builder. + * + * @param copyBytes + * if the bytes of the {@link Key} components should be copied + * @return the builder at the {@link KeyBuilder.RowStep} + */ + public static KeyBuilder.RowStep builder(boolean copyBytes) { + return new KeyBuilder.AbstractKeyBuilder(copyBytes); + } + + /** + * Create a {@link Key} builder. Copy bytes defaults to true. + * + * @return the builder at the {@link KeyBuilder.RowStep} + */ + public static KeyBuilder.RowStep builder() { --- End diff -- Done. --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastructure@apache.org or file a JIRA ticket with INFRA. ---