org.apache.pig.piggybank.storage
Class IndexedStorage.IndexedStorageInputFormat.IndexedStorageRecordReader.IndexedStorageRecordReaderComparator

java.lang.Object
  extended by org.apache.pig.piggybank.storage.IndexedStorage.IndexedStorageInputFormat.IndexedStorageRecordReader.IndexedStorageRecordReaderComparator
All Implemented Interfaces:
Comparator<IndexedStorage.IndexedStorageInputFormat.IndexedStorageRecordReader>
Enclosing class:
IndexedStorage.IndexedStorageInputFormat.IndexedStorageRecordReader

public static class IndexedStorage.IndexedStorageInputFormat.IndexedStorageRecordReader.IndexedStorageRecordReaderComparator
extends Object
implements Comparator<IndexedStorage.IndexedStorageInputFormat.IndexedStorageRecordReader>

Class to compare record readers using underlying indexes


Constructor Summary
IndexedStorage.IndexedStorageInputFormat.IndexedStorageRecordReader.IndexedStorageRecordReaderComparator()
           
 
Method Summary
 int compare(IndexedStorage.IndexedStorageInputFormat.IndexedStorageRecordReader o1, IndexedStorage.IndexedStorageInputFormat.IndexedStorageRecordReader o2)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Comparator
equals
 

Constructor Detail

IndexedStorage.IndexedStorageInputFormat.IndexedStorageRecordReader.IndexedStorageRecordReaderComparator

public IndexedStorage.IndexedStorageInputFormat.IndexedStorageRecordReader.IndexedStorageRecordReaderComparator()
Method Detail

compare

public int compare(IndexedStorage.IndexedStorageInputFormat.IndexedStorageRecordReader o1,
                   IndexedStorage.IndexedStorageInputFormat.IndexedStorageRecordReader o2)
Specified by:
compare in interface Comparator<IndexedStorage.IndexedStorageInputFormat.IndexedStorageRecordReader>


Copyright © 2007-2012 The Apache Software Foundation