Skip to content

Commit f3a516b

Browse files
committed
javadoc and spotless
1 parent f965132 commit f3a516b

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

x-pack/plugin/esql/compute/src/main/java/org/elasticsearch/compute/data/ExponentialHistogramBlock.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ public sealed interface ExponentialHistogramBlock extends Block permits Constant
1919
/**
2020
* Abstraction to use for writing individual values via the {@link ExponentialHistogramBlockAccessor#serializeValue(int, SerializedOutput)}.
2121
*/
22-
public interface SerializedOutput {
22+
interface SerializedOutput {
2323
void appendDouble(double value);
2424

2525
void appendLong(long value);
@@ -28,9 +28,9 @@ public interface SerializedOutput {
2828
}
2929

3030
/**
31-
* Abstraction to use for writing individual values via the {@link ExponentialHistogramBlockAccessor#serializeValue(int, SerializedOutput)}.
31+
* Abstraction to use for reading individual serialized via {@link ExponentialHistogramBlockBuilder#deserializeAndAppend(SerializedInput)}.
3232
*/
33-
public interface SerializedInput {
33+
interface SerializedInput {
3434
double readDouble();
3535

3636
long readLong();

x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/planner/LocalExecutionPlanner.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -487,7 +487,8 @@ private PhysicalOperation planTopN(TopNExec topNExec, LocalExecutionPlannerConte
487487
case BOOLEAN, NULL, BYTE, SHORT, INTEGER, LONG, DOUBLE, FLOAT, HALF_FLOAT, DATETIME, DATE_NANOS, DATE_PERIOD, TIME_DURATION,
488488
OBJECT, SCALED_FLOAT, UNSIGNED_LONG, TSID_DATA_TYPE -> TopNEncoder.DEFAULT_SORTABLE;
489489
case GEO_POINT, CARTESIAN_POINT, GEO_SHAPE, CARTESIAN_SHAPE, COUNTER_LONG, COUNTER_INTEGER, COUNTER_DOUBLE, SOURCE,
490-
AGGREGATE_METRIC_DOUBLE, DENSE_VECTOR, GEOHASH, GEOTILE, GEOHEX, EXPONENTIAL_HISTOGRAM -> TopNEncoder.DEFAULT_UNSORTABLE;
490+
AGGREGATE_METRIC_DOUBLE, DENSE_VECTOR, GEOHASH, GEOTILE, GEOHEX, EXPONENTIAL_HISTOGRAM ->
491+
TopNEncoder.DEFAULT_UNSORTABLE;
491492
// unsupported fields are encoded as BytesRef, we'll use the same encoder; all values should be null at this point
492493
case PARTIAL_AGG, UNSUPPORTED -> TopNEncoder.UNSUPPORTED;
493494
};

0 commit comments

Comments
 (0)