public class TestSlice extends AbstractRuleTestCase
ISlice
handling in native IRule
execution. Slice for
joins is handled by the query plan and its evaluation. Slice for an
IAccessPath
scan is handled using the appropriate iterator and is not
tested by this class.AbstractTestCase.StatementVerifier
TestCase2.MyProperties, TestCase2.RandomType
NULL
_randomType, log
Modifier and Type | Method and Description |
---|---|
protected void |
assertSameSolutions(IChunkedOrderedIterator<ISolution> itr,
IBindingSet[] expected)
Verifies the the iterator visits
ISolution s have the expected
IBindingSet s in the expected order. |
protected IRule |
newRule(AbstractTripleStore store,
ISlice slice,
BigdataValue foo,
BigdataValue bar)
Creates a new rule instance for
test_slice() . |
void |
test_slice()
Tests various slices on an
IRule using a single JOIN with 3
solutions. |
applyRule, applyRule, assertSameSolutionsAnyOrder
getValue
getDelegate, getOurDelegate, getProperties, getStore, getStore, reopenStore, setDelegate, setUp, tearDown
assertEquals, assertEquals, assertEquals, assertEquals, assertLexiconIndicesConsistent, assertSameSPOs, assertSameSPOs, assertSameSPOsAnyOrder, assertSameSPOsAnyOrder, assertSameStatements, assertSameStatements, assertStatementIndicesConsistent, checkIfProxy, recursiveDelete, setUp, tearDown
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, 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, toString
public TestSlice()
public TestSlice(String name)
name
- public void test_slice() throws Exception
IRule
using a single JOIN with 3
solutions.Exception
protected IRule newRule(AbstractTripleStore store, ISlice slice, BigdataValue foo, BigdataValue bar)
test_slice()
.store
- slice
- foo
- bar
- protected void assertSameSolutions(IChunkedOrderedIterator<ISolution> itr, IBindingSet[] expected)
ISolution
s have the expected
IBindingSet
s in the expected order.itr
- The iterator.expected
- The expected IBindingSet
s.Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.