Skip to content

Commit

Permalink
Remove experimental annotation from exchange interface
Browse files Browse the repository at this point in the history
The experimental designation for exchanges had an ETA of 9/1/23 and can
now be removed.
  • Loading branch information
wweiss-starburst authored and losipiuk committed Jan 19, 2024
1 parent 664a39f commit 292c101
Show file tree
Hide file tree
Showing 11 changed files with 0 additions and 28 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,8 @@
package io.trino.spi.exchange;

import io.opentelemetry.api.trace.Span;
import io.trino.spi.Experimental;
import io.trino.spi.QueryId;

@Experimental(eta = "2023-09-01")
public interface ExchangeContext
{
QueryId getQueryId();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@

import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
import io.trino.spi.Experimental;

import java.util.Objects;
import java.util.regex.Pattern;
Expand All @@ -25,7 +24,6 @@
import static java.util.Objects.requireNonNull;
import static java.util.UUID.randomUUID;

@Experimental(eta = "2023-09-01")
public class ExchangeId
{
private static final long INSTANCE_SIZE = instanceSize(ExchangeId.class);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@

import com.google.errorprone.annotations.ThreadSafe;
import io.airlift.slice.Slice;
import io.trino.spi.Experimental;

/**
* Service provider interface for an external exchange
Expand All @@ -37,7 +36,6 @@
* data written by other instances must be safely discarded
*/
@ThreadSafe
@Experimental(eta = "2023-09-01")
public interface ExchangeManager
{
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,8 @@
*/
package io.trino.spi.exchange;

import io.trino.spi.Experimental;

import java.util.Map;

@Experimental(eta = "2023-09-01")
public interface ExchangeManagerFactory
{
String getName();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,6 @@
*/
package io.trino.spi.exchange;

import io.trino.spi.Experimental;

@Experimental(eta = "2023-09-01")
public interface ExchangeManagerHandleResolver
{
Class<? extends ExchangeSinkInstanceHandle> getExchangeSinkInstanceHandleClass();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,10 @@

import com.google.errorprone.annotations.ThreadSafe;
import io.airlift.slice.Slice;
import io.trino.spi.Experimental;

import java.util.concurrent.CompletableFuture;

@ThreadSafe
@Experimental(eta = "2023-09-01")
public interface ExchangeSink
{
CompletableFuture<Void> NOT_BLOCKED = CompletableFuture.completedFuture(null);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,9 @@
*/
package io.trino.spi.exchange;

import io.trino.spi.Experimental;

/*
* Implementation is expected to be Jackson serializable
*/
@Experimental(eta = "2023-09-01")
public interface ExchangeSinkHandle
{
}
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,6 @@
*/
package io.trino.spi.exchange;

import io.trino.spi.Experimental;

@Experimental(eta = "2023-09-01")
public interface ExchangeSinkInstanceHandle
{
}
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,13 @@

import com.google.errorprone.annotations.ThreadSafe;
import io.airlift.slice.Slice;
import io.trino.spi.Experimental;
import jakarta.annotation.Nullable;

import java.io.Closeable;
import java.util.List;
import java.util.concurrent.CompletableFuture;

@ThreadSafe
@Experimental(eta = "2023-09-01")
public interface ExchangeSource
extends Closeable
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,9 @@
*/
package io.trino.spi.exchange;

import io.trino.spi.Experimental;

/*
* Implementation is expected to be Jackson serializable
*/
@Experimental(eta = "2023-09-01")
public interface ExchangeSourceHandle
{
int getPartitionId();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,6 @@
*/
package io.trino.spi.exchange;

import io.trino.spi.Experimental;

@Experimental(eta = "2023-09-01")
public class ExchangeSourceStatistics
{
private final long sizeInBytes;
Expand Down

0 comments on commit 292c101

Please sign in to comment.