org.apache.hadoop.hive.metastore.api.Table.isRewriteEnabled()方法的使用及代码示例

x33g5p2x  于2022-01-29 转载在 其他  
字(2.2k)|赞(0)|评价(0)|浏览(108)

本文整理了Java中org.apache.hadoop.hive.metastore.api.Table.isRewriteEnabled()方法的一些代码示例,展示了Table.isRewriteEnabled()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Table.isRewriteEnabled()方法的具体详情如下:
包路径:org.apache.hadoop.hive.metastore.api.Table
类名称:Table
方法名:isRewriteEnabled

Table.isRewriteEnabled介绍

暂无

代码示例

代码示例来源:origin: apache/hive

/**
 * @return whether this view can be used for rewriting queries
 */
public boolean isRewriteEnabled() {
 return tTable.isRewriteEnabled();
}

代码示例来源:origin: apache/drill

/**
 * @return whether this view can be used for rewriting queries
 */
public boolean isRewriteEnabled() {
 return tTable.isRewriteEnabled();
}

代码示例来源:origin: apache/hive

.getCreateTime(), tbl.getLastAccessTime(), tbl.getRetention(),
  convertToMFieldSchemas(tbl.getPartitionKeys()), tbl.getParameters(),
  tbl.getViewOriginalText(), tbl.getViewExpandedText(), tbl.isRewriteEnabled(),
  tableType);
return mtable;

代码示例来源:origin: apache/hive

tbl.setRewriteEnabled(tbl.isRewriteEnabled());
if (tbl.getPartitionKeys() == null) {

代码示例来源:origin: apache/hive

return isRewriteEnabled();

代码示例来源:origin: org.apache.hive/hive-standalone-metastore

@Override
public Table getTable(String catName, String dbName, String tblName) throws MetaException {
 catName = normalizeIdentifier(catName);
 dbName = StringUtils.normalizeIdentifier(dbName);
 tblName = StringUtils.normalizeIdentifier(tblName);
 if (!shouldCacheTable(catName, dbName, tblName)) {
  return rawStore.getTable(catName, dbName, tblName);
 }
 Table tbl = sharedCache.getTableFromCache(catName, dbName, tblName);
 if (tbl == null) {
  // This table is not yet loaded in cache
  // If the prewarm thread is working on this table's database,
  // let's move this table to the top of tblNamesBeingPrewarmed stack,
  // so that it gets loaded to the cache faster and is available for subsequent requests
  tblsPendingPrewarm.prioritizeTableForPrewarm(tblName);
  return rawStore.getTable(catName, dbName, tblName);
 }
 if (tbl != null) {
  tbl.unsetPrivileges();
  tbl.setRewriteEnabled(tbl.isRewriteEnabled());
 }
 return tbl;
}

代码示例来源:origin: org.apache.hive/hive-standalone-metastore

.getCreateTime(), tbl.getLastAccessTime(), tbl.getRetention(),
convertToMFieldSchemas(tbl.getPartitionKeys()), tbl.getParameters(),
tbl.getViewOriginalText(), tbl.getViewExpandedText(), tbl.isRewriteEnabled(),
tableType);

代码示例来源:origin: org.apache.hive/hive-standalone-metastore

return isRewriteEnabled();

相关文章

Table类方法