|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
org.apache.hadoop.hive.ql.io.TestRCFile
public class TestRCFile
TestRCFile.
Constructor Summary | |
---|---|
TestRCFile()
|
Method Summary | |
---|---|
void |
fullyReadTest(org.apache.hadoop.fs.FileSystem fs,
int count,
org.apache.hadoop.fs.Path file)
|
static void |
main(String[] args)
For debugging and testing. |
void |
testCloseForErroneousRCFile()
|
void |
testExplicitRCFileHeader()
|
void |
testNonExplicitRCFileHeader()
|
void |
testRCFileHeader(char[] expected,
org.apache.hadoop.conf.Configuration conf)
|
void |
testReadCorruptFile()
|
void |
testReadOldFileHeader()
|
void |
testSimpleReadAndWrite()
|
void |
testSynAndSplit()
|
void |
testWriteAndFullyRead()
|
void |
testWriteAndPartialRead()
|
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 |
---|
public TestRCFile()
Method Detail |
---|
public void testSimpleReadAndWrite() throws IOException, SerDeException
IOException
SerDeException
public void testReadCorruptFile() throws IOException, SerDeException
IOException
SerDeException
public void testReadOldFileHeader() throws IOException
IOException
public void testWriteAndFullyRead() throws IOException, SerDeException
IOException
SerDeException
public void testWriteAndPartialRead() throws IOException, SerDeException
IOException
SerDeException
public static void main(String[] args) throws Exception
Exception
public void fullyReadTest(org.apache.hadoop.fs.FileSystem fs, int count, org.apache.hadoop.fs.Path file) throws IOException, SerDeException
IOException
SerDeException
public void testSynAndSplit() throws IOException
IOException
public void testCloseForErroneousRCFile() throws IOException
IOException
public void testRCFileHeader(char[] expected, org.apache.hadoop.conf.Configuration conf) throws IOException, SerDeException
IOException
SerDeException
public void testNonExplicitRCFileHeader() throws IOException, SerDeException
IOException
SerDeException
public void testExplicitRCFileHeader() throws IOException, SerDeException
IOException
SerDeException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |