Class TupleTools
- java.lang.Object
-
- com.yahoo.vespa.hadoop.mapreduce.util.TupleTools
-
public class TupleTools extends Object
-
-
Constructor Summary
Constructors Constructor Description TupleTools()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
toString(Map<String,Object> fields, String template)
static String
toString(org.apache.pig.impl.logicalLayer.schema.Schema schema, org.apache.pig.data.Tuple tuple, String template)
static Map<String,Object>
tupleMap(org.apache.pig.impl.logicalLayer.schema.Schema schema, org.apache.pig.data.Tuple tuple)
static Map<String,Object>
tupleMap(org.apache.pig.ResourceSchema schema, org.apache.pig.data.Tuple tuple)
-
-
-
Method Detail
-
tupleMap
public static Map<String,Object> tupleMap(org.apache.pig.impl.logicalLayer.schema.Schema schema, org.apache.pig.data.Tuple tuple) throws IOException
- Throws:
IOException
-
tupleMap
public static Map<String,Object> tupleMap(org.apache.pig.ResourceSchema schema, org.apache.pig.data.Tuple tuple) throws IOException
- Throws:
IOException
-
toString
public static String toString(org.apache.pig.impl.logicalLayer.schema.Schema schema, org.apache.pig.data.Tuple tuple, String template) throws IOException
- Throws:
IOException
-
-