Skip to content

Commit d2ace22

Browse files
committed
Mark EncoderUtil#encodeNullsAsBits(SliceOutput, Block) deprecated
1 parent b5c3b10 commit d2ace22

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

core/trino-spi/src/main/java/io/trino/spi/block/EncoderUtil.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,10 @@ public static void encodeNullsAsBits(SliceOutput sliceOutput, @Nullable boolean[
6969

7070
/**
7171
* Append null values for the block as a stream of bits.
72+
*
73+
* @deprecated Use {@link EncoderUtil#encodeNullsAsBits(SliceOutput, boolean[], int, int)} instead
7274
*/
75+
@Deprecated(forRemoval = true)
7376
@SuppressWarnings({"NarrowingCompoundAssignment", "ImplicitNumericConversion"})
7477
public static void encodeNullsAsBits(SliceOutput sliceOutput, Block block)
7578
{

0 commit comments

Comments
 (0)