Skip to content

Commit 624542d

Browse files
committed
Mark EncoderUtil#encodeNullsAsBits(SliceOutput, Block) deprecated
1 parent 0e86add commit 624542d

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
@@ -70,7 +70,10 @@ public static void encodeNullsAsBits(SliceOutput sliceOutput, @Nullable boolean[
7070

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

0 commit comments

Comments
 (0)