public class PerformTestRCFileAndSeqFile
extends java.lang.Object
| Constructor and Description |
|---|
PerformTestRCFileAndSeqFile(boolean local,
java.lang.String file) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isLocalFileSystem() |
static void |
main(java.lang.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) |
public PerformTestRCFileAndSeqFile(boolean local,
java.lang.String file)
throws java.io.IOException
java.io.IOExceptionpublic static void main(java.lang.String[] args)
throws java.lang.Exception
java.lang.Exceptionpublic boolean isLocalFileSystem()
public void performSequenceFileRead(FileSystem fs,
int count,
Path file)
throws java.io.IOException
java.io.IOExceptionpublic int performRCFileReadFirstColumnTest(FileSystem fs,
Path file,
int allColumnsNumber,
boolean chechCorrect)
throws java.io.IOException
java.io.IOExceptionpublic int performRCFileReadFirstAndLastColumnTest(FileSystem fs,
Path file,
int allColumnsNumber,
boolean chechCorrect)
throws java.io.IOException
java.io.IOExceptionpublic int performRCFileFullyReadColumnTest(FileSystem fs,
Path file,
int allColumnsNumber,
boolean chechCorrect)
throws java.io.IOException
java.io.IOExceptionCopyright © 2012 The Apache Software Foundation