public static enum QueryBuilder.JoinType extends Enum<QueryBuilder.JoinType>
NOTE: RIGHT and FULL JOIN SQL commands are not supported because we are only returning objects from the "left" table.
Enum Constant and Description |
---|
INNER
The most common type of join.
|
LEFT
"The LEFT JOIN keyword returns all rows from the left table (table1), with the matching rows in the right
table (table2).
|
Modifier and Type | Method and Description |
---|---|
static QueryBuilder.JoinType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static QueryBuilder.JoinType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final QueryBuilder.JoinType INNER
See SQL JOIN
public static final QueryBuilder.JoinType LEFT
See: LEFT JOIN SQL docs
public static QueryBuilder.JoinType[] values()
for (QueryBuilder.JoinType c : QueryBuilder.JoinType.values()) System.out.println(c);
public static QueryBuilder.JoinType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullThis documentation is licensed by Gray Watson under the Creative Commons Attribution-Share Alike 3.0 License.