⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 inpredicate.java

📁 一个开源的基于java开发的数据库
💻 JAVA
字号:
package sql4j.parser;

/**
 * Insert the type's description here.
 * Creation date: (10/31/00 1:17:58 AM)
 * @author:  Jianguo Lu
 */ 
 

import java.util.*;

  import sql4j.schema.*;
public class InPredicate extends AtomicWhereCondition {
	private SelectStatement select;
	private String label;
	private ScalarExp scalar;
	private Vector atomList;
/**
 * InPredicate constructor comment.
 */
public InPredicate() {
	super();
}
	public InPredicate(ScalarExp exp, String l, SelectStatement s){
			select=s;
			scalar=exp;
			column1=exp.getColumn();
			label=l;
	}
		public InPredicate(ScalarExp exp, String l, Vector atoms){
			atomList=atoms;
			scalar=exp;
			column1=exp.getColumn();
			label=l;
	}
/**
 * Insert the method's description here.
 * Creation date: (1/30/01 7:12:09 AM)
 * @return java.lang.String
 */
public String toString() {
	String result=scalar.toString()+" "+ label;
	if (select!=null){
		result+="( "+select.toString() + " )";
	}	
	return result;
}

}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -