public static class TestSimpleGroupByAndCountOptimizer.TestTriplesModeAPs extends TestSimpleGroupByAndCountOptimizer
TestSimpleGroupByAndCountOptimizer.TestQuadsModeAPs, TestSimpleGroupByAndCountOptimizer.TestTriplesModeAPs
AbstractDataDrivenSPARQLTestCase.TestHelper, AbstractDataDrivenSPARQLTestCase.UpdateTestHelper
AbstractDataAndSPARQLTestCase.AbsHelper
TestCase2.MyProperties, TestCase2.RandomType
baseURI, store, valueFactory
_randomType
Constructor and Description |
---|
TestSimpleGroupByAndCountOptimizer.TestTriplesModeAPs() |
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_simpleGroupByAndCount_01()
Optimization applies to pattern:
|
void |
test_simpleGroupByAndCount_02()
Optimization applies to pattern:
|
void |
test_simpleGroupByAndCount_03()
Optimization applies to pattern:
|
void |
test_simpleGroupByAndCount_04()
Optimization only partially applies to pattern:
|
void |
test_simpleGroupByAndCount_delete_markers()
The optimization must *not* be applied in the presence of delete
markers.
|
suite
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 TestSimpleGroupByAndCountOptimizer.TestTriplesModeAPs()
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_simpleGroupByAndCount_01() throws Exception
SELECT (COUNT(*) as ?count) ?z WHERE { ?x rdf:type ?z } GROUP BY ?z
Exception
public void test_simpleGroupByAndCount_02() throws Exception
SELECT (COUNT(?x) as ?count) ?z WHERE { ?x rdf:type ?z } GROUP BY ?z
Exception
public void test_simpleGroupByAndCount_03() throws Exception
SELECT (COUNT(?z) as ?count) ?z WHERE { ?x rdf:type ?z } GROUP BY ?z
Exception
public void test_simpleGroupByAndCount_04() throws Exception
SELECT (COUNT(*) as ?count) ?z WHERE { ?z rdf:type ?x } GROUP BY ?zFast range count is used, but no distinct term scan. The reason is that there is no PSO index.
Exception
public void test_simpleGroupByAndCount_delete_markers() throws Exception
SELECT (COUNT(*) as ?count) ?z WHERE { ?z rdf:type ?x } GROUP BY ?z
Exception
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.