org.apache.hadoop.hive.ql.io
Class PerformTestRCFileAndSeqFile
java.lang.Object
org.apache.hadoop.hive.ql.io.PerformTestRCFileAndSeqFile
public class PerformTestRCFileAndSeqFile
- extends Object
PerformTestRCFileAndSeqFile.
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 |
PerformTestRCFileAndSeqFile
public PerformTestRCFileAndSeqFile(boolean local,
String file)
throws IOException
- Throws:
IOException
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