• 如果您觉得本站非常有看点,那么赶紧使用Ctrl+D 收藏吧

Java QuotaRetriever类的典型用法和代码示例

java 1次浏览

本文整理汇总了Java中org.apache.hadoop.hbase.quotas.QuotaRetriever的典型用法代码示例。如果您正苦于以下问题:Java QuotaRetriever类的具体用法?Java QuotaRetriever怎么用?Java QuotaRetriever使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。

QuotaRetriever类属于org.apache.hadoop.hbase.quotas包,在下文中一共展示了QuotaRetriever类的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。

示例1: getQuota

点赞 2

import org.apache.hadoop.hbase.quotas.QuotaRetriever; //导入依赖的package包/类
@Override
public List<QuotaSettings> getQuota(QuotaFilter filter) throws IOException {
  List<QuotaSettings> quotas = new LinkedList<>();
  try (QuotaRetriever retriever = QuotaRetriever.open(conf, filter)) {
    Iterator<QuotaSettings> iterator = retriever.iterator();
    while (iterator.hasNext()) {
      quotas.add(iterator.next());
    }
  }
  return quotas;
}
 

开发者ID:apache,
项目名称:hbase,
代码行数:12,
代码来源:HBaseAdmin.java

示例2: getQuotaRetriever

点赞 2

import org.apache.hadoop.hbase.quotas.QuotaRetriever; //导入依赖的package包/类
@Override
public QuotaRetriever getQuotaRetriever(QuotaFilter filter) throws IOException {
    throw new UnsupportedOperationException("getQuotaRetriever");
}
 

开发者ID:aliyun,
项目名称:aliyun-tablestore-hbase-client,
代码行数:5,
代码来源:TablestoreAdmin.java

示例3: getQuotaRetriever

点赞 2

import org.apache.hadoop.hbase.quotas.QuotaRetriever; //导入依赖的package包/类
@Override
public QuotaRetriever getQuotaRetriever(QuotaFilter qf) throws IOException {
  return wrappedHbaseAdmin.getQuotaRetriever(qf);
}
 

开发者ID:dvimont,
项目名称:ColumnManagerForHBase,
代码行数:5,
代码来源:MAdmin.java

示例4: getQuotaRetriever

点赞 2

import org.apache.hadoop.hbase.quotas.QuotaRetriever; //导入依赖的package包/类
@Override
public QuotaRetriever getQuotaRetriever(final QuotaFilter filter) throws IOException {
  return QuotaRetriever.open(conf, filter);
}
 

开发者ID:apache,
项目名称:hbase,
代码行数:5,
代码来源:HBaseAdmin.java

示例5: getQuotaRetriever

点赞 1

import org.apache.hadoop.hbase.quotas.QuotaRetriever; //导入依赖的package包/类
/**
 * Return a Quota Scanner to list the quotas based on the filter.
 * @param filter the quota settings filter
 * @return the quota scanner
 * @throws IOException if a remote or network exception occurs
 */
@Override
public QuotaRetriever getQuotaRetriever(final QuotaFilter filter) throws IOException {
  return QuotaRetriever.open(conf, filter);
}
 

开发者ID:fengchen8086,
项目名称:ditb,
代码行数:11,
代码来源:HBaseAdmin.java

示例6: getQuotaRetriever

点赞 1

import org.apache.hadoop.hbase.quotas.QuotaRetriever; //导入依赖的package包/类
/**
 * Return a QuotaRetriever to list the quotas based on the filter.
 * @param filter the quota settings filter
 * @return the quota retriever
 * @throws IOException if a remote or network exception occurs
 */
QuotaRetriever getQuotaRetriever(final QuotaFilter filter) throws IOException;
 

开发者ID:fengchen8086,
项目名称:ditb,
代码行数:8,
代码来源:Admin.java

示例7: getQuotaRetriever

点赞 1

import org.apache.hadoop.hbase.quotas.QuotaRetriever; //导入依赖的package包/类
/**
 * Return a QuotaRetriever to list the quotas based on the filter.
 * @param filter the quota settings filter
 * @return the quota retriever
 * @throws IOException if a remote or network exception occurs
 * @deprecated Since 2.0.0. Will be removed in 3.0.0. Use {@link #getQuota(QuotaFilter)}.
 */
@Deprecated
QuotaRetriever getQuotaRetriever(QuotaFilter filter) throws IOException;
 

开发者ID:apache,
项目名称:hbase,
代码行数:10,
代码来源:Admin.java


版权声明:本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系管理员进行删除。
喜欢 (0)