All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.bigdata.rdf.sparql.ast.eval.query-hints-06.rq Maven / Gradle / Ivy

There is a newer version: 2.1.4
Show newest version
PREFIX rdf:  
PREFIX rdfs: 
PREFIX foaf: 

SELECT ?x ?o
WHERE {
  
  # Turn off the join order optimizer.
  hint:Query hint:optimizer "None".
  
  # Disable analytic query for the test.
  hint:Query hint:analytic "false".

  # Set the global chunkSize.  This will apply to the SELECT, sub-SELECT
  # (including the hash index and hash join operators used to realize the
  # sub-select), the SliceOp, etc.  This gets overridden for both SPs in 
  # the query.
  hint:Query hint:chunkSize "5" .

  ?x rdfs:label ?o .
  # Override the vector size for the previous join.
  hint:Prior hint:com.bigdata.relation.accesspath.IBuffer.chunkCapacity 1001 .
  
  { 
     SELECT ?x {
          ?x rdf:type foaf:Person .
     	  # Override the vector size for previous join.
  		  hint:Prior hint:chunkSize 251 .
    	 } limit 10
  }
  
} limit 20




© 2015 - 2024 Weber Informatics LLC | Privacy Policy