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

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

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

Table.isSetSd介绍

[英]Returns true if field sd is set (has been assigned a value) and false otherwise
[中]如果设置了字段sd(已赋值),则返回true,否则返回false

代码示例

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

list.add(retention);
boolean present_sd = true && (isSetSd());
list.add(present_sd);
if (present_sd)

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

lastComparison = Boolean.valueOf(isSetSd()).compareTo(other.isSetSd());
if (lastComparison != 0) {
 return lastComparison;
if (isSetSd()) {
 lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.sd, other.sd);
 if (lastComparison != 0) {

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

this.lastAccessTime = other.lastAccessTime;
this.retention = other.retention;
if (other.isSetSd()) {
 this.sd = new StorageDescriptor(other.sd);

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

optionals.set(6);
if (struct.isSetSd()) {
 optionals.set(7);
 oprot.writeI32(struct.retention);
if (struct.isSetSd()) {
 struct.sd.write(oprot);

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

boolean this_present_sd = true && this.isSetSd();
boolean that_present_sd = true && that.isSetSd();
if (this_present_sd || that_present_sd) {
 if (!(this_present_sd && that_present_sd))

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

String tableInputFormat = tbl.isSetSd() ? tbl.getSd().getInputFormat() : null;
if (!isPartitioned) {
 if (partName != null || isAllPart) {
  throw new MetaException("Table is not partitioned");
 if (!tbl.isSetSd() || !tbl.getSd().isSetLocation()) {
  throw new MetaException(
    "Table does not have storage location; this operation is not supported on views");

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

return isSetRetention();
case SD:
 return isSetSd();
case PARTITION_KEYS:
 return isSetPartitionKeys();

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

builder.append(retention);
boolean present_sd = true && (isSetSd());
builder.append(present_sd);
if (present_sd)

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

list.add(retention);
boolean present_sd = true && (isSetSd());
list.add(present_sd);
if (present_sd)

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

this.lastAccessTime = other.lastAccessTime;
this.retention = other.retention;
if (other.isSetSd()) {
 this.sd = new StorageDescriptor(other.sd);

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

this.lastAccessTime = other.lastAccessTime;
this.retention = other.retention;
if (other.isSetSd()) {
 this.sd = new StorageDescriptor(other.sd);

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

this.lastAccessTime = other.lastAccessTime;
this.retention = other.retention;
if (other.isSetSd()) {
 this.sd = new StorageDescriptor(other.sd);

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

optionals.set(5);
if (struct.isSetSd()) {
 optionals.set(6);
 oprot.writeI32(struct.retention);
if (struct.isSetSd()) {
 struct.sd.write(oprot);

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

return isSetRetention();
case SD:
 return isSetSd();
case PARTITION_KEYS:
 return isSetPartitionKeys();

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

this.lastAccessTime = other.lastAccessTime;
this.retention = other.retention;
if (other.isSetSd()) {
 this.sd = new StorageDescriptor(other.sd);

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

return isSetRetention();
case SD:
 return isSetSd();
case PARTITION_KEYS:
 return isSetPartitionKeys();

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

return isSetRetention();
case SD:
 return isSetSd();
case PARTITION_KEYS:
 return isSetPartitionKeys();

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

return isSetRetention();
case SD:
 return isSetSd();
case PARTITION_KEYS:
 return isSetPartitionKeys();

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

String tableInputFormat = tbl.isSetSd() ? tbl.getSd().getInputFormat() : null;
if (!isPartitioned) {
 if (partName != null || isAllPart) {
  throw new MetaException("Table is not partitioned");
 if (!tbl.isSetSd() || !tbl.getSd().isSetLocation()) {
  throw new MetaException(
    "Table does not have storage location; this operation is not supported on views");

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

builder.append(retention);
boolean present_sd = true && (isSetSd());
builder.append(present_sd);
if (present_sd)

相关文章

Table类方法