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

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

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

Table.setRetentionIsSet介绍

暂无

代码示例

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

public void setRetention(int retention) {
 this.retention = retention;
 setRetentionIsSet(true);
}

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

setLastAccessTimeIsSet(false);
this.lastAccessTime = 0;
setRetentionIsSet(false);
this.retention = 0;
this.sd = null;

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

if (schemeField.type == org.apache.thrift.protocol.TType.I32) {
 struct.retention = iprot.readI32();
 struct.setRetentionIsSet(true);
} else { 
 org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);

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

struct.setRetentionIsSet(true);

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

/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
 ID((short)1, "id"),
 TABLE_NAME((short)2, "tableName"),
 DB_NAME((short)3, "dbName"),
 OWNER((short)4, "owner"),
 CREATE_TIME((short)5, "createTime"),
 LAST_ACCESS_TIME((short)6, "lastAccessTime"),
 RETENTION((short)7, "retention"),
 SD((short)8, "sd"),
 PARTITION_KEYS((short)9, "partitionKeys"),
 PARAMETERS((short)10, "parameters"),
 VIEW_ORIGINAL_TEXT((short)11, "viewOriginalText"),
 VIEW_EXPANDED_TEXT((short)12, "viewExpandedText"),
 TABLE_TYPE((short)13, "tableType"),
 PRIVILEGES((short)14, "privileges"),
 TEMPORARY((short)15, "temporary"),
 REWRITE_ENABLED((short)16, "rewriteEnabled"),
 CREATION_METADATA((short)17, "creationMetadata"),
 CAT_NAME((short)18, "catName"),
 /**
  * 
  * @see PrincipalType
  */
 OWNER_TYPE((short)19, "ownerType"),
 WRITE_ID((short)20, "writeId"),
 IS_STATS_COMPLIANT((short)21, "isStatsCompliant"),
 COL_STATS((short)22, "colStats");
 private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();

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

public void setRetention(int retention) {
 this.retention = retention;
 setRetentionIsSet(true);
}

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

public void setRetention(int retention) {
 this.retention = retention;
 setRetentionIsSet(true);
}

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

public void setRetention(int retention) {
 this.retention = retention;
 setRetentionIsSet(true);
}

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

public void setRetention(int retention) {
 this.retention = retention;
 setRetentionIsSet(true);
}

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

@Override
public void clear() {
 this.tableName = null;
 this.dbName = null;
 this.owner = null;
 setCreateTimeIsSet(false);
 this.createTime = 0;
 setLastAccessTimeIsSet(false);
 this.lastAccessTime = 0;
 setRetentionIsSet(false);
 this.retention = 0;
 this.sd = null;
 this.partitionKeys = null;
 this.parameters = null;
 this.viewOriginalText = null;
 this.viewExpandedText = null;
 this.tableType = null;
 this.privileges = null;
 this.temporary = false;
}

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

@Override
public void clear() {
 this.tableName = null;
 this.dbName = null;
 this.owner = null;
 setCreateTimeIsSet(false);
 this.createTime = 0;
 setLastAccessTimeIsSet(false);
 this.lastAccessTime = 0;
 setRetentionIsSet(false);
 this.retention = 0;
 this.sd = null;
 this.partitionKeys = null;
 this.parameters = null;
 this.viewOriginalText = null;
 this.viewExpandedText = null;
 this.tableType = null;
 this.privileges = null;
}

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

@Override
public void clear() {
 this.tableName = null;
 this.dbName = null;
 this.owner = null;
 setCreateTimeIsSet(false);
 this.createTime = 0;
 setLastAccessTimeIsSet(false);
 this.lastAccessTime = 0;
 setRetentionIsSet(false);
 this.retention = 0;
 this.sd = null;
 this.partitionKeys = null;
 this.parameters = null;
 this.viewOriginalText = null;
 this.viewExpandedText = null;
 this.tableType = null;
 this.privileges = null;
 this.temporary = false;
}

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

setLastAccessTimeIsSet(true);
this.retention = retention;
setRetentionIsSet(true);
this.sd = sd;
this.partitionKeys = partitionKeys;

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

setLastAccessTimeIsSet(true);
this.retention = retention;
setRetentionIsSet(true);
this.sd = sd;
this.partitionKeys = partitionKeys;

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

setLastAccessTimeIsSet(true);
this.retention = retention;
setRetentionIsSet(true);
this.sd = sd;
this.partitionKeys = partitionKeys;

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

setLastAccessTimeIsSet(true);
this.retention = retention;
setRetentionIsSet(true);
this.sd = sd;
this.partitionKeys = partitionKeys;

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

@Override
public void clear() {
 this.tableName = null;
 this.dbName = null;
 this.owner = null;
 setCreateTimeIsSet(false);
 this.createTime = 0;
 setLastAccessTimeIsSet(false);
 this.lastAccessTime = 0;
 setRetentionIsSet(false);
 this.retention = 0;
 this.sd = null;
 this.partitionKeys = null;
 this.parameters = null;
 this.viewOriginalText = null;
 this.viewExpandedText = null;
 this.tableType = null;
 this.privileges = null;
 this.temporary = false;
 setRewriteEnabledIsSet(false);
 this.rewriteEnabled = false;
 this.creationMetadata = null;
 this.catName = null;
 this.ownerType = org.apache.hadoop.hive.metastore.api.PrincipalType.USER;
}

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

struct.setRetentionIsSet(true);

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

struct.setRetentionIsSet(true);

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

struct.setRetentionIsSet(true);

相关文章

Table类方法