public static class IndexedStorage.IndexedStorageOutputFormat extends PigTextOutputFormat
Modifier and Type | Class and Description |
---|---|
static class |
IndexedStorage.IndexedStorageOutputFormat.IndexedStorageRecordWriter
Internal class to do the actual record writing and index generation
|
PigTextOutputFormat.PigLineRecordWriter
Modifier and Type | Field and Description |
---|---|
protected int[] |
offsetsToIndexKeys
Offsets to index keys in given tuple
|
Constructor and Description |
---|
IndexedStorage.IndexedStorageOutputFormat(byte delimiter,
int[] offsetsToIndexKeys) |
Modifier and Type | Method and Description |
---|---|
org.apache.hadoop.mapreduce.RecordWriter<org.apache.hadoop.io.WritableComparable,Tuple> |
getRecordWriter(org.apache.hadoop.mapreduce.TaskAttemptContext context) |
checkOutputSpecs, getCompressOutput, getDefaultWorkFile, getOutputCommitter, getOutputCompressorClass, getOutputName, getOutputPath, getPathForWorkFile, getUniqueFile, getWorkOutputPath, setCompressOutput, setOutputCompressorClass, setOutputName, setOutputPath
protected final int[] offsetsToIndexKeys
public IndexedStorage.IndexedStorageOutputFormat(byte delimiter, int[] offsetsToIndexKeys)
public org.apache.hadoop.mapreduce.RecordWriter<org.apache.hadoop.io.WritableComparable,Tuple> getRecordWriter(org.apache.hadoop.mapreduce.TaskAttemptContext context) throws java.io.IOException, java.lang.InterruptedException
getRecordWriter
in class PigTextOutputFormat
java.io.IOException
java.lang.InterruptedException
Copyright © 2007-2012 The Apache Software Foundation