@InterfaceAudience.LimitedPrivate(value="Coprocesssor") @InterfaceStability.Evolving public abstract class GlobalQuotaSettings extends QuotaSettings
QuotaProtos.Quotas
.Modifier | Constructor and Description |
---|---|
protected |
GlobalQuotaSettings(String userName,
TableName tableName,
String namespace) |
Modifier and Type | Method and Description |
---|---|
abstract List<QuotaSettings> |
getQuotaSettings()
Computes a list of QuotaSettings that present the complete quota state of the combination of
this user, table, and/or namespace.
|
QuotaType |
getQuotaType() |
protected void |
setupSetQuotaRequest(MasterProtos.SetQuotaRequest.Builder builder)
Called by toSetQuotaRequestProto()
the subclass should implement this method to set the specific SetQuotaRequest
properties.
|
buildFromProto, buildSetQuotaRequestProto, getNamespace, getTableName, getUserName, ownerToString, sizeToString, timeToString
public abstract List<QuotaSettings> getQuotaSettings()
public QuotaType getQuotaType()
getQuotaType
in class QuotaSettings
protected void setupSetQuotaRequest(MasterProtos.SetQuotaRequest.Builder builder)
QuotaSettings
setupSetQuotaRequest
in class QuotaSettings
Copyright © 2007–2019 Cloudera. All rights reserved.