-
Notifications
You must be signed in to change notification settings - Fork 73
MLE-27841 More 'since' annotations #1918
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -249,6 +249,8 @@ protected PlanBuilder( | |
| /** | ||
| * Create column definitions which can be used in op:from-docs. Below functions are used to create column definitions. op:add-column, op:type, op:xpath, op:expr, op:nullable, op:default, op:dimension, op:coordinate-system, op:units, op:collation. | ||
| * @return a PlanColumnBuilder object | ||
| * | ||
| * @since 8.1.0; requires MarkLogic 12.1 or higher | ||
| */ | ||
| public abstract PlanColumnBuilder columnBuilder(); | ||
| /** | ||
|
|
@@ -1189,6 +1191,8 @@ protected PlanBuilder( | |
| /** | ||
| * This helper function returns the node from the current processing row. It is to be used in op:xpath, to reference the 'current item' instead of a doc column. | ||
| * @return a PlanContextExprCall object | ||
| * | ||
| * @since 8.1.0; requires MarkLogic 12.1 or higher | ||
| */ | ||
| public abstract PlanContextExprCall context(); | ||
| /** | ||
|
|
@@ -1236,6 +1240,8 @@ protected PlanBuilder( | |
| * @param expression The server expression (such as op:context()) from which to extract the child nodes. | ||
| * @param path An XPath (specified as a string) to apply to each node. (of <a href="{@docRoot}/doc-files/types/xs_string.html">xs:string</a>) | ||
| * @return a server expression with the <a href="{@docRoot}/doc-files/types/node.html">node</a> server data type | ||
| * | ||
| * @since 8.1.0; requires MarkLogic 12.1 or higher | ||
| */ | ||
| public abstract ServerExpression xpath(ServerExpression expression, String path); | ||
| /** | ||
|
|
@@ -1245,6 +1251,8 @@ protected PlanBuilder( | |
| * @param expression The server expression (such as op:context()) from which to extract the child nodes. | ||
| * @param path An XPath to apply to each node. (of <a href="{@docRoot}/doc-files/types/xs_string.html">xs:string</a>) | ||
| * @return a server expression with the <a href="{@docRoot}/doc-files/types/node.html">node</a> server data type | ||
| * | ||
| * @since 8.1.0; requires MarkLogic 12.1 or higher | ||
| */ | ||
|
Comment on lines
1252
to
1256
|
||
| public abstract ServerExpression xpath(ServerExpression expression, ServerExpression path); | ||
| /** | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The
@sinceannotation added here uses inconsistent indentation (extra leading space) and the wording differs from most other@sincetags in this file (missing "or higher" and trailing period). Align indentation with the rest of the Javadoc and consider using "requires MarkLogic 12.1 or higher." for consistency and to clarify this is a minimum server version.