Skip to content

Commit

Permalink
Spotless apply (again)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexpeters1208 committed Nov 14, 2023
1 parent 44cd62e commit 605dc35
Show file tree
Hide file tree
Showing 5 changed files with 42 additions and 36 deletions.
20 changes: 12 additions & 8 deletions table-api/src/main/java/io/deephaven/api/TableOperations.java
Original file line number Diff line number Diff line change
Expand Up @@ -1169,8 +1169,9 @@ TOPS updateBy(UpdateByControl control, Collection<? extends UpdateByOperation> o
* <p>
* When the input table is empty, zero output rows are produced.
* <p>
* Sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction),
* which ensures that the sample variance will be an unbiased estimator of population variance.
* Sample standard deviation is computed using Bessel's correction
* (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the sample variance will be an unbiased
* estimator of population variance.
*/
@ConcurrentMethod
TOPS stdBy();
Expand All @@ -1179,8 +1180,9 @@ TOPS updateBy(UpdateByControl control, Collection<? extends UpdateByOperation> o
* Groups the data column according to <code>groupByColumns</code> and computes the sample standard deviation for
* the rest of the fields
* <p>
* Sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction),
* which ensures that the sample variance will be an unbiased estimator of population variance.
* Sample standard deviation is computed using Bessel's correction
* (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the sample variance will be an unbiased
* estimator of population variance.
*
* @param groupByColumns The grouping columns as in {@link TableOperations#groupBy}
*/
Expand All @@ -1191,8 +1193,9 @@ TOPS updateBy(UpdateByControl control, Collection<? extends UpdateByOperation> o
* Groups the data column according to <code>groupByColumns</code> and computes the sample standard deviation for
* the rest of the fields
* <p>
* Sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction),
* which ensures that the sample variance will be an unbiased estimator of population variance.
* Sample standard deviation is computed using Bessel's correction
* (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the sample variance will be an unbiased
* estimator of population variance.
*
* @param groupByColumns The grouping columns as in {@link TableOperations#groupBy}
*/
Expand All @@ -1203,8 +1206,9 @@ TOPS updateBy(UpdateByControl control, Collection<? extends UpdateByOperation> o
* Groups the data column according to <code>groupByColumns</code> and computes the sample standard deviation for
* the rest of the fields
* <p>
* Sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction),
* which ensures that the sample variance will be an unbiased estimator of population variance.
* Sample standard deviation is computed using Bessel's correction
* (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the sample variance will be an unbiased
* estimator of population variance.
*
* @param groupByColumns The grouping columns as in {@link TableOperations#groupBy}
*/
Expand Down
5 changes: 3 additions & 2 deletions table-api/src/main/java/io/deephaven/api/agg/Aggregation.java
Original file line number Diff line number Diff line change
Expand Up @@ -525,8 +525,9 @@ static Aggregation AggSortedLast(Collection<? extends String> sortColumns, Strin
* Create a {@link io.deephaven.api.agg.spec.AggSpecStd sample standard deviation} aggregation for the supplied
* column name pairs.
*
* Sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction),
* which ensures that the sample variance will be an unbiased estimator of population variance.
* Sample standard deviation is computed using Bessel's correction
* (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the sample variance will be an unbiased
* estimator of population variance.
*
* @param pairs The input/output column name pairs
* @return The aggregation
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,9 @@
* Specifies an aggregation that outputs the sample standard deviation of the input column values for each group. Only
* works for numeric input types.
*
* Sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction),
* which ensures that the sample variance will be an unbiased estimator of population variance.
* Sample standard deviation is computed using Bessel's correction
* (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the sample variance will be an unbiased
* estimator of population variance.
*
* @see TableOperations#stdBy
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
* Specifies an aggregation that outputs the sample variance of the input column values for each group. Only works for
* numeric input types.
*
* Sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction),
* which ensures that the sample variance will be an unbiased estimator of population variance.
* Sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which
* ensures that the sample variance will be an unbiased estimator of population variance.
*
* @see TableOperations#varBy
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1621,10 +1621,10 @@ static UpdateByOperation RollingCount(String timestampCol, long revTime, long fw

/**
* Create a {@link RollingStdSpec rolling sample standard deviation} for the supplied column name pairs, using ticks
* as the windowing unit. Ticks are row counts and you may specify the previous window in number of rows
* to include. The current row is considered to belong to the reverse window, so calling this with
* {@code revTicks = 1} will simply return the current row. Specifying {@code revTicks = 10} will include the
* previous 9 rows to this one and this row for a total of 10 rows.
* as the windowing unit. Ticks are row counts and you may specify the previous window in number of rows to include.
* The current row is considered to belong to the reverse window, so calling this with {@code revTicks = 1} will
* simply return the current row. Specifying {@code revTicks = 10} will include the previous 9 rows to this one and
* this row for a total of 10 rows.
*
* Sample standard deviation is computed using Bessel's correction
* (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the sample variance will be an unbiased
Expand All @@ -1640,10 +1640,10 @@ static UpdateByOperation RollingStd(long revTicks, String... pairs) {

/**
* Create a {@link RollingStdSpec rolling sample standard deviation} for the supplied column name pairs, using ticks
* as the windowing unit. Ticks are row counts and you may specify the reverse and forward window in
* number of rows to include. The current row is considered to belong to the reverse window but not the forward
* window. Also, negative values are allowed and can be used to generate completely forward or completely reverse
* windows. Here are some examples of window values:
* as the windowing unit. Ticks are row counts and you may specify the reverse and forward window in number of rows
* to include. The current row is considered to belong to the reverse window but not the forward window. Also,
* negative values are allowed and can be used to generate completely forward or completely reverse windows. Here
* are some examples of window values:
* <ul>
* <li>{@code revTicks = 1, fwdTicks = 0} - contains only the current row</li>
* <li>{@code revTicks = 10, fwdTicks = 0} - contains 9 previous rows and the current row</li>
Expand Down Expand Up @@ -1673,9 +1673,9 @@ static UpdateByOperation RollingStd(long revTicks, long fwdTicks, String... pair

/**
* Create a {@link RollingStdSpec rolling sample standard deviation} for the supplied column name pairs, using time
* as the windowing unit. This function accepts {@link Duration duration} as the reverse window
* parameter. A row containing a {@code null} in the timestamp column belongs to no window and will not have a value
* computed or be considered in the windows of other rows.
* as the windowing unit. This function accepts {@link Duration duration} as the reverse window parameter. A row
* containing a {@code null} in the timestamp column belongs to no window and will not have a value computed or be
* considered in the windows of other rows.
*
* Here are some examples of window values:
* <ul>
Expand All @@ -1698,10 +1698,10 @@ static UpdateByOperation RollingStd(String timestampCol, Duration revDuration, S

/**
* Create a {@link RollingStdSpec rolling sample standard deviation} for the supplied column name pairs, using time
* as the windowing unit. This function accepts {@link Duration durations} as the reverse and forward
* window parameters. Negative values are allowed and can be used to generate completely forward or completely
* reverse windows. A row containing a {@code null} in the timestamp column belongs to no window and will not have a
* value computed or be considered in the windows of other rows.
* as the windowing unit. This function accepts {@link Duration durations} as the reverse and forward window
* parameters. Negative values are allowed and can be used to generate completely forward or completely reverse
* windows. A row containing a {@code null} in the timestamp column belongs to no window and will not have a value
* computed or be considered in the windows of other rows.
*
* Here are some examples of window values:
* <ul>
Expand Down Expand Up @@ -1735,9 +1735,9 @@ static UpdateByOperation RollingStd(String timestampCol, Duration revDuration, D

/**
* Create a {@link RollingStdSpec rolling sample standard deviation} for the supplied column name pairs, using time
* as the windowing unit. This function accepts {@code nanoseconds} as the reverse window parameters. A
* row containing a {@code null} in the timestamp column belongs to no window and will not have a value computed or
* be considered in the windows of other rows.
* as the windowing unit. This function accepts {@code nanoseconds} as the reverse window parameters. A row
* containing a {@code null} in the timestamp column belongs to no window and will not have a value computed or be
* considered in the windows of other rows.
*
* Sample standard deviation is computed using Bessel's correction
* (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the sample variance will be an unbiased
Expand All @@ -1754,10 +1754,10 @@ static UpdateByOperation RollingStd(String timestampCol, long revTime, String...

/**
* Create a {@link RollingStdSpec rolling sample standard deviation} for the supplied column name pairs, using time
* as the windowing unit. This function accepts {@code nanoseconds} as the reverse and forward window
* parameters. Negative values are allowed and can be used to generate completely forward or completely reverse
* windows. A row containing a {@code null} in the timestamp column belongs to no window and will not have a value
* computed or be considered in the windows of other rows.
* as the windowing unit. This function accepts {@code nanoseconds} as the reverse and forward window parameters.
* Negative values are allowed and can be used to generate completely forward or completely reverse windows. A row
* containing a {@code null} in the timestamp column belongs to no window and will not have a value computed or be
* considered in the windows of other rows.
*
* Sample standard deviation is computed using Bessel's correction
* (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the sample variance will be an unbiased
Expand Down

0 comments on commit 605dc35

Please sign in to comment.