-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add binary API compatibility checks to v1 branch #1427
Merged
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
public abstract interface annotation class org/partiql/coverage/api/PartiQLTest : java/lang/annotation/Annotation { | ||
public abstract fun provider ()Ljava/lang/Class; | ||
} | ||
|
||
public abstract interface class org/partiql/coverage/api/PartiQLTestCase { | ||
public abstract fun getSession ()Lorg/partiql/lang/eval/EvaluationSession; | ||
} | ||
|
||
public abstract interface class org/partiql/coverage/api/PartiQLTestProvider { | ||
public abstract fun getPipelineBuilder ()Lorg/partiql/lang/CompilerPipeline$Builder; | ||
public abstract fun getStatement ()Ljava/lang/String; | ||
public abstract fun getTestCases ()Ljava/lang/Iterable; | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
public abstract interface class org/partiql/eval/PartiQLEngine { | ||
public static final field Companion Lorg/partiql/eval/PartiQLEngine$Companion; | ||
public static fun builder ()Lorg/partiql/eval/PartiQLEngineBuilder; | ||
public static fun default ()Lorg/partiql/eval/PartiQLEngine; | ||
public abstract fun execute (Lorg/partiql/eval/PartiQLStatement;)Lorg/partiql/eval/PartiQLResult; | ||
public abstract fun prepare (Lorg/partiql/plan/PartiQLPlan;Lorg/partiql/eval/PartiQLEngine$Session;)Lorg/partiql/eval/PartiQLStatement; | ||
} | ||
|
||
public final class org/partiql/eval/PartiQLEngine$Companion { | ||
public final fun builder ()Lorg/partiql/eval/PartiQLEngineBuilder; | ||
public final fun default ()Lorg/partiql/eval/PartiQLEngine; | ||
} | ||
|
||
public final class org/partiql/eval/PartiQLEngine$Mode : java/lang/Enum { | ||
public static final field PERMISSIVE Lorg/partiql/eval/PartiQLEngine$Mode; | ||
public static final field STRICT Lorg/partiql/eval/PartiQLEngine$Mode; | ||
public static fun valueOf (Ljava/lang/String;)Lorg/partiql/eval/PartiQLEngine$Mode; | ||
public static fun values ()[Lorg/partiql/eval/PartiQLEngine$Mode; | ||
} | ||
|
||
public final class org/partiql/eval/PartiQLEngine$Session { | ||
public fun <init> ()V | ||
public fun <init> (Ljava/util/Map;Lorg/partiql/eval/PartiQLEngine$Mode;)V | ||
public synthetic fun <init> (Ljava/util/Map;Lorg/partiql/eval/PartiQLEngine$Mode;ILkotlin/jvm/internal/DefaultConstructorMarker;)V | ||
public final fun getCatalogs ()Ljava/util/Map; | ||
public final fun getMode ()Lorg/partiql/eval/PartiQLEngine$Mode; | ||
} | ||
|
||
public final class org/partiql/eval/PartiQLEngineBuilder { | ||
public fun <init> ()V | ||
public final fun build ()Lorg/partiql/eval/PartiQLEngine; | ||
} | ||
|
||
public abstract interface class org/partiql/eval/PartiQLResult { | ||
} | ||
|
||
public final class org/partiql/eval/PartiQLResult$Error : org/partiql/eval/PartiQLResult { | ||
public fun <init> (Ljava/lang/Throwable;)V | ||
public final fun component1 ()Ljava/lang/Throwable; | ||
public final fun copy (Ljava/lang/Throwable;)Lorg/partiql/eval/PartiQLResult$Error; | ||
public static synthetic fun copy$default (Lorg/partiql/eval/PartiQLResult$Error;Ljava/lang/Throwable;ILjava/lang/Object;)Lorg/partiql/eval/PartiQLResult$Error; | ||
public fun equals (Ljava/lang/Object;)Z | ||
public final fun getCause ()Ljava/lang/Throwable; | ||
public fun hashCode ()I | ||
public fun toString ()Ljava/lang/String; | ||
} | ||
|
||
public final class org/partiql/eval/PartiQLResult$Value : org/partiql/eval/PartiQLResult { | ||
public fun <init> (Lorg/partiql/value/PartiQLValue;)V | ||
public final fun component1 ()Lorg/partiql/value/PartiQLValue; | ||
public final fun copy (Lorg/partiql/value/PartiQLValue;)Lorg/partiql/eval/PartiQLResult$Value; | ||
public static synthetic fun copy$default (Lorg/partiql/eval/PartiQLResult$Value;Lorg/partiql/value/PartiQLValue;ILjava/lang/Object;)Lorg/partiql/eval/PartiQLResult$Value; | ||
public fun equals (Ljava/lang/Object;)Z | ||
public final fun getValue ()Lorg/partiql/value/PartiQLValue; | ||
public fun hashCode ()I | ||
public fun toString ()Ljava/lang/String; | ||
} | ||
|
||
public abstract interface class org/partiql/eval/PartiQLStatement { | ||
public abstract fun execute ()Ljava/lang/Object; | ||
} | ||
|
||
public abstract interface class org/partiql/eval/PartiQLStatement$Query : org/partiql/eval/PartiQLStatement { | ||
} | ||
|
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Apply binary compatibility checks for any published package.