1 2 12 package com.versant.core.jdo.query; 13 14 import com.versant.core.metadata.ClassMetaData; 15 16 19 public class AggregateCountStarNode extends AggregateNode { 20 21 public AggregateCountStarNode(Node parent) { 22 this.parent = parent; 23 } 24 25 public AggregateCountStarNode() { 26 } 27 28 32 public void resolve(QueryParser comp, ClassMetaData cmd, boolean ordering) { 33 } 34 35 38 protected void normalizeImp() { 39 } 40 41 public String toString() { 42 return super.toString() + "Type = count(*)"; 43 } 44 45 public Object accept(NodeVisitor visitor, Object [] results) { 46 return visitor.visitAggregateCountStarNode(this, results); 47 } 48 49 public Object arrive(NodeVisitor v, Object msg) { 50 return v.arriveAggregateCountStarNode(this, msg); 51 } 52 53 } 54 | Popular Tags |