public class TestSchemaRecordReaderWriter extends AbstractTestRecordReaderWriter
| Constructor and Description |
|---|
TestSchemaRecordReaderWriter() |
| Modifier and Type | Method and Description |
|---|---|
protected RecordReader |
createReader(java.io.InputStream in,
java.lang.String journalFilename,
TocReader tocReader,
int maxAttributeSize) |
protected RecordWriter |
createWriter(java.io.File file,
TocWriter tocWriter,
boolean compressed,
int uncompressedBlockSize) |
void |
setup() |
void |
testAddOneRecordReadTwice() |
void |
testFieldAddedToSchema() |
void |
testFieldRemovedFromSchema() |
void |
testPerformanceOfRandomAccessReads() |
void |
testReadPerformance() |
void |
testWritePerformance() |
createEvent, setLogLevel, testMultipleRecordsMultipleBlocksCompressed, testMultipleRecordsSameBlockCompressed, testSimpleWriteWithToc, testSingleRecordCompressed, testSkipToEventpublic void setup()
public void testPerformanceOfRandomAccessReads()
throws java.lang.Exception
java.lang.Exceptionpublic void testFieldAddedToSchema()
throws java.io.IOException
java.io.IOExceptionpublic void testFieldRemovedFromSchema()
throws java.io.IOException
java.io.IOExceptionpublic void testAddOneRecordReadTwice()
throws java.io.IOException
java.io.IOExceptionpublic void testWritePerformance()
throws java.io.IOException
java.io.IOExceptionpublic void testReadPerformance()
throws java.io.IOException,
java.lang.InterruptedException
java.io.IOExceptionjava.lang.InterruptedExceptionprotected RecordWriter createWriter(java.io.File file, TocWriter tocWriter, boolean compressed, int uncompressedBlockSize) throws java.io.IOException
createWriter in class AbstractTestRecordReaderWriterjava.io.IOExceptionprotected RecordReader createReader(java.io.InputStream in, java.lang.String journalFilename, TocReader tocReader, int maxAttributeSize) throws java.io.IOException
createReader in class AbstractTestRecordReaderWriterjava.io.IOException