Skip to content

Commit f458195

Browse files
committed
chore: change to default method in SpannerRpc interface.
1 parent e43e071 commit f458195

File tree

1 file changed

+4
-2
lines changed
  • google-cloud-spanner/src/main/java/com/google/cloud/spanner/spi/v1

1 file changed

+4
-2
lines changed

google-cloud-spanner/src/main/java/com/google/cloud/spanner/spi/v1/SpannerRpc.java

+4-2
Original file line numberDiff line numberDiff line change
@@ -340,13 +340,15 @@ Session createSession(
340340
@Nullable Map<Option, ?> options)
341341
throws SpannerException;
342342

343-
Session createSession(
343+
default Session createSession(
344344
String databaseName,
345345
@Nullable String databaseRole,
346346
@Nullable Map<String, String> labels,
347347
@Nullable Map<Option, ?> options,
348348
boolean isMultiplexed)
349-
throws SpannerException;
349+
throws SpannerException {
350+
throw new UnsupportedOperationException("Unimplemented");
351+
}
350352

351353
void deleteSession(String sessionName, @Nullable Map<Option, ?> options) throws SpannerException;
352354

0 commit comments

Comments
 (0)