|
67 | 67 | * The property-value strings should be url-encoded. |
68 | 68 | * |
69 | 69 | * <p>The project-id part of the URI may be filled with the placeholder DEFAULT_PROJECT_ID. This |
70 | | - * placeholder will be replaced by the default project id of the environment that is requesting a |
| 70 | + * placeholder is replaced by the default project id of the environment that is requesting a |
71 | 71 | * connection. |
72 | 72 | * |
73 | 73 | * <p>The supported properties are: |
74 | 74 | * |
75 | 75 | * <ul> |
76 | 76 | * <li>credentials (String): URL for the credentials file to use for the connection. If you do not |
77 | 77 | * specify any credentials at all, the default credentials of the environment as returned by |
78 | | - * {@link GoogleCredentials#getApplicationDefault()} will be used. |
| 78 | + * {@link GoogleCredentials#getApplicationDefault()} is used. |
79 | 79 | * <li>oauthtoken (String): A valid OAuth2 token to use for the JDBC connection. The token must |
80 | 80 | * have been obtained with one or both of the scopes |
81 | 81 | * 'https://www.googleapis.com/auth/spanner.admin' and/or |
|
89 | 89 | * com.google.cloud.spanner.jdbc.CloudSpannerJdbcConnection#setRetryAbortsInternally(boolean)} |
90 | 90 | * for more information. |
91 | 91 | * <li>numChannels (int): Sets the number of gRPC channels to use. Defaults to 4. |
92 | | - * <li>usePlainText (boolean): Sets whether the JDBC connection should establish an unencrypted connection to the server. This option can only be used when connecting to a local emulator that does not require an encrypted connection, and that does not require authentication. |
93 | | - * <li>optimizerVersion (string): The query optimizer version to use for the connection. The value must be either a valid version number or <code>LATEST</code>. If no value is specified, the query optimizer version specified in the environment variable <code>SPANNER_OPTIMIZER_VERSION<code> will be used. If no query optimizer version is specified in the connection URL or in the environment variable, the default query optimizer version of Cloud Spanner will be used. |
| 92 | + * <li>usePlainText (boolean): Sets whether the JDBC connection should establish an unencrypted |
| 93 | + * connection to the server. This option can only be used when connecting to a local emulator |
| 94 | + * that does not require an encrypted connection, and that does not require authentication. |
| 95 | + * <li>optimizerVersion (string): The query optimizer version to use for the connection. The value |
| 96 | + * must be either a valid version number or <code>LATEST</code>. If no value is specified, the |
| 97 | + * query optimizer version specified in the environment variable <code> |
| 98 | + * SPANNER_OPTIMIZER_VERSION</code> is used. If no query optimizer version is specified in the |
| 99 | + * connection URL or in the environment variable, the default query optimizer version of Cloud |
| 100 | + * Spanner is used. |
94 | 101 | * </ul> |
95 | 102 | */ |
96 | 103 | public class JdbcDriver implements Driver { |
|
0 commit comments