Class GoogleSheetsStoragePluginConfig
java.lang.Object
org.apache.drill.common.logical.StoragePluginConfig
org.apache.drill.exec.store.googlesheets.GoogleSheetsStoragePluginConfig
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classNested classes/interfaces inherited from class org.apache.drill.common.logical.StoragePluginConfig
StoragePluginConfig.AuthMode -
Field Summary
FieldsFields inherited from class org.apache.drill.common.logical.StoragePluginConfig
authMode, credentialsProvider, directCredentials, enabled -
Constructor Summary
ConstructorsConstructorDescriptionGoogleSheetsStoragePluginConfig(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()booleancom.google.api.client.googleapis.auth.oauth2.GoogleClientSecretsinthashCode()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:
equalsin classStoragePluginConfig
-
hashCode
public int hashCode()- Specified by:
hashCodein classStoragePluginConfig
-
toString
-
updateCredentialProvider
- Overrides:
updateCredentialProviderin classStoragePluginConfig
-