public class TestASTBatchResolveTermsOptimizer extends AbstractASTEvaluationTestCase
ASTDeferredIVResolution
.TestCase2.MyProperties, TestCase2.RandomType
baseURI, store, valueFactory
_randomType
Constructor and Description |
---|
TestASTBatchResolveTermsOptimizer() |
TestASTBatchResolveTermsOptimizer(String name) |
Modifier and Type | Method and Description |
---|---|
void |
test_batchResolveTerms_01()
Given
|
void |
test_batchResolveTerms_02()
A variant of the test above where the Constant/2 constructor was used and
we need to propagate the variable associated with that constant.
|
assertSameAST, asSet, asSet, asSet, asSet, asSet, enableDeleteMarkersInIndes, getBOpContext, getProperties, getStore, makeIV, setUp, tearDown
assertSameSolutions, assertSameSolutions, assertSameSolutions, assertSameSolutionsAnyOrder, assertSameSolutionsAnyOrder, assertSameSolutionsAnyOrder, assertSameSolutionsAnyOrder, assertSameSolutionsAnyOrder, assertSameSolutionsAnyOrder, compareGraphs, compareTupleQueryResults, diff
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 TestASTBatchResolveTermsOptimizer()
public TestASTBatchResolveTermsOptimizer(String name)
name
- public void test_batchResolveTerms_01() throws org.openrdf.query.MalformedQueryException
SELECT VarNode(s) VarNode(p) VarNode(v) JoinGroupNode { JoinGroupNode { JoinGroupNode [context=ConstantNode(TermId(0L)[http://example/out])] { StatementPatternNode(VarNode(s), VarNode(p), VarNode(v), ConstantNode(TermId(0L)[http://example/out])) [scope=NAMED_CONTEXTS] } } }where the unknown term is
http://example/out
and IS in fact
in the lexicon, the IValueExpression
for the ConstantNode
associated with that mock IV is rewritten to the resolved IV.org.openrdf.query.MalformedQueryException
public void test_batchResolveTerms_02() throws org.openrdf.query.MalformedQueryException
org.openrdf.query.MalformedQueryException
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.