Purpose: Represent a date function: CURRENT_DATE, CURRENT_TIME, CURRENT_TIMESTAMP.
Responsibilities:
| Modifier and Type | Field and Description |
|---|---|
| private Class |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | applyToQuery(ObjectLevelReadQuery theQuery, GenerationContext context)
Overrides org. |
| public Expression | generateExpression(GenerationContext context)
Overrides org. |
| public void | |
| public void | |
| public void | |
| public void | validate(ParseTreeContext context)
Overrides org. |
| type | back to summary |
|---|---|
| private Class<?> type Hides org. | |
| DateFunctionNode | back to summary |
|---|---|
| public DateFunctionNode() DateFunctionNode constructor. | |
| applyToQuery | back to summary |
|---|---|
| public void applyToQuery(ObjectLevelReadQuery theQuery, GenerationContext context) Overrides org. INTERNAL Apply this node to the passed query
| |
| generateExpression | back to summary |
|---|---|
| public Expression generateExpression(GenerationContext context) Overrides org. INTERNAL Generate the EclipseLink expression for this node
| |
| useCurrentDate | back to summary |
|---|---|
| public void useCurrentDate() | |
| useCurrentTime | back to summary |
|---|---|
| public void useCurrentTime() | |
| useCurrentTimestamp | back to summary |
|---|---|
| public void useCurrentTimestamp() | |
| validate | back to summary |
|---|---|
| public void validate(ParseTreeContext context) Overrides org. INTERNAL Validate node and calculate its type.
| |