Package db

Class DBLongKeyTableTest

    • Constructor Detail

      • DBLongKeyTableTest

        public DBLongKeyTableTest()
    • Method Detail

      • setUp

        public void setUp()
                   throws java.lang.Exception
        Throws:
        java.lang.Exception
      • tearDown

        public void tearDown()
                      throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testInsertSmallLongKeyRecord

        public void testInsertSmallLongKeyRecord()
                                          throws java.io.IOException
        Test normal record storage within a leaf node. Chained-buffers will not be utilized.
        Throws:
        java.io.IOException
      • testInsertLongKeyRecordWithEmptyField

        public void testInsertLongKeyRecordWithEmptyField()
                                                   throws java.io.IOException
        Test normal record storage within a leaf node. Use empty value for variable length fields. Chained-buffers will not be utilized.
        Throws:
        java.io.IOException
      • testInsertLongKeyRecordWithNullField

        public void testInsertLongKeyRecordWithNullField()
                                                  throws java.io.IOException
        Test normal record storage within a leaf node. Use NULL value for variable length fields. Chained-buffers will not be utilized.
        Throws:
        java.io.IOException
      • testInsertSingleChainedBufferLongKeyRecord

        public void testInsertSingleChainedBufferLongKeyRecord()
                                                        throws java.io.IOException
        Test the use of chained-buffers for record storage. Chained-buffers will not utilize an index buffer.
        Throws:
        java.io.IOException
      • testInsertMultChainedBuffersLongKeyRecord

        public void testInsertMultChainedBuffersLongKeyRecord()
                                                       throws java.io.IOException
        Test the use of chained-buffers for record storage. Chained-buffers will be forced to utilize 1 buffer for storing indexes.
        Throws:
        java.io.IOException
      • testInsertVeryLargeChainedBuffersLongKeyRecord

        public void testInsertVeryLargeChainedBuffersLongKeyRecord()
                                                            throws java.io.IOException
        Test the use of chained-buffers for record storage. Chained-buffers will be forced to utilize 3 buffers for storing indexes.
        Throws:
        java.io.IOException
      • testGetSmallLongKeyRecord

        public void testGetSmallLongKeyRecord()
                                       throws java.io.IOException
        Test normal record storage within a leaf node. Chained-buffers will not be utilized.
        Throws:
        java.io.IOException
      • testGetSingleChainedBufferLongKeyRecord

        public void testGetSingleChainedBufferLongKeyRecord()
                                                     throws java.io.IOException
        Test the use of chained-buffers for record storage. Chained-buffers will not utilize an index buffer.
        Throws:
        java.io.IOException
      • testGetMultChainedBuffersLongKeyRecord

        public void testGetMultChainedBuffersLongKeyRecord()
                                                    throws java.io.IOException
        Test the use of chained-buffers for record storage. Chained-buffers will be forced to utilize 1 buffer for storing indexes.
        Throws:
        java.io.IOException
      • testGetVeryLargeChainedBuffersLongKeyRecord

        public void testGetVeryLargeChainedBuffersLongKeyRecord()
                                                         throws java.io.IOException
        Test the use of chained-buffers for record storage. Chained-buffers will be forced to utilize 3 buffers for storing indexes.
        Throws:
        java.io.IOException
      • testGetStoredSmallLongKeyRecord

        public void testGetStoredSmallLongKeyRecord()
                                             throws java.io.IOException
        Test normal record storage within a leaf node. Chained-buffers will not be utilized.
        Throws:
        java.io.IOException
      • testGetStoredSingleChainedBufferLongKeyRecord

        public void testGetStoredSingleChainedBufferLongKeyRecord()
                                                           throws java.io.IOException
        Test the use of chained-buffers for record storage. Chained-buffers will not utilize an index buffer.
        Throws:
        java.io.IOException
      • testGetStoredMultChainedBuffersLongKeyRecord

        public void testGetStoredMultChainedBuffersLongKeyRecord()
                                                          throws java.io.IOException
        Test the use of chained-buffers for record storage. Chained-buffers will be forced to utilize 1 buffer for storing indexes.
        Throws:
        java.io.IOException
      • testGetStoredVeryLargeChainedBuffersLongKeyRecord

        public void testGetStoredVeryLargeChainedBuffersLongKeyRecord()
                                                               throws java.io.IOException
        Test the use of chained-buffers for record storage. Chained-buffers will be forced to utilize 3 buffers for storing indexes.
        Throws:
        java.io.IOException
      • testGetMissingLongKeyRecord

        public void testGetMissingLongKeyRecord()
                                         throws java.io.IOException
        Throws:
        java.io.IOException
      • testStoredGetMissingLongKeyRecord

        public void testStoredGetMissingLongKeyRecord()
                                               throws java.io.IOException
        Throws:
        java.io.IOException
      • testLongKeyRecordIterator

        public void testLongKeyRecordIterator()
                                       throws java.io.IOException
        Throws:
        java.io.IOException
      • testRandomLongKeyRecordIterator

        public void testRandomLongKeyRecordIterator()
                                             throws java.io.IOException
        Throws:
        java.io.IOException
      • testForwardLongKeyRecordIterator

        public void testForwardLongKeyRecordIterator()
                                              throws java.io.IOException
        Throws:
        java.io.IOException
      • testBackwardLongKeyRecordIterator

        public void testBackwardLongKeyRecordIterator()
                                               throws java.io.IOException
        Throws:
        java.io.IOException
      • testStoredLongKeyRandomRecordIterator

        public void testStoredLongKeyRandomRecordIterator()
                                                   throws java.io.IOException
        Throws:
        java.io.IOException
      • testStoredForwardLongKeyRecordIterator

        public void testStoredForwardLongKeyRecordIterator()
                                                    throws java.io.IOException
        Throws:
        java.io.IOException
      • testStoredBackwardLongKeyRecordIterator

        public void testStoredBackwardLongKeyRecordIterator()
                                                     throws java.io.IOException
        Throws:
        java.io.IOException
      • testBigRandomLongKeyRecordIterator

        public void testBigRandomLongKeyRecordIterator()
                                                throws java.io.IOException
        Throws:
        java.io.IOException
      • testBigForwardLongKeyRecordIterator

        public void testBigForwardLongKeyRecordIterator()
                                                 throws java.io.IOException
        Throws:
        java.io.IOException
      • testBigBackwardLongKeyRecordIterator

        public void testBigBackwardLongKeyRecordIterator()
                                                  throws java.io.IOException
        Throws:
        java.io.IOException
      • testBigStoredRandomLongKeyRecordIterator

        public void testBigStoredRandomLongKeyRecordIterator()
                                                      throws java.io.IOException
        Throws:
        java.io.IOException
      • testBigStoredForwardLongKeyRecordIterator

        public void testBigStoredForwardLongKeyRecordIterator()
                                                       throws java.io.IOException
        Throws:
        java.io.IOException
      • testBigStoredBackwardLongKeyRecordIterator

        public void testBigStoredBackwardLongKeyRecordIterator()
                                                        throws java.io.IOException
        Throws:
        java.io.IOException
      • testRandomLongKeyIterator

        public void testRandomLongKeyIterator()
                                       throws java.io.IOException
        Throws:
        java.io.IOException
      • testForwardLongKeyIterator

        public void testForwardLongKeyIterator()
                                        throws java.io.IOException
        Throws:
        java.io.IOException
      • testForwardSkippingLongKeyIterator

        public void testForwardSkippingLongKeyIterator()
                                                throws java.io.IOException
        Throws:
        java.io.IOException
      • testForwardDeleteIterator

        public void testForwardDeleteIterator()
                                       throws java.io.IOException
        Throws:
        java.io.IOException
      • testReverseDeleteIterator

        public void testReverseDeleteIterator()
                                       throws java.io.IOException
        Throws:
        java.io.IOException
      • testGetLongKeyRecordAfter

        public void testGetLongKeyRecordAfter()
                                       throws java.io.IOException
        Throws:
        java.io.IOException
      • testGetLongKeyRecordAtOrAfter

        public void testGetLongKeyRecordAtOrAfter()
                                           throws java.io.IOException
        Throws:
        java.io.IOException
      • testGetLongKeyRecordAtOrBefore

        public void testGetLongKeyRecordAtOrBefore()
                                            throws java.io.IOException
        Throws:
        java.io.IOException
      • testDeleteLongKeyRecord

        public void testDeleteLongKeyRecord()
                                     throws java.io.IOException
        Throws:
        java.io.IOException
      • testForwardDeleteLongKeyRecord

        public void testForwardDeleteLongKeyRecord()
                                            throws java.io.IOException
        Throws:
        java.io.IOException
      • testReverseDeleteLongKeyRecord

        public void testReverseDeleteLongKeyRecord()
                                            throws java.io.IOException
        Throws:
        java.io.IOException
      • testDeleteAllLongKeyRecords

        public void testDeleteAllLongKeyRecords()
                                         throws java.io.IOException
        Throws:
        java.io.IOException
      • testDeleteLongKeyRangeRecords

        public void testDeleteLongKeyRangeRecords()
                                           throws java.io.IOException
        Throws:
        java.io.IOException
      • testDeleteLongKeyRangeRecords2

        public void testDeleteLongKeyRangeRecords2()
                                            throws java.io.IOException
        Throws:
        java.io.IOException
      • testDeleteLongKeyRangeAllRecords

        public void testDeleteLongKeyRangeAllRecords()
                                              throws java.io.IOException
        Throws:
        java.io.IOException
      • testUpdateLongKeyRecord

        public void testUpdateLongKeyRecord()
                                     throws java.io.IOException
        Throws:
        java.io.IOException
      • testUpdateBigLongKeyRecord

        public void testUpdateBigLongKeyRecord()
                                        throws java.io.IOException
        Throws:
        java.io.IOException
      • testUpdateUndoLongKeyRecords

        public void testUpdateUndoLongKeyRecords()
                                          throws java.io.IOException
        Throws:
        java.io.IOException
      • testUpdateUndoRedoLongKeyRecords

        public void testUpdateUndoRedoLongKeyRecords()
                                              throws java.io.IOException
        Throws:
        java.io.IOException