1 2 12 package com.versant.core.jdbc.sql.exp; 13 14 import com.versant.core.jdbc.sql.SqlDriver; 15 import com.versant.core.util.CharBuf; 16 17 20 public class BetweenExp extends SqlExp { 21 22 public BetweenExp(SqlExp child) { 23 super(child); 24 } 25 26 public BetweenExp() { 27 } 28 29 public SqlExp createInstance() { 30 return new BetweenExp(); 31 } 32 33 40 public void appendSQLImp(SqlDriver driver, CharBuf s, SqlExp leftSibling) { 41 childList.appendSQL(driver, s, null); 42 s.append(" BETWEEN "); 43 childList.next.appendSQL(driver, s, null); 44 s.append(" AND "); 45 childList.next.next.appendSQL(driver, s, null); 46 } 47 48 } 49 | Popular Tags |