@Immutable public class JoinFlag extends Object implements Serializable
JoinFlag
defines a join related flag using an Expression instance
JoinFlag
instances can be used in Querydsl modules which serialize queries to String form.
Modifier and Type | Class and Description |
---|---|
static class |
JoinFlag.Position
The different
JoinFlag positions |
Constructor and Description |
---|
JoinFlag(Expression<?> flag)
Create a new instance using the given flag
|
JoinFlag(Expression<?> flag,
JoinFlag.Position position)
Create a new instance using the given flag and position
|
JoinFlag(String flag)
Create a new instance using the given flag
|
JoinFlag(String flag,
JoinFlag.Position position)
Create a new instance using the given flag and position.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Expression<?> |
getFlag() |
JoinFlag.Position |
getPosition() |
int |
hashCode() |
String |
toString() |
public JoinFlag(String flag)
The used position is before the target.
flag
- flag in String formpublic JoinFlag(String flag, JoinFlag.Position position)
flag
- flag in String formposition
- position of the flag in the joinpublic JoinFlag(Expression<?> flag)
The used position is before the target.
flag
- flag in Expression formpublic JoinFlag(Expression<?> flag, JoinFlag.Position position)
flag
- flag in Expression formposition
- position of the flag in the joinpublic Expression<?> getFlag()
public JoinFlag.Position getPosition()
Copyright © 2007–2016 Querydsl. All rights reserved.