org.apache.hadoop.hive.ql.io
Class PerformTestRCFileAndSeqFile

java.lang.Object
  extended by org.apache.hadoop.hive.ql.io.PerformTestRCFileAndSeqFile

public class PerformTestRCFileAndSeqFile
extends Object

PerformTestRCFileAndSeqFile.


Constructor Summary
PerformTestRCFileAndSeqFile(boolean local, String file)
           
 
Method Summary
 boolean isLocalFileSystem()
           
static void main(String[] args)
           
 int performRCFileFullyReadColumnTest(FileSystem fs, Path file, int allColumnsNumber, boolean chechCorrect)
           
 int performRCFileReadFirstAndLastColumnTest(FileSystem fs, Path file, int allColumnsNumber, boolean chechCorrect)
           
 int performRCFileReadFirstColumnTest(FileSystem fs, Path file, int allColumnsNumber, boolean chechCorrect)
           
 void performSequenceFileRead(FileSystem fs, int count, Path file)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PerformTestRCFileAndSeqFile

public PerformTestRCFileAndSeqFile(boolean local,
                                   String file)
                            throws IOException
Throws:
IOException
Method Detail

main

public static void main(String[] args)
                 throws Exception
Throws:
Exception

isLocalFileSystem

public boolean isLocalFileSystem()

performSequenceFileRead

public void performSequenceFileRead(FileSystem fs,
                                    int count,
                                    Path file)
                             throws IOException
Throws:
IOException

performRCFileReadFirstColumnTest

public int performRCFileReadFirstColumnTest(FileSystem fs,
                                            Path file,
                                            int allColumnsNumber,
                                            boolean chechCorrect)
                                     throws IOException
Throws:
IOException

performRCFileReadFirstAndLastColumnTest

public int performRCFileReadFirstAndLastColumnTest(FileSystem fs,
                                                   Path file,
                                                   int allColumnsNumber,
                                                   boolean chechCorrect)
                                            throws IOException
Throws:
IOException

performRCFileFullyReadColumnTest

public int performRCFileFullyReadColumnTest(FileSystem fs,
                                            Path file,
                                            int allColumnsNumber,
                                            boolean chechCorrect)
                                     throws IOException
Throws:
IOException


Copyright © 2012 The Apache Software Foundation