public class LoadMetadataContext extends OperationContext<LoadMetadataPOptions.Builder,LoadMetadataContext>
LoadMetadataPOptions
.Modifier and Type | Method and Description |
---|---|
static LoadMetadataContext |
create(LoadMetadataPOptions.Builder optionsBuilder) |
static LoadMetadataContext |
defaults() |
UfsStatus |
getUfsStatus() |
static LoadMetadataContext |
mergeFrom(LoadMetadataPOptions.Builder optionsBuilder)
Merges and embeds the given
LoadMetadataPOptions with the corresponding master options. |
LoadMetadataContext |
setUfsStatus(UfsStatus ufsStatus)
Sets
UfsStatus for the directory. |
String |
toString() |
getCancelledTrackers, getOptions, withTracker
public static LoadMetadataContext create(LoadMetadataPOptions.Builder optionsBuilder)
optionsBuilder
- Builder for proto LoadMetadataPOptions
LoadMetadataContext
with the given optionspublic static LoadMetadataContext mergeFrom(LoadMetadataPOptions.Builder optionsBuilder)
LoadMetadataPOptions
with the corresponding master options.optionsBuilder
- Builder for proto LoadMetadataPOptions
to embedLoadMetadataContext
with default values for masterpublic static LoadMetadataContext defaults()
LoadMetadataContext
with default values for masterpublic LoadMetadataContext setUfsStatus(UfsStatus ufsStatus)
UfsStatus
for the directory.ufsStatus
- Ufs status to setCopyright © 2023. All Rights Reserved.