1 22 23 package org.xquark.extractor.sql; 24 25 import org.xquark.extractor.common.Debug; 26 27 public class SfContains extends SqlFunction 28 { 29 private static final String RCSRevision = "$Revision: 1.4 $"; 30 private static final String RCSName = "$Name: $"; 31 32 33 36 public SfContains() 37 { 38 super("SfContains"); 39 } 40 41 public SfContains( SqlExpression arg0, SqlExpression arg1) 42 { 43 super("SfContains"); 44 setArgument(0,arg0); 45 setArgument(1,arg1); 46 } 47 48 public String toSql(Context context) 49 { 50 Debug.assertTrue(false, "NYI!!"); 52 53 StringBuffer retVal = new StringBuffer (); 54 retVal.append("CONTAINS("); 55 56 return retVal.toString(); 58 } 59 60 } 61 | Popular Tags |