static class QuotaSettingsFactory.QuotaGlobalsSettingsBypass extends QuotaSettings
Modifier and Type | Field and Description |
---|---|
private boolean |
bypassGlobals |
Constructor and Description |
---|
QuotaGlobalsSettingsBypass(String userName,
TableName tableName,
String namespace,
boolean bypassGlobals) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
getBypass() |
QuotaType |
getQuotaType() |
protected QuotaSettingsFactory.QuotaGlobalsSettingsBypass |
merge(QuotaSettings newSettings)
Merges the provided settings with
this and returns a new settings
object to the caller if the merged settings differ from the original. |
protected void |
setupSetQuotaRequest(org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProtos.SetQuotaRequest.Builder builder)
Called by toSetQuotaRequestProto()
the subclass should implement this method to set the specific SetQuotaRequest
properties.
|
String |
toString() |
buildFromProto, buildSetQuotaRequestProto, getNamespace, getTableName, getUserName, ownerToString, sizeToString, timeToString, validateQuotaTarget
private final boolean bypassGlobals
QuotaGlobalsSettingsBypass(String userName, TableName tableName, String namespace, boolean bypassGlobals)
public QuotaType getQuotaType()
getQuotaType
in class QuotaSettings
protected void setupSetQuotaRequest(org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProtos.SetQuotaRequest.Builder builder)
QuotaSettings
setupSetQuotaRequest
in class QuotaSettings
protected boolean getBypass()
protected QuotaSettingsFactory.QuotaGlobalsSettingsBypass merge(QuotaSettings newSettings) throws IOException
QuotaSettings
this
and returns a new settings
object to the caller if the merged settings differ from the original.merge
in class QuotaSettings
newSettings
- The new settings to merge in.QuotaSettings
object or null if the quota should be deleted.IOException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.