CONCAT function returns a string that is a concatenation of its arguments.
JPA 1.0:
BNF: expression ::= CONCAT(string_primary, string_primary)
BNF: expression ::= CONCAT(string_primary, string_primary {, string_primary}*)
ConcatExpression
| Modifier and Type | Field and Description |
|---|---|
| public static final String | STRING_PRIMARY_STATE_OBJECT_LIST
Notifies the content of the list of |
| Access | Constructor and Description |
|---|---|
| public | ConcatExpressionStateObject(StateObject
The parent of this state object, which cannot be parent)nullCreates a new |
| public | ConcatExpressionStateObject(StateObject parent, List<? extends StateObject>
The list of stateObjects)StateObject representing the encapsulated expressionsCreates a new |
| public | ConcatExpressionStateObject(StateObject
The parent of this state object, which cannot be parent, StateObject... nullThe list of stateObjects)StateObject representing the encapsulated expressionsCreates a new |
| Modifier and Type | Method and Description |
|---|---|
| public void | accept(StateObjectVisitor
The visitor)visitor to visit this objectImplements org. StateObject by the given visitor.
|
| public ConcatExpression | getExpression()
Overrides org. Implements org. StateObject representation of the JPQL query
was created by parsing an existing JPQL query.
|
| public boolean | isEquivalent(StateObject
The stateObject)StateObject to compare its content to this oneOverrides org. Implements org. StateObject is equivalent to this one, i.e. the
information of both StateObject is the same.
|
| protected String | listName()
Implements abstract org. |
| public void | setExpression(ConcatExpression
The expression)parsed object representing a CONCAT
expressionKeeps a reference of the |
| protected void | toTextInternal(Appendable
The writer used to print out the string representation writer)Implements abstract org. StateObject, which should not be used to
define a true string representation of a JPQL query but should be used for
debugging purposes.
|
| STRING_PRIMARY_STATE_OBJECT_LIST | back to summary |
|---|---|
| public static final String STRING_PRIMARY_STATE_OBJECT_LIST Notifies the content of the list of | |
| ConcatExpressionStateObject | back to summary |
|---|---|
| public ConcatExpressionStateObject(StateObject parent) Creates a new
| |
| ConcatExpressionStateObject | back to summary |
|---|---|
| public ConcatExpressionStateObject(StateObject parent, List<? extends StateObject> stateObjects) Creates a new
| |
| ConcatExpressionStateObject | back to summary |
|---|---|
| public ConcatExpressionStateObject(StateObject parent, StateObject... stateObjects) Creates a new
| |
| accept | back to summary |
|---|---|
| public void accept(StateObjectVisitor visitor) Implements org. Doc from org. Visits this
| |
| getExpression | back to summary |
|---|---|
| public ConcatExpression getExpression() Overrides org. Implements org. Doc from org. Returns the actual parsed object if this
| |
| isEquivalent | back to summary |
|---|---|
| public boolean isEquivalent(StateObject stateObject) Overrides org. Implements org. Doc from org. Determines whether the given
| |
| listName | back to summary |
|---|---|
| protected String listName() Implements abstract org. Doc from org. Returns the name that is uniquely identifying the list. | |
| setExpression | back to summary |
|---|---|
| public void setExpression(ConcatExpression expression) Keeps a reference of the
| |
| toTextInternal | back to summary |
|---|---|
| protected void toTextInternal(Appendable writer) throws IOException Implements abstract org. Doc from org. Prints out a string representation of this
| |