Package adalid.core.sql
Class QueryJoin
java.lang.Object
adalid.core.sql.QueryJoin
- Author:
- Jorge Campins
-
Method Summary
Modifier and TypeMethodDescriptiongetSqlSelectStatement(List<Property> referencedColumns) getSqlSelectStatement(List<Property> referencedColumns, boolean into) getSqlSelectStatement(List<Property> referencedColumns, boolean into, boolean where) getSqlSelectStatement(List<Property> referencedColumns, boolean into, boolean where, boolean indent) booleanvoidsetHierarchical(boolean hierarchical)
-
Method Details
-
getOperator
- Returns:
- the join operator
-
getLeftTable
- Returns:
- the left table
-
getLeftColumn
- Returns:
- the left column
-
getRightTable
- Returns:
- the right table
-
getRightColumn
- Returns:
- the right column
-
isHierarchical
public boolean isHierarchical() -
setHierarchical
public void setHierarchical(boolean hierarchical) -
getSqlSelectStatement
- Returns:
- the SQL statement
-
getSqlSelectStatement
- Parameters:
referencedColumns- referenced columns- Returns:
- the SQL statement
-
getSqlSelectStatement
- Parameters:
referencedColumns- referenced columnsinto- into- Returns:
- the SQL statement
-
getSqlSelectStatement
- Parameters:
referencedColumns- referenced columnsinto- intowhere- where- Returns:
- the SQL statement
-
getSqlSelectStatement
public String getSqlSelectStatement(List<Property> referencedColumns, boolean into, boolean where, boolean indent) - Parameters:
referencedColumns- referenced columnsinto- intowhere- whereindent- indent- Returns:
- the SQL statement
-