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

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

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

Table.hashCode介绍

暂无

代码示例

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

@Override
public int hashCode() {
 final int prime = 31;
 int result = 1;
 result = prime * result + ((tTable == null) ? 0 : tTable.hashCode());
 return result;
}

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

@Override
public int hashCode() {
 final int prime = 31;
 int result = 1;
 result = prime * result + ((tTable == null) ? 0 : tTable.hashCode());
 return result;
}

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

@Override
public int hashCode() {
 return (alias != null ? alias.hashCode() : 7)
  + (table != null ? table.hashCode() : 11);
}

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

@Override
public int hashCode() {
 return (alias != null ? alias.hashCode() : 7)
  + (table != null ? table.hashCode() : 11);
}

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

@Override
public int hashCode() {
 int result = databaseName != null ? databaseName.hashCode() : 0;
 result = 31 * result + (tableName != null ? tableName.hashCode() : 0);
 result = 31 * result + (dataColumns != null ? dataColumns.hashCode() : 0);
 result = 31 * result + (partitionColumns != null ? partitionColumns.hashCode() : 0);
 result = 31 * result + (table != null ? table.hashCode() : 0);
 result = 31 * result + (storerInfo != null ? storerInfo.hashCode() : 0);
 return result;
}

代码示例来源:origin: com.facebook.presto.hive/hive-apache

@Override
public int hashCode() {
 final int prime = 31;
 int result = 1;
 result = prime * result + ((tTable == null) ? 0 : tTable.hashCode());
 return result;
}

代码示例来源:origin: org.apache.hive.hcatalog/hive-hcatalog-core

@Override
public int hashCode() {
 int result = databaseName != null ? databaseName.hashCode() : 0;
 result = 31 * result + (tableName != null ? tableName.hashCode() : 0);
 result = 31 * result + (dataColumns != null ? dataColumns.hashCode() : 0);
 result = 31 * result + (partitionColumns != null ? partitionColumns.hashCode() : 0);
 result = 31 * result + (table != null ? table.hashCode() : 0);
 result = 31 * result + (storerInfo != null ? storerInfo.hashCode() : 0);
 return result;
}

代码示例来源:origin: com.facebook.presto.hive/hive-apache

@Override
public int hashCode() {
 int result = databaseName != null ? databaseName.hashCode() : 0;
 result = 31 * result + (tableName != null ? tableName.hashCode() : 0);
 result = 31 * result + (dataColumns != null ? dataColumns.hashCode() : 0);
 result = 31 * result + (partitionColumns != null ? partitionColumns.hashCode() : 0);
 result = 31 * result + (table != null ? table.hashCode() : 0);
 result = 31 * result + (storerInfo != null ? storerInfo.hashCode() : 0);
 return result;
}

代码示例来源:origin: com.github.hyukjinkwon.hcatalog/hive-hcatalog-core

@Override
public int hashCode() {
 int result = databaseName != null ? databaseName.hashCode() : 0;
 result = 31 * result + (tableName != null ? tableName.hashCode() : 0);
 result = 31 * result + (dataColumns != null ? dataColumns.hashCode() : 0);
 result = 31 * result + (partitionColumns != null ? partitionColumns.hashCode() : 0);
 result = 31 * result + (table != null ? table.hashCode() : 0);
 result = 31 * result + (storerInfo != null ? storerInfo.hashCode() : 0);
 return result;
}

代码示例来源:origin: org.spark-project.hive.hcatalog/hive-hcatalog-core

@Override
public int hashCode() {
 int result = databaseName != null ? databaseName.hashCode() : 0;
 result = 31 * result + (tableName != null ? tableName.hashCode() : 0);
 result = 31 * result + (dataColumns != null ? dataColumns.hashCode() : 0);
 result = 31 * result + (partitionColumns != null ? partitionColumns.hashCode() : 0);
 result = 31 * result + (table != null ? table.hashCode() : 0);
 result = 31 * result + (storerInfo != null ? storerInfo.hashCode() : 0);
 return result;
}

相关文章

Table类方法