@InterfaceAudience.Public @InterfaceStability.Evolving public class QuotaFilter extends Object
| Constructor and Description |
|---|
QuotaFilter() |
| Modifier and Type | Method and Description |
|---|---|
QuotaFilter |
addTypeFilter(QuotaType type)
Add a type to the filter list
|
String |
getNamespaceFilter() |
String |
getTableFilter() |
Set<QuotaType> |
getTypeFilters() |
String |
getUserFilter() |
boolean |
isNull() |
QuotaFilter |
setNamespaceFilter(String regex)
Set the namespace filter regex
|
QuotaFilter |
setTableFilter(String regex)
Set the table filter regex
|
QuotaFilter |
setUserFilter(String regex)
Set the user filter regex
|
public QuotaFilter setUserFilter(String regex)
regex - the user filterpublic QuotaFilter setTableFilter(String regex)
regex - the table filterpublic QuotaFilter setNamespaceFilter(String regex)
regex - the namespace filterpublic QuotaFilter addTypeFilter(QuotaType type)
type - the type to filter onpublic boolean isNull()
public Set<QuotaType> getTypeFilters()
public String getNamespaceFilter()
public String getTableFilter()
public String getUserFilter()
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.