@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, wait
forEach, spliterator
public QuotaRetriever(Connection conn) throws IOException
IOException
public QuotaRetriever(Connection conn, QuotaFilter filter) throws IOException
IOException
public QuotaRetriever(Connection conn, Scan scan) throws IOException
IOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
IOException
public QuotaSettings next() throws IOException
IOException
public 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.