Return-Path: X-Original-To: apmail-pig-commits-archive@www.apache.org Delivered-To: apmail-pig-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0FCA7D557 for ; Fri, 5 Oct 2012 22:13:52 +0000 (UTC) Received: (qmail 88238 invoked by uid 500); 5 Oct 2012 22:13:51 -0000 Delivered-To: apmail-pig-commits-archive@pig.apache.org Received: (qmail 88211 invoked by uid 500); 5 Oct 2012 22:13:51 -0000 Mailing-List: contact commits-help@pig.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@pig.apache.org Delivered-To: mailing list commits@pig.apache.org Received: (qmail 88204 invoked by uid 99); 5 Oct 2012 22:13:51 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Oct 2012 22:13:51 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Oct 2012 22:13:49 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 69F5023888EA for ; Fri, 5 Oct 2012 22:13:05 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1394840 - /pig/trunk/src/org/apache/pig/PigConstants.java Date: Fri, 05 Oct 2012 22:13:05 -0000 To: commits@pig.apache.org From: jcoveney@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20121005221305.69F5023888EA@eris.apache.org> Author: jcoveney Date: Fri Oct 5 22:13:05 2012 New Revision: 1394840 URL: http://svn.apache.org/viewvc?rev=1394840&view=rev Log: PIG-2877: Make SchemaTuple work in foreach (and thus, in loads) (jcoveney) -- add PigConstants.java Added: pig/trunk/src/org/apache/pig/PigConstants.java Added: pig/trunk/src/org/apache/pig/PigConstants.java URL: http://svn.apache.org/viewvc/pig/trunk/src/org/apache/pig/PigConstants.java?rev=1394840&view=auto ============================================================================== --- pig/trunk/src/org/apache/pig/PigConstants.java (added) +++ pig/trunk/src/org/apache/pig/PigConstants.java Fri Oct 5 22:13:05 2012 @@ -0,0 +1,20 @@ +package org.apache.pig; + +public class PigConstants { + private PigConstants() {} + + /** + * This key is used in the job conf to let the various jobs know what code was + * generated. + */ + public static final String GENERATED_CLASSES_KEY = "pig.schematuple.classes"; + + /** + * This key is used when a job is run in local mode to pass the location of the generated code + * from the front-end to the "back-end" (which, in this case, is in the same JVM). + */ + public static final String LOCAL_CODE_DIR = "pig.schematuple.local.dir"; + + // This makes it easy to turn SchemaTuple on globally. + public static final boolean SCHEMA_TUPLE_ON_BY_DEFAULT = false; +} \ No newline at end of file