pig-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jcove...@apache.org
Subject svn commit: r1394840 - /pig/trunk/src/org/apache/pig/PigConstants.java
Date Fri, 05 Oct 2012 22:13:05 GMT
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



Mime
View raw message