本文整理了Java中org.apache.hadoop.hive.ql.metadata.Hive.getIndexes()
方法的一些代码示例,展示了Hive.getIndexes()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Hive.getIndexes()
方法的具体详情如下:
包路径:org.apache.hadoop.hive.ql.metadata.Hive
类名称:Hive
方法名:getIndexes
暂无
代码示例来源:origin: apache/drill
/**
* @return List containing Indexes names if there are indexes on this table
* @throws HiveException
**/
public static List<Index> getAllIndexes(Table table, short max) throws HiveException {
Hive hive = Hive.get();
return hive.getIndexes(table.getTTable().getDbName(), table.getTTable().getTableName(), max);
}
代码示例来源:origin: apache/drill
indexes = db.getIndexes(tbl.getDbName(), tbl.getTableName(), (short) -1);
代码示例来源:origin: apache/drill
HiveConf.ConfVars.HIVE_CONCATENATE_CHECK_INDEX);
if (checkIndex) {
List<Index> indexes = db.getIndexes(tblObj.getDbName(), tblObj.getTableName(),
Short.MAX_VALUE);
if (indexes != null && indexes.size() > 0) {
代码示例来源:origin: apache/drill
List<Index> indexes = db.getIndexes(table.getDbName(), tableName, (short)1);
if (indexes != null && indexes.size() > 0) {
throw new SemanticException(ErrorMsg.TRUNCATE_COLUMN_INDEXED_TABLE.getMsg());
代码示例来源:origin: com.facebook.presto.hive/hive-apache
/**
* @return List containing Indexes names if there are indexes on this table
* @throws HiveException
**/
public static List<Index> getAllIndexes(Table table, short max) throws HiveException {
Hive hive = Hive.get();
return hive.getIndexes(table.getTTable().getDbName(), table.getTTable().getTableName(), max);
}
代码示例来源:origin: org.apache.hadoop.hive/hive-exec
indexes = db.getIndexes(tbl.getDbName(), tbl.getTableName(), (short) -1);
代码示例来源:origin: com.facebook.presto.hive/hive-apache
indexes = db.getIndexes(tbl.getDbName(), tbl.getTableName(), (short) -1);
代码示例来源:origin: com.facebook.presto.hive/hive-apache
HiveConf.ConfVars.HIVE_CONCATENATE_CHECK_INDEX);
if (checkIndex) {
List<Index> indexes = db.getIndexes(tblObj.getDbName(), tblObj.getTableName(),
Short.MAX_VALUE);
if (indexes != null && indexes.size() > 0) {
代码示例来源:origin: com.facebook.presto.hive/hive-apache
List<Index> indexes = db.getIndexes(table.getDbName(), tableName, (short)1);
if (indexes != null && indexes.size() > 0) {
throw new SemanticException(ErrorMsg.TRUNCATE_COLUMN_INDEXED_TABLE.getMsg());
内容来源于网络,如有侵权,请联系作者删除!