Send feedback
Class AsyncRewriter (2.26.0-rc)
Stay organized with collections
Save and categorize content based on your preferences.
Version latest keyboard_arrow_down
Perform object rewrites asynchronously.
Object rewrites allow applications to copy objects within Google Cloud Storage without having to download the data. In many cases the copy is a pure metadata operation, see Object: rewrite for mode information.
Constructors
AsyncRewriter(AsyncRewriter &&)
Parameter
Name
Description
AsyncRewriter &&
AsyncRewriter(AsyncRewriter const &)
Parameter
Name
Description
AsyncRewriter const &
AsyncRewriter()
AsyncRewriter(std::shared_ptr< AsyncRewriterConnection >)
Parameter
Name
Description
impl
std::shared_ptr< AsyncRewriterConnection >
Operators
operator=(AsyncRewriter &&)
Parameter
Name
Description
AsyncRewriter &&
Returns
Type
Description
AsyncRewriter &
operator=(AsyncRewriter const &)
Parameter
Name
Description
AsyncRewriter const &
Returns
Type
Description
AsyncRewriter &
Functions
Iterate(AsyncToken)
Run one more iteration of the rewrite process.
Applications may checkpoint the rewrite token and use it to resume rewrites after restarting.
Note:
Calling this function on a default-constructed or moved-from AsyncRewriter
results in undefined behavior.
Parameter
Name
Description
token
AsyncToken
Returns
Type
Description
future< StatusOr< std::pair< google::storage::v2::RewriteResponse, AsyncToken > > >
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-06-18 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
Need to tell us more?