diff --git a/core/trino-spi/src/main/java/io/trino/spi/connector/EmptyPageSource.java b/core/trino-spi/src/main/java/io/trino/spi/connector/EmptyPageSource.java index 279917b49e13..edf0e69ce4d2 100644 --- a/core/trino-spi/src/main/java/io/trino/spi/connector/EmptyPageSource.java +++ b/core/trino-spi/src/main/java/io/trino/spi/connector/EmptyPageSource.java @@ -13,35 +13,11 @@ */ package io.trino.spi.connector; -import io.airlift.slice.Slice; import io.trino.spi.Page; -import io.trino.spi.block.Block; - -import java.util.Collection; -import java.util.List; -import java.util.concurrent.CompletableFuture; public class EmptyPageSource implements ConnectorPageSource { - @Deprecated // This method has been removed from the API - public void deleteRows(Block rowIds) - { - throw new UnsupportedOperationException("deleteRows called on EmptyPageSource"); - } - - @Deprecated // This method has been removed from the API - public void updateRows(Page page, List columnValueAndRowIdChannels) - { - throw new UnsupportedOperationException("updateRows called on EmptyPageSource"); - } - - @Deprecated // This method has been removed from the API - public CompletableFuture> finish() - { - throw new UnsupportedOperationException("finish called on EmptyPageSource"); - } - @Override public long getCompletedBytes() {