File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
google-cloud-spanner/src/main/java/com/google/cloud/spanner/nativeimage Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -41,6 +41,8 @@ final class SpannerFeature implements Feature {
4141 "com.google.cloud.spanner.connection.ClientSideStatementSetExecutor" ;
4242 private static final String CLIENT_SIDE_STATEMENT_PG_EXECUTOR =
4343 "com.google.cloud.spanner.connection.ClientSideStatementPgBeginExecutor" ;
44+ private static final String CLIENT_SIDE_STATEMENT_EXPLAIN_EXECUTOR =
45+ "com.google.cloud.spanner.connection.ClientSideStatementExplainExecutor" ;
4446 private static final String ABSTRACT_STATEMENT_PARSER =
4547 "com.google.cloud.spanner.connection.AbstractStatementParser" ;
4648 private static final String STATEMENT_PARSER =
@@ -62,6 +64,9 @@ public void beforeAnalysis(BeforeAnalysisAccess access) {
6264 if (access .findClassByName (CLIENT_SIDE_STATEMENT_PG_EXECUTOR ) != null ) {
6365 NativeImageUtils .registerClassForReflection (access , CLIENT_SIDE_STATEMENT_PG_EXECUTOR );
6466 }
67+ if (access .findClassByName (CLIENT_SIDE_STATEMENT_EXPLAIN_EXECUTOR ) != null ) {
68+ NativeImageUtils .registerClassForReflection (access , CLIENT_SIDE_STATEMENT_EXPLAIN_EXECUTOR );
69+ }
6570 if (access .findClassByName (CLIENT_SIDE_STATEMENT_SET_EXECUTOR ) != null ) {
6671 NativeImageUtils .registerClassForReflection (access , CLIENT_SIDE_STATEMENT_SET_EXECUTOR );
6772 }
You can’t perform that action at this time.
0 commit comments