public static class IndexedStorage.IndexedStorageOutputFormat extends PigTextOutputFormat
| Modifier and Type | Class and Description | 
|---|---|
| static class  | IndexedStorage.IndexedStorageOutputFormat.IndexedStorageRecordWriterInternal class to do the actual record writing and index generation | 
PigTextOutputFormat.PigLineRecordWriter| Modifier and Type | Field and Description | 
|---|---|
| protected int[] | offsetsToIndexKeysOffsets 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, setOutputPathprotected 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 PigTextOutputFormatjava.io.IOExceptionjava.lang.InterruptedExceptionCopyright © 2007-2012 The Apache Software Foundation