org.apache.pig.piggybank.storage
Class IndexedStorage.IndexedStorageOutputFormat
java.lang.Object
org.apache.hadoop.mapreduce.OutputFormat<K,V>
org.apache.hadoop.mapreduce.lib.output.FileOutputFormat<K,V>
org.apache.hadoop.mapreduce.lib.output.TextOutputFormat<org.apache.hadoop.io.WritableComparable,Tuple>
org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.PigTextOutputFormat
org.apache.pig.piggybank.storage.IndexedStorage.IndexedStorageOutputFormat
- Enclosing class:
- IndexedStorage
public static class IndexedStorage.IndexedStorageOutputFormat
- extends PigTextOutputFormat
Internal OutputFormat class
Nested classes/interfaces inherited from class org.apache.hadoop.mapreduce.lib.output.TextOutputFormat |
org.apache.hadoop.mapreduce.lib.output.TextOutputFormat.LineRecordWriter<K,V> |
Nested classes/interfaces inherited from class org.apache.hadoop.mapreduce.lib.output.FileOutputFormat |
org.apache.hadoop.mapreduce.lib.output.FileOutputFormat.Counter |
Method Summary |
org.apache.hadoop.mapreduce.RecordWriter<org.apache.hadoop.io.WritableComparable,Tuple> |
getRecordWriter(org.apache.hadoop.mapreduce.TaskAttemptContext context)
|
Methods inherited from class org.apache.hadoop.mapreduce.lib.output.FileOutputFormat |
checkOutputSpecs, getCompressOutput, getDefaultWorkFile, getOutputCommitter, getOutputCompressorClass, getOutputPath, getPathForWorkFile, getUniqueFile, getWorkOutputPath, setCompressOutput, setOutputCompressorClass, setOutputPath |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
offsetsToIndexKeys
protected final int[] offsetsToIndexKeys
- Offsets to index keys in given tuple
IndexedStorage.IndexedStorageOutputFormat
public IndexedStorage.IndexedStorageOutputFormat(byte delimiter,
int[] offsetsToIndexKeys)
getRecordWriter
public org.apache.hadoop.mapreduce.RecordWriter<org.apache.hadoop.io.WritableComparable,Tuple> getRecordWriter(org.apache.hadoop.mapreduce.TaskAttemptContext context)
throws IOException,
InterruptedException
- Overrides:
getRecordWriter
in class PigTextOutputFormat
- Throws:
IOException
InterruptedException
Copyright © 2007-2012 The Apache Software Foundation