Package org.apache.iceberg.gcp
Class GCPProperties
java.lang.Object
org.apache.iceberg.gcp.GCPProperties
- All Implemented Interfaces:
Serializable
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringConfigure the batch size used when deleting multiple files from a given GCS bucketstatic final intMax possible batch size for deletion.static final Stringstatic final Stringstatic final StringControls whether vended credentials should be refreshed or not.static final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final String -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
GCS_PROJECT_ID
- See Also:
-
GCS_CLIENT_LIB_TOKEN
- See Also:
-
GCS_SERVICE_HOST
- See Also:
-
GCS_DECRYPTION_KEY
- See Also:
-
GCS_ENCRYPTION_KEY
- See Also:
-
GCS_USER_PROJECT
- See Also:
-
GCS_CHANNEL_READ_CHUNK_SIZE
- See Also:
-
GCS_CHANNEL_WRITE_CHUNK_SIZE
- See Also:
-
GCS_OAUTH2_TOKEN
- See Also:
-
GCS_OAUTH2_TOKEN_EXPIRES_AT
- See Also:
-
GCS_NO_AUTH
- See Also:
-
GCS_OAUTH2_REFRESH_CREDENTIALS_ENDPOINT
- See Also:
-
GCS_OAUTH2_REFRESH_CREDENTIALS_ENABLED
Controls whether vended credentials should be refreshed or not. Defaults to true.- See Also:
-
GCS_DELETE_BATCH_SIZE
Configure the batch size used when deleting multiple files from a given GCS bucket- See Also:
-
GCS_DELETE_BATCH_SIZE_DEFAULT
public static final int GCS_DELETE_BATCH_SIZE_DEFAULTMax possible batch size for deletion. Currently, a max of 100 keys is advised, so we default to a number below that. https://cloud.google.com/storage/docs/batch- See Also:
-
-
Constructor Details
-
GCPProperties
public GCPProperties() -
GCPProperties
-
-
Method Details
-
channelReadChunkSize
-
channelWriteChunkSize
-
clientLibToken
-
decryptionKey
-
encryptionKey
-
projectId
-
serviceHost
-
userProject
-
oauth2Token
-
noAuth
public boolean noAuth() -
oauth2TokenExpiresAt
-
deleteBatchSize
public int deleteBatchSize() -
oauth2RefreshCredentialsEndpoint
-
oauth2RefreshCredentialsEnabled
public boolean oauth2RefreshCredentialsEnabled() -
properties
-