public class TestFusedView extends AbstractBTreeTestCase
FusedView
.TestCase2.MyProperties, TestCase2.RandomType
keyBuilder, log, r
_randomType
Constructor and Description |
---|
TestFusedView() |
TestFusedView(String name) |
Modifier and Type | Method and Description |
---|---|
protected void |
assertEquals(ITuple expected,
ITuple actual)
Compares
ITuple s for equality in their data. |
void |
test_bitMath()
Test of the bit manipulation required under java to turn off the
IRangeQuery.REMOVEALL flag. |
void |
test_bloomFilter()
Unit test of the bloom filter.
|
void |
test_ctor() |
void |
test_cursor()
Unit test for the
ITupleCursor API for a FusedView . |
void |
test_filter()
Unit test for correct layering of filters on top of the
FusedTupleIterator . |
void |
test_indexStuff()
Test verifies some of the basic principles of the fused view, including
that a deleted entry in the first source will mask an undeleted entry in
a secondary source.
|
void |
test_rangeIterator()
Test verifies some of the basic principles of the fused view, including
that a deleted entry in the first source will mask an undeleted entry in
a secondary source.
|
void |
test_remove()
Test of
FusedTupleIterator.remove() . |
void |
test_removeAll_filter()
Test of
IRangeQuery.REMOVEALL with a filter verifies that only
those tuples which satisify the filter are visited and removed. |
void |
test_removeAll()
Test of
IRangeQuery.REMOVEALL . |
void |
test_reverseScan()
This tests the ability to traverse the tuples in the
FusedView in
reverse order. |
assertChildKeys, assertEntryCounts, assertKeys, assertKeys, assertKeys, assertSameAbstractNodeData, assertSameBTree, assertSameEntryIterator, assertSameEntryIterator, assertSameIterator, assertSameIterator, assertSameLeaf, assertSameLeafData, assertSameNode, assertSameNodeData, assertSameNodeOrLeaf, assertSameRaba, assertValues, assertValues, doEntryIteratorTest, doInsertKeySequenceTest, doInsertLookupRemoveStressTest, doInsertRandomKeySequenceTest, doInsertRandomKeySequenceTest, doInsertRandomSparseKeySequenceTest, doKnownKeySequenceTest, doRandomIndexOfTest, doRandomKeyInsertTest, doRandomLookupTest, doRemoveStructureStressTest, doSplitTest, doSplitWithDecreasingKeySequence, doSplitWithIncreasingKeySequence, doSplitWithRandomDenseKeySequence, getBTree, getBTree, getKeysAndValues, getRandomKeys, getRandomKeyValues, i2k, nextLong, useRawRecords
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEqualsWithinUlps, assertSameArray, assertSameArray, assertSameBigDecimal, assertSameBigDecimal, assertSameBigInteger, assertSameBigInteger, assertSameIterator, assertSameIterator, assertSameIteratorAnyOrder, assertSameIteratorAnyOrder, assertSameValue, assertSameValue, assertZeroUlps, assertZeroUlps, fail, getInnerCause, getNormalInt, getProjectBuildPath, getProperties, getRandomObject, getRandomObject, getRandomOrder, getRandomString, getTestInputStream, getTestResource, getTestResource, getUlps, getUlps, isDEBUG, isDEBUG, isINFO, isINFO, isInnerCause, logProperties
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, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, runTest, setName, setUp, tearDown, toString
public TestFusedView()
public TestFusedView(String name)
name
- public void test_ctor()
public void test_indexStuff()
public void test_bloomFilter()
public void test_rangeIterator()
public void test_bitMath()
IRangeQuery.REMOVEALL
flag.public void test_remove()
FusedTupleIterator.remove()
. Note that tuples are
removed by writing a delete marker into the first B+Tree in the ordered
sources.public void test_removeAll()
IRangeQuery.REMOVEALL
. Note that tuples are removed by
writing a delete marker into the first B+Tree in the ordered sources.public void test_removeAll_filter()
IRangeQuery.REMOVEALL
with a filter verifies that only
those tuples which satisify the filter are visited and removed.public void test_reverseScan()
FusedView
in
reverse order. This ability is a requirement for several aspects of the
total architecture, including atomic append for the bigdata file system,
locating an index partition, and finding the last entry in a set or a
map.FusedTupleIterator
public void test_filter()
FusedTupleIterator
. Note that the filters must be layered on top
of the FusedTupleIterator
rather than being passed into the
per-index source ITupleIterator
s so that the filters will see a
fused iterator. This test is designed to verify that the filters are in
fact applied to the FusedTupleIterator
rather than to the source
iterators.public void test_cursor()
ITupleCursor
API for a FusedView
.
Note: The requirement for FusedView
to implement
ITupleCursor
arises in order to support an Advancer
over
a FusedView
(scale-out for the RDF DB) and the requirement to
efficiently choose splits points for an index partition, especially for
the SparseRowStore
(it must not split a logical row).
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.