com.xdev.jadoth.sqlengine.internal.RIGHT_JOIN Maven / Gradle / Ivy
package com.xdev.jadoth.sqlengine.internal;
/*-
* #%L
* XDEV Application Framework
* %%
* Copyright (C) 2003 - 2020 XDEV Software
* %%
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Lesser Public License for more details.
*
* You should have received a copy of the GNU General Lesser Public
* License along with this program. If not, see
* .
* #L%
*/
import java.util.HashMap;
import com.xdev.jadoth.sqlengine.SQL;
import com.xdev.jadoth.sqlengine.internal.interfaces.TableExpression;
/**
* The Class RIGHT_JOIN.
*
* @author Thomas Muenz
*/
public class RIGHT_JOIN extends JoinClause
{
///////////////////////////////////////////////////////////////////////////
// constants //
/////////////////////
/**
*
*/
private static final long serialVersionUID = 3067239314370110016L;
///////////////////////////////////////////////////////////////////////////
// constructors //
/////////////////
/**
* Instantiates a new rIGH t_ join.
*/
protected RIGHT_JOIN() {
super(null, null, null);
}
/**
* Instantiates a new rIGH t_ join.
*
* @param table the table
* @param joinCondition the join condition
*/
public RIGHT_JOIN(final TableExpression table, final Object joinCondition) {
super(table, joinCondition);
}
/**
* Instantiates a new rIGH t_ join.
*
* @param parentFromClause the parent from clause
* @param table the table
* @param joinCondition the join condition
*/
public RIGHT_JOIN(final FROM parentFromClause, final TableExpression table, final Object joinCondition) {
super(parentFromClause, table, joinCondition);
}
/**
*
* @param copySource
* @param parentFromClause
*/
protected RIGHT_JOIN(final RIGHT_JOIN copySource, final FROM parentFromClause)
{
super(copySource, parentFromClause);
}
///////////////////////////////////////////////////////////////////////////
// getters //
/////////////////////
/**
* @return
* @see com.xdev.jadoth.sqlengine.internal.SqlClause#keyword()
*/
@Override
public String keyword() {
return SQL.LANG.RIGHT_JOIN;
}
///////////////////////////////////////////////////////////////////////////
// override methods //
/////////////////////
/**
* @return
*/
@Override
public RIGHT_JOIN copy()
{
return new RIGHT_JOIN(this, null);
}
/**
* @param alreadyCopied
* @return
*/
@Override
protected RIGHT_JOIN copy(final HashMap, SqlClause>> alreadyCopied)
{
return new RIGHT_JOIN(this, copySqlClause(this.parentFromClause, alreadyCopied));
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy