1 28 29 package com.caucho.amber.expr; 30 31 import com.caucho.amber.query.FromItem; 32 import com.caucho.amber.query.QueryParser; 33 import com.caucho.amber.table.LinkColumns; 34 35 38 abstract public class JoinExpr extends AbstractAmberExpr { 39 42 public boolean isBoolean() 43 { 44 return true; 45 } 46 47 50 public AmberExpr bindSelect(QueryParser parser) 51 { 52 return this; 53 } 54 55 58 public boolean bindToFromItem() 59 { 60 return false; 61 } 62 63 66 public FromItem getJoinTarget() 67 { 68 return null; 69 } 70 71 74 public FromItem getJoinParent() 75 { 76 return null; 77 } 78 79 82 public boolean isDependent(FromItem parent, 83 LinkColumns link) 84 { 85 return false; 86 } 87 88 91 public AmberExpr getWhere() 92 { 93 return null; 94 } 95 96 99 public AmberExpr replace(KeyColumnExpr id) 100 { 101 return id; 102 } 103 104 107 public AmberExpr replace(IdExpr id) 108 { 109 return id; 110 } 111 } 112 | Popular Tags |