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

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.apache.hadoop.hive.ql.io.PerformTestRCFileAndSeqFile
All Implemented Interfaces:
junit.framework.Test

public class PerformTestRCFileAndSeqFile
extends junit.framework.TestCase

PerformTestRCFileAndSeqFile.


Constructor Summary
PerformTestRCFileAndSeqFile(boolean local, String file)
           
 
Method Summary
 boolean isLocalFileSystem()
           
static void main(String[] args)
           
 int performRCFileFullyReadColumnTest(org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path file, int allColumnsNumber, boolean chechCorrect)
           
 int performRCFileReadFirstAndLastColumnTest(org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path file, int allColumnsNumber, boolean chechCorrect)
           
 int performRCFileReadFirstColumnTest(org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path file, int allColumnsNumber, boolean chechCorrect)
           
 void performSequenceFileRead(org.apache.hadoop.fs.FileSystem fs, int count, org.apache.hadoop.fs.Path file)
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, 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(org.apache.hadoop.fs.FileSystem fs,
                                    int count,
                                    org.apache.hadoop.fs.Path file)
                             throws IOException
Throws:
IOException

performRCFileReadFirstColumnTest

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

performRCFileReadFirstAndLastColumnTest

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

performRCFileFullyReadColumnTest

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


Copyright © 2011 The Apache Software Foundation