# Uses of Enum Class
org.apache.torque.criteria.JoinType

Packages that use JoinType
Package
Description
org.apache.torque.criteria
This package contains Torque's Criteria classes.

- ## Uses of JoinType in org.apache.torque.criteria

  Fields in org.apache.torque.criteria declared as JoinType
  Modifier and Type
  Field
  Description
  `static final JoinType`
  Criteria.`INNER_JOIN`
  "INNER JOIN" SQL statement
  `static final JoinType`
  Criteria.`LEFT_JOIN`
  "LEFT JOIN" SQL statement
  `static final JoinType`
  Criteria.`RIGHT_JOIN`
  "RIGHT JOIN" SQL statement
  Methods in org.apache.torque.criteria that return JoinType
  Modifier and Type
  Method
  Description
  `JoinType`
  FromElement.`getJoinType()`
  Returns the join type.
  `final JoinType`
  Join.`getJoinType()`
  `static JoinType`
  JoinType.`valueOf(String name)`
  Returns the enum constant of this class with the specified name.
  `static JoinType[]`
  JoinType.`values()`
  Returns an array containing the constants of this enum class, in the order they are declared.
  Methods in org.apache.torque.criteria with parameters of type JoinType
  Modifier and Type
  Method
  Description
  `Criteria`
  Criteria.`addJoin(String leftTable, String rightTable, Criterion joinCondition, JoinType joinType)`
  Adds a join to the criteria.
  `Criteria`
  Criteria.`addJoin(Column left, Column right, JoinType joinType)`
  Adds a join to the criteria, E.g. to create the condition
  `Criteria`
  Criteria.`addJoin(Column left, Column right, SqlEnum comparison, JoinType joinType)`
  Adds a join to the criteria, E.g. to create the condition
  `Criteria`
  Criteria.`addJoin(PreparedStatementPart leftTable, PreparedStatementPart rightTable, Criterion joinCondition, JoinType joinType)`
  Adds a join to the criteria, E.g. to create the condition
  Constructors in org.apache.torque.criteria with parameters of type JoinType
  Modifier
  Constructor
  Description
  ``
  `FromElement(String fromExpression, JoinType joinType, String joinCondition)`
  Constructor.
  ``
  `FromElement(String fromExpression, JoinType joinType, String joinCondition, List<Object> preparedStatementReplacements)`
  Constructor.
  ``
  `FromElement(String fromExpression, JoinType joinType, PreparedStatementPart joinCondition)`
  Constructor.
  ``
  `Join(Column leftColumn, Column rightColumn, SqlEnum comparison, JoinType joinType)`
  Constructor with the comparison operator.
  ``
  `Join(PreparedStatementPart leftTable, PreparedStatementPart rightTable, Criterion joinCondition, JoinType joinType)`
  Constructor.