本文整理了Java中net.sf.jsqlparser.statement.select.Join.isOuter()
方法的一些代码示例,展示了Join.isOuter()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Join.isOuter()
方法的具体详情如下:
包路径:net.sf.jsqlparser.statement.select.Join
类名称:Join
方法名:isOuter
[英]Whether is a "OUTER" join
[中]是否是“外部”连接
代码示例来源:origin: alibaba/mdrill
buffer.append("LEFT ");
if (join.isOuter())
buffer.append("OUTER ");
else if (join.isInner())
代码示例来源:origin: JSQLParser/JSqlParser
if (join.isOuter()) {
buffer.append(" OUTER");
} else if (join.isInner()) {
代码示例来源:origin: alibaba/mdrill
public String toString() {
if (isSimple())
return "" + rightItem;
else
{
String type = "";
if (isRight())
type += "RIGHT ";
else if (isNatural())
type += "NATURAL ";
else if (isFull())
type += "FULL ";
else if (isLeft())
type += "LEFT ";
if (isOuter())
type += "OUTER ";
else if (isInner())
type += "INNER ";
return type +"JOIN " +
rightItem+
((onExpression!=null)?" ON "+onExpression+"":"")+
PlainSelect.getFormatedList(usingColumns, "USING", true, true);
}
}
}
代码示例来源:origin: JSQLParser/JSqlParser
if (isOuter()) {
type += "OUTER ";
} else if (isInner()) {
代码示例来源:origin: org.opencadc/cadc-jsqlparser-compat
buffer.append("LEFT ");
if (join.isOuter())
buffer.append("OUTER ");
else if (join.isInner())
代码示例来源:origin: org.opencadc/cadc-adql
buffer.append(" LEFT");
if (join.isOuter())
buffer.append(" OUTER");
else if (join.isInner())
代码示例来源:origin: com.github.jsqlparser/jsqlparser
if (join.isOuter()) {
buffer.append(" OUTER");
} else if (join.isInner()) {
代码示例来源:origin: com.eas.platypus/platypus-js-sql-parser
if (join.isOuter()) {
buffer.append(join.getCommentOuter() != null ? join.getCommentOuter() + " " + ExpressionDeParser.LINE_SEPARATOR : "").append("Outer ");
} else if (join.isInner()) {
代码示例来源:origin: org.opencadc/cadc-jsqlparser-compat
public String toString() {
if (isSimple())
return "" + rightItem;
else
{
String type = "";
if (isRight())
type += "RIGHT ";
else if (isNatural())
type += "NATURAL ";
else if (isFull())
type += "FULL ";
else if (isLeft())
type += "LEFT ";
if (isOuter())
type += "OUTER ";
else if (isInner())
type += "INNER ";
return type +"JOIN " +
rightItem+
((onExpression!=null)?" ON "+onExpression+"":"")+
PlainSelect.getFormatedList(usingColumns, "USING", true, true);
}
}
}
代码示例来源:origin: com.github.jsqlparser/jsqlparser
if (isOuter()) {
type += "OUTER ";
} else if (isInner()) {
代码示例来源:origin: ontop/ontop
private RAExpressionAttributes join(RAExpressionAttributes left, Join join) throws IllegalJoinException {
if (join.isFull() || join.isRight() || join.isLeft() || join.isOuter())
throw new UnsupportedSelectQueryRuntimeException("LEFT/RIGHT/FULL OUTER JOINs are not supported", join);
代码示例来源:origin: it.unibz.inf.ontop/ontop-mapping-sql-core
private RAExpressionAttributes join(RAExpressionAttributes left, Join join) throws IllegalJoinException {
if (join.isFull() || join.isRight() || join.isLeft() || join.isOuter())
throw new UnsupportedSelectQueryRuntimeException("LEFT/RIGHT/FULL OUTER JOINs are not supported", join);
代码示例来源:origin: ontop/ontop
private RAExpression join(RAExpression left, Join join) throws IllegalJoinException {
if (join.isFull() || join.isRight() || join.isLeft() || join.isOuter())
throw new UnsupportedSelectQueryRuntimeException("LEFT/RIGHT/FULL OUTER JOINs are not supported", join);
代码示例来源:origin: it.unibz.inf.ontop/ontop-mapping-sql-core
private RAExpression join(RAExpression left, Join join) throws IllegalJoinException {
if (join.isFull() || join.isRight() || join.isLeft() || join.isOuter())
throw new UnsupportedSelectQueryRuntimeException("LEFT/RIGHT/FULL OUTER JOINs are not supported", join);
代码示例来源:origin: com.eas.platypus/platypus-js-sql-parser
@Override
public String toString() {
if (isSimple()) {
return "" + (getComment() != null ? getComment() + " " : "") + rightItem;
} else {
String type = "";
if (isRight()) {
type += (getCommentRight() != null ? getCommentRight() + " " : "") + "RIGHT ";
} else if (isNatural()) {
type += (getCommentNatural() != null ? getCommentNatural() + " " : "") + "NATURAL ";
} else if (isFull()) {
type += (getCommentFull() != null ? getCommentFull() + " " : "") + "FULL ";
} else if (isLeft()) {
type += (getCommentLeft() != null ? getCommentLeft() + " " : "") + "LEFT ";
}
if (isOuter()) {
type += (getCommentOuter() != null ? getCommentOuter() + " " : "") + "OUTER ";
} else if (isInner()) {
type += (getCommentInner() != null ? getCommentInner() + " " : "") + "INNER ";
}
return type + (getCommentJoin() != null ? getCommentJoin() + " " : "") + "JOIN "
+ rightItem
+ ((onExpression != null) ? (getCommentOn() != null ? " " + getCommentOn() : "") + " ON " + onExpression + "" : "")
+ (usingColumns != null ? ((getCommentUsing() != null ? " " + getCommentUsing() : "") + " USING "
+ (getCommentBeginBracket() != null ? getCommentBeginBracket() + " " : "")
+ PlainSelect.getStringListWithCommaComment(usingColumns, commentComma, true, true, getCommentEndBracket())) : "");
}
}
内容来源于网络,如有侵权,请联系作者删除!