1 22 23 package org.xquark.extractor.algebra; 24 25 import java.util.Map ; 26 27 import org.xquark.extractor.common.SqlWrapperException; 28 import org.xquark.extractor.sql.SqlExpression; 29 30 public final class LitNull extends Literal { 31 32 private static final String RCSRevision = "$Revision: 1.4 $"; 33 private static final String RCSName = "$Name: $"; 34 35 36 public LitNull() { 37 } 38 39 synchronized Object clone(Map clonedExprs) throws CloneNotSupportedException 40 { 41 43 LitNull retVal = (LitNull)super.clone(clonedExprs); 44 45 clonedExprs.put(this, retVal); 46 return retVal; 48 } 49 50 public SqlExpression accept (GenSqlVisitor visitor) throws SqlWrapperException 51 { 52 return visitor.visit(this); 53 } 54 55 public void accept (AlgebraVisitor visitor) throws SqlWrapperException 56 { 57 visitor.visit(this); 58 } 59 60 63 public boolean deepEquals(Object o) 64 { 65 return (o instanceof LitNull); 66 } 67 } 68 | Popular Tags |