Package db

Class DBVarKeyTableTest

    • Constructor Detail

      • DBVarKeyTableTest

        public DBVarKeyTableTest()
    • 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
      • testInsertSmallVarKeyRecord

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

        public void testInsertVarKeyRecordWithEmptyField()
                                                  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
      • testInsertVarKeyRecordWithNullField

        public void testInsertVarKeyRecordWithNullField()
                                                 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
      • testInsertSingleChainedBufferVarKeyRecord

        public void testInsertSingleChainedBufferVarKeyRecord()
                                                       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
      • testInsertMultChainedBuffersVarKeyRecord

        public void testInsertMultChainedBuffersVarKeyRecord()
                                                      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
      • testInsertVeryLargeChainedBuffersVarKeyRecord

        public void testInsertVeryLargeChainedBuffersVarKeyRecord()
                                                           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
      • testGetSmallVarKeyRecord

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

        public void testGetSingleChainedBufferVarKeyRecord()
                                                    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
      • testGetMultChainedBuffersVarKeyRecord

        public void testGetMultChainedBuffersVarKeyRecord()
                                                   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
      • testGetVeryLargeChainedBuffersVarKeyRecord

        public void testGetVeryLargeChainedBuffersVarKeyRecord()
                                                        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
      • testGetStoredSmallVarKeyRecord

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

        public void testGetStoredSingleChainedBufferVarKeyRecord()
                                                          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
      • testGetStoredMultChainedBuffersVarKeyRecord

        public void testGetStoredMultChainedBuffersVarKeyRecord()
                                                         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
      • testGetStoredVeryLargeChainedBuffersVarKeyRecord

        public void testGetStoredVeryLargeChainedBuffersVarKeyRecord()
                                                              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
      • testGetMissingVarKeyRecord

        public void testGetMissingVarKeyRecord()
                                        throws java.io.IOException
        Throws:
        java.io.IOException
      • testStoredGetMissingVarKeyRecord

        public void testStoredGetMissingVarKeyRecord()
                                              throws java.io.IOException
        Throws:
        java.io.IOException
      • testRandomVarKeyRecordIterator

        public void testRandomVarKeyRecordIterator()
                                            throws java.io.IOException
        Throws:
        java.io.IOException
      • testForwardVarKeyRecordIterator

        public void testForwardVarKeyRecordIterator()
                                             throws java.io.IOException
        Throws:
        java.io.IOException
      • testBackwardVarKeyRecordIterator

        public void testBackwardVarKeyRecordIterator()
                                              throws java.io.IOException
        Throws:
        java.io.IOException
      • testStoredVarKeyRandomRecordIterator

        public void testStoredVarKeyRandomRecordIterator()
                                                  throws java.io.IOException
        Throws:
        java.io.IOException
      • testStoredForwardVarKeyRecordIterator

        public void testStoredForwardVarKeyRecordIterator()
                                                   throws java.io.IOException
        Throws:
        java.io.IOException
      • testStoredBackwardVarKeyRecordIterator

        public void testStoredBackwardVarKeyRecordIterator()
                                                    throws java.io.IOException
        Throws:
        java.io.IOException
      • testBigRandomVarKeyRecordIterator

        public void testBigRandomVarKeyRecordIterator()
                                               throws java.io.IOException
        Throws:
        java.io.IOException
      • testBigForwardVarKeyRecordIterator

        public void testBigForwardVarKeyRecordIterator()
                                                throws java.io.IOException
        Throws:
        java.io.IOException
      • testBigBackwardVarKeyRecordIterator

        public void testBigBackwardVarKeyRecordIterator()
                                                 throws java.io.IOException
        Throws:
        java.io.IOException
      • testBigStoredRandomVarKeyRecordIterator

        public void testBigStoredRandomVarKeyRecordIterator()
                                                     throws java.io.IOException
        Throws:
        java.io.IOException
      • testBigStoredForwardVarKeyRecordIterator

        public void testBigStoredForwardVarKeyRecordIterator()
                                                      throws java.io.IOException
        Throws:
        java.io.IOException
      • testBigStoredBackwardVarKeyRecordIterator

        public void testBigStoredBackwardVarKeyRecordIterator()
                                                       throws java.io.IOException
        Throws:
        java.io.IOException
      • testRandomVarKeyIterator

        public void testRandomVarKeyIterator()
                                      throws java.io.IOException
        Throws:
        java.io.IOException
      • testForwardVarKeyIterator

        public void testForwardVarKeyIterator()
                                       throws java.io.IOException
        Throws:
        java.io.IOException
      • testForwardSkippingVarKeyIterator

        public void testForwardSkippingVarKeyIterator()
                                               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
      • testGetVarKeyRecordAfter

        public void testGetVarKeyRecordAfter()
                                      throws java.io.IOException
        Throws:
        java.io.IOException
      • testGetVarKeyRecordAtOrAfter

        public void testGetVarKeyRecordAtOrAfter()
                                          throws java.io.IOException
        Throws:
        java.io.IOException
      • testGetVarKeyRecordAtOrBefore

        public void testGetVarKeyRecordAtOrBefore()
                                           throws java.io.IOException
        Throws:
        java.io.IOException
      • testDeleteVarKeyRecord

        public void testDeleteVarKeyRecord()
                                    throws java.io.IOException
        Throws:
        java.io.IOException
      • testForwardDeleteVarKeyRecord

        public void testForwardDeleteVarKeyRecord()
                                           throws java.io.IOException
        Throws:
        java.io.IOException
      • testReverseDeleteVarKeyRecord

        public void testReverseDeleteVarKeyRecord()
                                           throws java.io.IOException
        Throws:
        java.io.IOException
      • testDeleteAllVarKeyRecords

        public void testDeleteAllVarKeyRecords()
                                        throws java.io.IOException
        Throws:
        java.io.IOException
      • testDeleteVarKeyRangeRecords

        public void testDeleteVarKeyRangeRecords()
                                          throws java.io.IOException
        Throws:
        java.io.IOException
      • testDeleteVarKeyRangeAllRecords

        public void testDeleteVarKeyRangeAllRecords()
                                             throws java.io.IOException
        Throws:
        java.io.IOException
      • testUpdateVarKeyRecord

        public void testUpdateVarKeyRecord()
                                    throws java.io.IOException
        Throws:
        java.io.IOException
      • testUpdateBigVarKeyRecord

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