public class ConnectionOptions
Static Fields
AUTOCOMMIT_PROPERTY_NAME
public static final String AUTOCOMMIT_PROPERTY_NAME
Field Value
CHANNEL_PROVIDER_PROPERTY_NAME
public static final String CHANNEL_PROVIDER_PROPERTY_NAME
Field Value
CREDENTIALS_PROPERTY_NAME
public static final String CREDENTIALS_PROPERTY_NAME
Field Value
CREDENTIALS_PROVIDER_PROPERTY_NAME
public static final String CREDENTIALS_PROVIDER_PROPERTY_NAME
Field Value
DATABASE_ROLE_PROPERTY_NAME
public static final String DATABASE_ROLE_PROPERTY_NAME
Field Value
ENCODED_CREDENTIALS_PROPERTY_NAME
public static final String ENCODED_CREDENTIALS_PROPERTY_NAME
Field Value
LENIENT_PROPERTY_NAME
public static final String LENIENT_PROPERTY_NAME
Field Value
MAX_SESSIONS_PROPERTY_NAME
public static final String MAX_SESSIONS_PROPERTY_NAME
Field Value
MIN_SESSIONS_PROPERTY_NAME
public static final String MIN_SESSIONS_PROPERTY_NAME
Field Value
NUM_CHANNELS_PROPERTY_NAME
public static final String NUM_CHANNELS_PROPERTY_NAME
Field Value
OAUTH_TOKEN_PROPERTY_NAME
public static final String OAUTH_TOKEN_PROPERTY_NAME
Field Value
READONLY_PROPERTY_NAME
public static final String READONLY_PROPERTY_NAME
Field Value
RETRY_ABORTS_INTERNALLY_PROPERTY_NAME
public static final String RETRY_ABORTS_INTERNALLY_PROPERTY_NAME
Field Value
RPC_PRIORITY_NAME
public static final String RPC_PRIORITY_NAME
Field Value
VALID_PROPERTIES
public static final Set<ConnectionOptions.ConnectionProperty> VALID_PROPERTIES
Field Value
Static Methods
closeSpanner()
public static void closeSpanner()
getDefaultProjectId(Credentials arg0)
public static String getDefaultProjectId(Credentials arg0)
Parameter
Name | Description |
arg0 | com.google.auth.Credentials
|
Returns
newBuilder()
public static ConnectionOptions.Builder newBuilder()
Returns
Methods
getChannelProvider()
public TransportChannelProvider getChannelProvider()
Returns
getConnection()
public Connection getConnection()
Returns
getCredentials()
public Credentials getCredentials()
Returns
Type | Description |
com.google.auth.Credentials | |
getCredentialsUrl()
public String getCredentialsUrl()
Returns
getDatabaseId()
public DatabaseId getDatabaseId()
Returns
Type | Description |
com.google.cloud.spanner.DatabaseId | |
getDatabaseName()
public String getDatabaseName()
Returns
getDatabaseRole()
public String getDatabaseRole()
Returns
getHost()
Returns
getInstanceId()
public String getInstanceId()
Returns
getMaxSessions()
public Integer getMaxSessions()
Returns
getMinSessions()
public Integer getMinSessions()
Returns
getNumChannels()
public Integer getNumChannels()
Returns
getProjectId()
public String getProjectId()
Returns
getSessionPoolOptions()
public SessionPoolOptions getSessionPoolOptions()
Returns
Type | Description |
com.google.cloud.spanner.SessionPoolOptions | |
getUri()
Returns
getWarnings()
public String getWarnings()
Returns
isAutoConfigEmulator()
public boolean isAutoConfigEmulator()
Returns
isAutocommit()
public boolean isAutocommit()
Returns
isReadOnly()
public boolean isReadOnly()
Returns
isRetryAbortsInternally()
public boolean isRetryAbortsInternally()
Returns
isReturnCommitStats()
public boolean isReturnCommitStats()
Returns
toString()
Returns
Overrides