本文整理了Java中org.apache.hadoop.hive.metastore.api.Table.setLastAccessTimeIsSet()
方法的一些代码示例,展示了Table.setLastAccessTimeIsSet()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Table.setLastAccessTimeIsSet()
方法的具体详情如下:
包路径:org.apache.hadoop.hive.metastore.api.Table
类名称:Table
方法名:setLastAccessTimeIsSet
暂无
代码示例来源:origin: apache/hive
public void setLastAccessTime(int lastAccessTime) {
this.lastAccessTime = lastAccessTime;
setLastAccessTimeIsSet(true);
}
代码示例来源:origin: apache/hive
setCreateTimeIsSet(false);
this.createTime = 0;
setLastAccessTimeIsSet(false);
this.lastAccessTime = 0;
setRetentionIsSet(false);
代码示例来源:origin: apache/hive
if (schemeField.type == org.apache.thrift.protocol.TType.I32) {
struct.lastAccessTime = iprot.readI32();
struct.setLastAccessTimeIsSet(true);
} else {
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
代码示例来源:origin: apache/hive
newTable.setLastAccessTimeIsSet(false);
try {
代码示例来源:origin: apache/hive
struct.setLastAccessTimeIsSet(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: apache/hive
newTable.setLastAccessTimeIsSet(false);
代码示例来源:origin: com.facebook.presto.hive/hive-apache
public void setLastAccessTime(int lastAccessTime) {
this.lastAccessTime = lastAccessTime;
setLastAccessTimeIsSet(true);
}
代码示例来源:origin: org.apache.hadoop.hive/hive-metastore
public void setLastAccessTime(int lastAccessTime) {
this.lastAccessTime = lastAccessTime;
setLastAccessTimeIsSet(true);
}
代码示例来源:origin: org.apache.hive/hive-standalone-metastore
public void setLastAccessTime(int lastAccessTime) {
this.lastAccessTime = lastAccessTime;
setLastAccessTimeIsSet(true);
}
代码示例来源:origin: org.spark-project.hive/hive-metastore
public void setLastAccessTime(int lastAccessTime) {
this.lastAccessTime = lastAccessTime;
setLastAccessTimeIsSet(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
setCreateTimeIsSet(true);
this.lastAccessTime = lastAccessTime;
setLastAccessTimeIsSet(true);
this.retention = retention;
setRetentionIsSet(true);
代码示例来源:origin: com.facebook.presto.hive/hive-apache
setCreateTimeIsSet(true);
this.lastAccessTime = lastAccessTime;
setLastAccessTimeIsSet(true);
this.retention = retention;
setRetentionIsSet(true);
代码示例来源:origin: org.apache.hadoop.hive/hive-metastore
setCreateTimeIsSet(true);
this.lastAccessTime = lastAccessTime;
setLastAccessTimeIsSet(true);
this.retention = retention;
setRetentionIsSet(true);
代码示例来源:origin: org.spark-project.hive/hive-metastore
setCreateTimeIsSet(true);
this.lastAccessTime = lastAccessTime;
setLastAccessTimeIsSet(true);
this.retention = retention;
setRetentionIsSet(true);
代码示例来源: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: org.apache.hive.hcatalog/hive-webhcat-java-client
newTable.setLastAccessTimeIsSet(false);
内容来源于网络,如有侵权,请联系作者删除!