| Modifier and Type | Field and Description |
|---|---|
| private ValueNode | fetchFirst
If not null, this represents the value of a <fetch first clause>. |
| private boolean | hasJDBClimitClause
True if the offset/fetchFirst clauses were added by JDBC LIMIT syntax. |
| private ValueNode | offset
If not null, this represents the value of a <result offset clause>. |
| Access | Constructor and Description |
|---|---|
| pack-priv | RowCountNode(ResultSetNode
The result set for which we want to get
only a subset childResult, ResultColumnList The result columns we want rcl, ValueNode The offset, if any, in the result set offset, ValueNode The number of rows to inspect to get fetchFirst, boolean true if a JDBC limit syntax was usedThe context manager cm)Constructor for a RowCountNode |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv void | generate(ActivationClassBuilder
activation class builder acb, MethodBuilder method builder mb)Overrides org. Generate code. |
| private void | |
| public String | Returns: This object as a StringOverrides org. Convert this object to a String. |
| fetchFirst | back to summary |
|---|---|
| private ValueNode fetchFirst If not null, this represents the value of a | |
| hasJDBClimitClause | back to summary |
|---|---|
| private boolean hasJDBClimitClause True if the offset/fetchFirst clauses were added by JDBC LIMIT syntax. | |
| offset | back to summary |
|---|---|
| private ValueNode offset If not null, this represents the value of a | |
| RowCountNode | back to summary |
|---|---|
| pack-priv RowCountNode(ResultSetNode childResult, ResultColumnList rcl, ValueNode offset, ValueNode fetchFirst, boolean hasJDBClimitClause, ContextManager cm) throws StandardException Constructor for a RowCountNode
| |
| generate | back to summary |
|---|---|
| pack-priv void generate(ActivationClassBuilder acb, MethodBuilder mb) throws StandardException Overrides org. Generate code.
| |
| generateExprFun | back to summary |
|---|---|
| private void generateExprFun(ExpressionClassBuilder ecb, MethodBuilder mb, ValueNode vn) throws StandardException | |
| toString | back to summary |
|---|---|
| public String toString() Overrides org. Convert this object to a String. See comments in QueryTreeNode.java for how this should be done for tree printing. | |