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

x33g5p2x  于2022-01-26 转载在 其他  
字(5.0k)|赞(0)|评价(0)|浏览(97)

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

Partition.isSetSd介绍

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

代码示例

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

list.add(lastAccessTime);
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

optionals.set(4);
if (struct.isSetSd()) {
 optionals.set(5);
 oprot.writeI32(struct.lastAccessTime);
if (struct.isSetSd()) {
 struct.sd.write(oprot);

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

return isSetLastAccessTime();
case SD:
 return isSetSd();
case PARAMETERS:
 return isSetParameters();

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

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

代码示例来源: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

List<Partition> parts = ms.getPartitionsByNames(DEFAULT_CATALOG_NAME, dbName, tblName, nameBatch);
for (Partition part : parts) {
 if (!part.isSetSd() || !part.getSd().isSetLocation()) {
  throw new MetaException("Partition does not have storage location;" +
    " this operation is not supported on views");

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

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

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

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

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

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

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

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

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

/** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
public boolean isSet(_Fields field) {
 if (field == null) {
  throw new IllegalArgumentException();
 }
 switch (field) {
 case VALUES:
  return isSetValues();
 case DB_NAME:
  return isSetDbName();
 case TABLE_NAME:
  return isSetTableName();
 case CREATE_TIME:
  return isSetCreateTime();
 case LAST_ACCESS_TIME:
  return isSetLastAccessTime();
 case SD:
  return isSetSd();
 case PARAMETERS:
  return isSetParameters();
 case PRIVILEGES:
  return isSetPrivileges();
 }
 throw new IllegalStateException();
}

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

/** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
public boolean isSet(_Fields field) {
 if (field == null) {
  throw new IllegalArgumentException();
 }
 switch (field) {
 case VALUES:
  return isSetValues();
 case DB_NAME:
  return isSetDbName();
 case TABLE_NAME:
  return isSetTableName();
 case CREATE_TIME:
  return isSetCreateTime();
 case LAST_ACCESS_TIME:
  return isSetLastAccessTime();
 case SD:
  return isSetSd();
 case PARAMETERS:
  return isSetParameters();
 case PRIVILEGES:
  return isSetPrivileges();
 }
 throw new IllegalStateException();
}

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

/** Returns true if field corresponding to fieldID is set (has been asigned a value) and false otherwise */
public boolean isSet(_Fields field) {
 if (field == null) {
  throw new IllegalArgumentException();
 }
 switch (field) {
 case VALUES:
  return isSetValues();
 case DB_NAME:
  return isSetDbName();
 case TABLE_NAME:
  return isSetTableName();
 case CREATE_TIME:
  return isSetCreateTime();
 case LAST_ACCESS_TIME:
  return isSetLastAccessTime();
 case SD:
  return isSetSd();
 case PARAMETERS:
  return isSetParameters();
 case PRIVILEGES:
  return isSetPrivileges();
 }
 throw new IllegalStateException();
}

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

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: org.spark-project.hive/hive-metastore

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: org.spark-project.hive/hive-metastore

optionals.set(4);
if (struct.isSetSd()) {
 optionals.set(5);
 oprot.writeI32(struct.lastAccessTime);
if (struct.isSetSd()) {
 struct.sd.write(oprot);

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

optionals.set(4);
if (struct.isSetSd()) {
 optionals.set(5);
 oprot.writeI32(struct.lastAccessTime);
if (struct.isSetSd()) {
 struct.sd.write(oprot);

代码示例来源:origin: apache/incubator-sentry

if (mapiPart.isSetSd()) {
 partitionLocation = mapiPart.getSd().getLocation();

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

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

相关文章

微信公众号

最新文章

更多

Partition类方法