public static class TestASTFastRangeCountOptimizer.TestTriplesModeAPs extends TestASTFastRangeCountOptimizer
TestASTFastRangeCountOptimizer.TestQuadsModeAPs, TestASTFastRangeCountOptimizer.TestTriplesModeAPs
AbstractOptimizerTestCase.Annotations, AbstractOptimizerTestCase.ApplyAnnotation, AbstractOptimizerTestCase.ASTPropertyPathOptimizerInTest, AbstractOptimizerTestCase.Helper
TestCase2.MyProperties, TestCase2.RandomType
baseURI, store, valueFactory
_randomType
Constructor and Description |
---|
TestASTFastRangeCountOptimizer.TestTriplesModeAPs() |
TestASTFastRangeCountOptimizer.TestTriplesModeAPs(String name) |
Modifier and Type | Method and Description |
---|---|
Properties |
getProperties()
Reads in the configuration properties for the test from a
variety of resources and returns a properties hierarchy.
|
void |
test_fastRangeCountOptimizer_triplesMode_explicitVarNames_01()
Verify correct rewrite of
|
void |
test_fastRangeCountOptimizer_triplesMode_wildcard_rejection()
Verify correct rejection:
|
void |
test_fastRangeCountOptimizer_triplesMode_wildcard_subquery_withot_projection01()
SELECT * { { SELECT COUNT(*) {?s ?p ?o} } }
|
void |
test_fastRangeCountOptimizer_triplesMode_wildcard_subquery_without_projection_02()
SELECT * { { SELECT COUNT(*) {?s ?p ?o} } :s :p :o .}
|
void |
test_fastRangeCountOptimizer_triplesMode_wildcard_with_constraint_projection()
Combinations using a constrained range-count where the triple pattern is
1-unbound and the COUNT() references the unbound variable.
|
void |
test_fastRangeCountOptimizer_triplesMode_wildcard_with_constraint()
Combinations using a constrained range-count.
|
void |
test_fastRangeCountOptimizer_triplesMode_wildcard()
Verify correct rewrite of basic combinations with identical semantics:
|
suite
newStatementPatternNode, newStatementPatternNode, newStatementPatternNode
assertSameAST, asSet, asSet, asSet, asSet, asSet, enableDeleteMarkersInIndes, getBOpContext, 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 TestASTFastRangeCountOptimizer.TestTriplesModeAPs()
public TestASTFastRangeCountOptimizer.TestTriplesModeAPs(String name)
public Properties getProperties()
TestCase2
Properties
object, then the lower levels of the
hierarchy are recursively searched.The hierarchy is constructed from the following properties files in the following order. The first property file in this list corresponds to the top of the property hierarchy. The last property file in this list corresponds to the bottom of the property hierarchy. The property resources are:
getProperties
in class AbstractASTEvaluationTestCase
Properties
object that supplies bindings for
property names according to the described hierarchy among
property resources. The returned Properties
is NOT
cached.
TODO This does not handle the recursive truncation of the
class name to search for "test.properties" yet.public void test_fastRangeCountOptimizer_triplesMode_explicitVarNames_01()
SELECT (COUNT(?s ?p ?o) as ?w) {?s ?p ?o}
public void test_fastRangeCountOptimizer_triplesMode_wildcard()
SELECT (COUNT(DISTINCT *) AS ?w) {?s ?p ?o}
SELECT (COUNT(REDUCED *) AS ?w) {?s ?p ?o}
SELECT (COUNT(*) AS ?w) {?s ?p ?o}
public void test_fastRangeCountOptimizer_triplesMode_wildcard_with_constraint()
SELECT COUNT(*) {:s ?p ?o}
SELECT COUNT(*) {?s :p ?o}
SELECT COUNT(*) {?s ?p :o}
SELECT COUNT(*) {:s ?p :o}
public void test_fastRangeCountOptimizer_triplesMode_wildcard_with_constraint_projection()
SELECT COUNT(?s) {?s :p :o}
SELECT COUNT(?p) {:s ?p :o}
SELECT COUNT(?o) {:s :p ?o}
public void test_fastRangeCountOptimizer_triplesMode_wildcard_subquery_withot_projection01()
SELECT * { { SELECT COUNT(*) {?s ?p ?o} } }
public void test_fastRangeCountOptimizer_triplesMode_wildcard_subquery_without_projection_02()
SELECT * { { SELECT COUNT(*) {?s ?p ?o} } :s :p :o .}
public void test_fastRangeCountOptimizer_triplesMode_wildcard_rejection()
SELECT COUNT(?p) {:s ?p ?o}
SELECT COUNT(DISTINCT ?p) {:s ?p ?o}
SELECT COUNT(REDUCED ?p) {:s ?p ?o}
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.