Purpose: This node represents an ORDER BY item
Responsibilities:
| Modifier and Type | Field and Description |
|---|---|
| private SortDirectionNode | |
| private Object | |
| private Node |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Expression | generateExpression(GenerationContext context)
Overrides org. |
| public SortDirectionNode | |
| public Object | |
| public void | |
| public void | |
| public void | validate(ParseTreeContext context)
Overrides org. |
| direction | back to summary |
|---|---|
| private SortDirectionNode direction | |
| orderByItem | back to summary |
|---|---|
| private Object orderByItem | |
| orderNode | back to summary |
|---|---|
| private Node orderNode | |
| OrderByItemNode | back to summary |
|---|---|
| public OrderByItemNode() | |
| generateExpression | back to summary |
|---|---|
| public Expression generateExpression(GenerationContext context) Overrides org. Doc from org. INTERNAL Generate an expression for the node. Each subclass will generate a different expression and thus will need to override this method
| |
| getDirection | back to summary |
|---|---|
| public SortDirectionNode getDirection() | |
| getOrderByItem | back to summary |
|---|---|
| public Object getOrderByItem() | |
| setDirection | back to summary |
|---|---|
| public void setDirection(SortDirectionNode direction) | |
| setOrderByItem | back to summary |
|---|---|
| public void setOrderByItem(Object orderByItem) | |
| validate | back to summary |
|---|---|
| public void validate(ParseTreeContext context) Overrides org. INTERNAL Validate node and calculate its type.
| |