@InterfaceAudience.Public public class QuotaRetriever extends Object implements Closeable, Iterable<QuotaSettings>
| Constructor and Description |
|---|
QuotaRetriever(Connection conn) |
QuotaRetriever(Connection conn,
QuotaFilter filter) |
QuotaRetriever(Connection conn,
Scan scan) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
Iterator<QuotaSettings> |
iterator() |
QuotaSettings |
next() |
static QuotaRetriever |
open(org.apache.hadoop.conf.Configuration conf)
Deprecated.
Since 3.0.0, will be removed in 4.0.0. Use
QuotaRetriever(Configuration, Scan) instead. |
static QuotaRetriever |
open(org.apache.hadoop.conf.Configuration conf,
QuotaFilter filter)
Deprecated.
Since 3.0.0, will be removed in 4.0.0. Use
QuotaRetriever(Configuration, Scan) instead. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic QuotaRetriever(Connection conn) throws IOException
IOExceptionpublic QuotaRetriever(Connection conn, QuotaFilter filter) throws IOException
IOExceptionpublic QuotaRetriever(Connection conn, Scan scan) throws IOException
IOExceptionpublic void close() throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionpublic QuotaSettings next() throws IOException
IOExceptionpublic Iterator<QuotaSettings> iterator()
iterator in interface Iterable<QuotaSettings>@Deprecated public static QuotaRetriever open(org.apache.hadoop.conf.Configuration conf) throws IOException
QuotaRetriever(Configuration, Scan) instead.conf - Configuration object to use.IOException - if a remote or network exception occurs@Deprecated public static QuotaRetriever open(org.apache.hadoop.conf.Configuration conf, QuotaFilter filter) throws IOException
QuotaRetriever(Configuration, Scan) instead.conf - Configuration object to use.filter - the QuotaFilterIOException - if a remote or network exception occursCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.