You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pig.apache.org by jc...@apache.org on 2012/10/06 00:13:05 UTC
svn commit: r1394840 - /pig/trunk/src/org/apache/pig/PigConstants.java
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