/** * <pre> * SELECT DISTINCT ?o WHERE { ?s ?p ?o . } * </pre> */ public void test_distinctTermScan_triples_03() throws Exception { final TestHelper h = new TestHelper("distinctTermScan_triples_03", // testURI, "distinctTermScan_triples_03.rq",// queryFileURL "distinctTermScan_triples_01.ttl",// dataFileURL "distinctTermScan_triples_03.srx"// resultFileURL ); h.runTest(); // Verify that the DistinctTermScanOp was used in the query plan. assertEquals( 1, BOpUtility.toList(h.getASTContainer().getQueryPlan(), DistinctTermScanOp.class).size()); }
/** * <pre> * SELECT (COUNT(*) as ?count) {?s ?p ?o} * </pre> */ public void test_fastRangeCount_triples_01() throws Exception { final TestHelper h = new TestHelper("fastRangeCount_triples_01", // testURI, "fastRangeCount_triples_01.rq",// queryFileURL "fastRangeCount_triples_01.ttl",// dataFileURL "fastRangeCount_triples_01.srx"// resultFileURL ); h.runTest(); // Verify that the FastRangeCountOp was used in the query plan. assertEquals( 1, BOpUtility.toList(h.getASTContainer().getQueryPlan(), FastRangeCountOp.class).size()); }
/** * <pre> * SELECT DISTINCT ?p WHERE { ?s ?p ?o . } * </pre> */ public void test_distinctTermScan_triples_02() throws Exception { final TestHelper h = new TestHelper("distinctTermScan_triples_02", // testURI, "distinctTermScan_triples_02.rq",// queryFileURL "distinctTermScan_triples_01.ttl",// dataFileURL "distinctTermScan_triples_02.srx"// resultFileURL ); h.runTest(); // Verify that the DistinctTermScanOp was used in the query plan. assertEquals( 1, BOpUtility.toList(h.getASTContainer().getQueryPlan(), DistinctTermScanOp.class).size()); }
/** * Default graph query on all named graphs. The distinct-term-scan is * used and the index is Oxxx. * * <pre> * SELECT DISTINCT ?o WHERE { ?s ?p ?o . } * </pre> */ public void test_distinctTermScan_quads_01c() throws Exception { final TestHelper h = new TestHelper("distinctTermScan_quads_01c", // testURI, "distinctTermScan_quads_01c.rq",// queryFileURL "distinctTermScan_quads_01.trig",// dataFileURL "distinctTermScan_quads_01c.srx"// resultFileURL ); h.runTest(); // Verify that the DistinctTermScanOp was used in the query plan. assertEquals( 1, BOpUtility.toList(h.getASTContainer().getQueryPlan(), DistinctTermScanOp.class).size()); }
/** * Default graph query. Returns the total range count of the index. * <pre> * SELECT (COUNT(*) as ?count) {?s ?p ?o} * </pre> */ public void test_fastRangeCount_quads_01() throws Exception { final TestHelper h = new TestHelper("fastRangeCount_quads_01", // testURI, "fastRangeCount_quads_01.rq",// queryFileURL "fastRangeCount_quads_01.trig",// dataFileURL "fastRangeCount_quads_01.srx"// resultFileURL ); h.runTest(); // Verify that the FastRangeCountOp was used in the query plan. assertEquals( 1, BOpUtility.toList(h.getASTContainer().getQueryPlan(), FastRangeCountOp.class).size()); }
/** * Default graph query on all named graphs. The distinct-term-scan is * used and the index is Pxxx. * * <pre> * SELECT DISTINCT ?p WHERE { ?s ?p ?o . } * </pre> */ public void test_distinctTermScan_quads_01() throws Exception { final TestHelper h = new TestHelper("distinctTermScan_quads_01", // testURI, "distinctTermScan_quads_01.rq",// queryFileURL "distinctTermScan_quads_01.trig",// dataFileURL "distinctTermScan_quads_01.srx"// resultFileURL ); h.runTest(); // Verify that the DistinctTermScanOp was used in the query plan. assertEquals( 1, BOpUtility.toList(h.getASTContainer().getQueryPlan(), DistinctTermScanOp.class).size()); }
/** * Default graph query. Returns the total range count of the index. * <pre> * SELECT (COUNT(*) as ?count) {?s ?p ?o} * </pre> */ public void test_fastRangeCount_quads_01() throws Exception { final TestHelper h = new TestHelper("fastRangeCount_quads_01", // testURI, "fastRangeCount_quads_01.rq",// queryFileURL "fastRangeCount_quads_01.trig",// dataFileURL "fastRangeCount_quads_01.srx"// resultFileURL ); h.runTest(); // Verify that the FastRangeCountOp was used in the query plan. assertEquals( 1, BOpUtility.toList(h.getASTContainer().getQueryPlan(), FastRangeCountOp.class).size()); }
/** * <pre> * SELECT DISTINCT ?s WHERE { ?s ?p ?o . } * </pre> */ public void test_distinctTermScan_triples_01() throws Exception { final TestHelper h = new TestHelper("distinctTermScan_triples_01", // testURI, "distinctTermScan_triples_01.rq",// queryFileURL "distinctTermScan_triples_01.ttl",// dataFileURL "distinctTermScan_triples_01.srx"// resultFileURL ); h.runTest(); // Verify that the DistinctTermScanOp was used in the query plan. assertEquals( 1, BOpUtility.toList(h.getASTContainer().getQueryPlan(), DistinctTermScanOp.class).size()); }
/** * <pre> * SELECT (COUNT(*) as ?count) {?s ?p ?o} * </pre> */ public void test_fastRangeCount_triples_01() throws Exception { final TestHelper h = new TestHelper("fastRangeCount_triples_01", // testURI, "fastRangeCount_triples_01.rq",// queryFileURL "fastRangeCount_triples_01.ttl",// dataFileURL "fastRangeCount_triples_01.srx"// resultFileURL ); h.runTest(); // Verify that the FastRangeCountOp was used in the query plan. assertEquals( 1, BOpUtility.toList(h.getASTContainer().getQueryPlan(), FastRangeCountOp.class).size()); }
/** * Default graph query. Returns the total range count of the index. * <pre> * SELECT (COUNT(*) as ?count) {?s ?p ?o} * </pre> */ public void test_fastRangeCount_quads_01() throws Exception { final TestHelper h = new TestHelper("fastRangeCount_quads_01", // testURI, "fastRangeCount_quads_01.rq",// queryFileURL "fastRangeCount_quads_01.trig",// dataFileURL "fastRangeCount_quads_01.srx"// resultFileURL ); h.runTest(); // Verify that the FastRangeCountOp was used in the query plan. assertEquals( 1, BOpUtility.toList(h.getASTContainer().getQueryPlan(), FastRangeCountOp.class).size()); }
/** * <pre> * SELECT DISTINCT ?p WHERE { ?s ?p ?o . } * </pre> */ public void test_distinctTermScan_triples_02() throws Exception { final TestHelper h = new TestHelper("distinctTermScan_triples_02", // testURI, "distinctTermScan_triples_02.rq",// queryFileURL "distinctTermScan_triples_01.ttl",// dataFileURL "distinctTermScan_triples_02.srx"// resultFileURL ); h.runTest(); // Verify that the DistinctTermScanOp was used in the query plan. assertEquals( 1, BOpUtility.toList(h.getASTContainer().getQueryPlan(), DistinctTermScanOp.class).size()); }
/** * <pre> * SELECT DISTINCT ?p WHERE { ?s ?p ?o . } * </pre> */ public void test_distinctTermScan_triples_02() throws Exception { final TestHelper h = new TestHelper("distinctTermScan_triples_02", // testURI, "distinctTermScan_triples_02.rq",// queryFileURL "distinctTermScan_triples_01.ttl",// dataFileURL "distinctTermScan_triples_02.srx"// resultFileURL ); h.runTest(); // Verify that the DistinctTermScanOp was used in the query plan. assertEquals( 1, BOpUtility.toList(h.getASTContainer().getQueryPlan(), DistinctTermScanOp.class).size()); }
/** * <pre> * SELECT DISTINCT ?o WHERE { ?s ?p ?o . } * </pre> */ public void test_distinctTermScan_triples_03() throws Exception { final TestHelper h = new TestHelper("distinctTermScan_triples_03", // testURI, "distinctTermScan_triples_03.rq",// queryFileURL "distinctTermScan_triples_01.ttl",// dataFileURL "distinctTermScan_triples_03.srx"// resultFileURL ); h.runTest(); // Verify that the DistinctTermScanOp was used in the query plan. assertEquals( 1, BOpUtility.toList(h.getASTContainer().getQueryPlan(), DistinctTermScanOp.class).size()); }
/** * <pre> * SELECT (COUNT(*) as ?count) {?s ?p <http://bigdata.com#o1>} * </pre> */ public void test_fastRangeCount_triples_02() throws Exception { final TestHelper h = new TestHelper("fastRangeCount_triples_02", // testURI, "fastRangeCount_triples_02.rq",// queryFileURL "fastRangeCount_triples_01.ttl",// dataFileURL "fastRangeCount_triples_02.srx"// resultFileURL ); h.runTest(); // Verify that the FastRangeCountOp was used in the query plan. assertEquals( 1, BOpUtility.toList(h.getASTContainer().getQueryPlan(), FastRangeCountOp.class).size()); }
/** * <pre> * SELECT (COUNT(*) as ?count) {?s ?p <http://bigdata.com#o1>} * </pre> */ public void test_fastRangeCount_triples_02() throws Exception { final TestHelper h = new TestHelper("fastRangeCount_triples_02", // testURI, "fastRangeCount_triples_02.rq",// queryFileURL "fastRangeCount_triples_01.ttl",// dataFileURL "fastRangeCount_triples_02.srx"// resultFileURL ); h.runTest(); // Verify that the FastRangeCountOp was used in the query plan. assertEquals( 1, BOpUtility.toList(h.getASTContainer().getQueryPlan(), FastRangeCountOp.class).size()); }
/** * <pre> * SELECT (COUNT(*) as ?count) {?s ?p <http://bigdata.com#o1>} * </pre> */ public void test_fastRangeCount_triples_02() throws Exception { final TestHelper h = new TestHelper("fastRangeCount_triples_02", // testURI, "fastRangeCount_triples_02.rq",// queryFileURL "fastRangeCount_triples_01.ttl",// dataFileURL "fastRangeCount_triples_02.srx"// resultFileURL ); h.runTest(); // Verify that the FastRangeCountOp was used in the query plan. assertEquals( 1, BOpUtility.toList(h.getASTContainer().getQueryPlan(), FastRangeCountOp.class).size()); }
/** * <pre> * SELECT (COUNT(*) as ?count) {?s ?p ?o} * </pre> */ public void test_fastRangeCount_triples_01() throws Exception { final TestHelper h = new TestHelper("fastRangeCount_triples_01", // testURI, "fastRangeCount_triples_01.rq",// queryFileURL "fastRangeCount_triples_01.ttl",// dataFileURL "fastRangeCount_triples_01.srx"// resultFileURL ); h.runTest(); // Verify that the FastRangeCountOp was used in the query plan. assertEquals( 1, BOpUtility.toList(h.getASTContainer().getQueryPlan(), FastRangeCountOp.class).size()); }
/** * <pre> * SELECT DISTINCT ?s WHERE { ?s ?p ?o . } * </pre> */ public void test_distinctTermScan_triples_01() throws Exception { final TestHelper h = new TestHelper("distinctTermScan_triples_01", // testURI, "distinctTermScan_triples_01.rq",// queryFileURL "distinctTermScan_triples_01.ttl",// dataFileURL "distinctTermScan_triples_01.srx"// resultFileURL ); h.runTest(); // Verify that the DistinctTermScanOp was used in the query plan. assertEquals( 1, BOpUtility.toList(h.getASTContainer().getQueryPlan(), DistinctTermScanOp.class).size()); }
/** * <pre> * SELECT DISTINCT ?o WHERE { ?s ?p ?o . } * </pre> */ public void test_distinctTermScan_triples_03() throws Exception { final TestHelper h = new TestHelper("distinctTermScan_triples_03", // testURI, "distinctTermScan_triples_03.rq",// queryFileURL "distinctTermScan_triples_01.ttl",// dataFileURL "distinctTermScan_triples_03.srx"// resultFileURL ); h.runTest(); // Verify that the DistinctTermScanOp was used in the query plan. assertEquals( 1, BOpUtility.toList(h.getASTContainer().getQueryPlan(), DistinctTermScanOp.class).size()); }
/** * <pre> * SELECT DISTINCT ?s WHERE { ?s ?p ?o . } * </pre> */ public void test_distinctTermScan_triples_01() throws Exception { final TestHelper h = new TestHelper("distinctTermScan_triples_01", // testURI, "distinctTermScan_triples_01.rq",// queryFileURL "distinctTermScan_triples_01.ttl",// dataFileURL "distinctTermScan_triples_01.srx"// resultFileURL ); h.runTest(); // Verify that the DistinctTermScanOp was used in the query plan. assertEquals( 1, BOpUtility.toList(h.getASTContainer().getQueryPlan(), DistinctTermScanOp.class).size()); }