Class GoogleSheetsStoragePluginConfig
java.lang.Object
org.apache.drill.common.logical.StoragePluginConfig
org.apache.drill.exec.store.googlesheets.GoogleSheetsStoragePluginConfig
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Nested classes/interfaces inherited from class org.apache.drill.common.logical.StoragePluginConfig
StoragePluginConfig.AuthMode
-
Field Summary
Fields inherited from class org.apache.drill.common.logical.StoragePluginConfig
authMode, credentialsProvider, directCredentials, enabled
-
Constructor Summary
ConstructorDescriptionGoogleSheetsStoragePluginConfig
(String clientID, String clientSecret, List<String> redirectUris, String authUri, String tokenUri, Boolean allTextMode, Boolean extractHeaders, OAuthConfig oAuthConfig, CredentialsProvider credentialsProvider) GoogleSheetsStoragePluginConfig
(GoogleSheetsStoragePluginConfig that, CredentialsProvider credentialsProvider) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
boolean
com.google.api.client.googleapis.auth.oauth2.GoogleClientSecrets
int
hashCode()
toString()
updateCredentialProvider
(CredentialsProvider credentialsProvider) Methods inherited from class org.apache.drill.common.logical.StoragePluginConfig
getAuthMode, getCredentialsProvider, getValue, isEnabled, isEnabledStatusPresent, oAuthConfig, setEnabled
-
Field Details
-
NAME
- See Also:
-
-
Constructor Details
-
GoogleSheetsStoragePluginConfig
public GoogleSheetsStoragePluginConfig(String clientID, String clientSecret, List<String> redirectUris, String authUri, String tokenUri, Boolean allTextMode, Boolean extractHeaders, OAuthConfig oAuthConfig, CredentialsProvider credentialsProvider) -
GoogleSheetsStoragePluginConfig
public GoogleSheetsStoragePluginConfig(GoogleSheetsStoragePluginConfig that, CredentialsProvider credentialsProvider)
-
-
Method Details
-
builder
-
getOAuthCredentials
-
getClientID
-
getClientSecret
-
allTextMode
-
getExtractHeaders
-
getoAuthConfig
-
getSecrets
public com.google.api.client.googleapis.auth.oauth2.GoogleClientSecrets getSecrets() -
equals
- Specified by:
equals
in classStoragePluginConfig
-
hashCode
public int hashCode()- Specified by:
hashCode
in classStoragePluginConfig
-
toString
-
updateCredentialProvider
- Overrides:
updateCredentialProvider
in classStoragePluginConfig
-