Package com.hp.hpl.jena.sparql.algebra.op

Examples of com.hp.hpl.jena.sparql.algebra.op.OpGroup


        // ---- GROUP BY
       
        if ( query.hasGroupBy() )
        {
            // When there is no GroupBy but there are some aggregates, it's a group of no variables.
            op = new OpGroup(op, query.getGroupBy(), query.getAggregators()) ;
        }
       
        //---- Assignments from SELECT and other places (so available to ORDER and HAVING)
        // Now do assignments from expressions
        // Must be after "group by" has introduced it's variables.
View Full Code Here


   * rewrites the subop of group.
   */
  @Override
  public void visit( final OpGroup opGroup )
  {
    addOp(new OpGroup(rewriteOp1(opGroup), opGroup.getGroupVars(),
        opGroup.getAggregators()));
  }
View Full Code Here

        {
            if ( groupVars == opGroup.getGroupVars() )
                return super.transform(opGroup, subOp) ;
        }
       
        return new OpGroup(subOp, groupVars, aggregators) ;
    }
View Full Code Here

TOP

Related Classes of com.hp.hpl.jena.sparql.algebra.op.OpGroup

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.