本文整理了Java中org.apache.hadoop.hive.metastore.api.Function.isSetFunctionName()
方法的一些代码示例,展示了Function.isSetFunctionName()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Function.isSetFunctionName()
方法的具体详情如下:
包路径:org.apache.hadoop.hive.metastore.api.Function
类名称:Function
方法名:isSetFunctionName
[英]Returns true if field functionName is set (has been assigned a value) and false otherwise
[中]如果设置了字段functionName(已赋值),则返回true,否则返回false
代码示例来源:origin: apache/hive
List<Object> list = new ArrayList<Object>();
boolean present_functionName = true && (isSetFunctionName());
list.add(present_functionName);
if (present_functionName)
代码示例来源:origin: apache/hive
lastComparison = Boolean.valueOf(isSetFunctionName()).compareTo(other.isSetFunctionName());
if (lastComparison != 0) {
return lastComparison;
if (isSetFunctionName()) {
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.functionName, other.functionName);
if (lastComparison != 0) {
代码示例来源:origin: apache/hive
if (other.isSetFunctionName()) {
this.functionName = other.functionName;
代码示例来源:origin: apache/hive
/** 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 FUNCTION_NAME:
return isSetFunctionName();
case DB_NAME:
return isSetDbName();
case CLASS_NAME:
return isSetClassName();
case OWNER_NAME:
return isSetOwnerName();
case OWNER_TYPE:
return isSetOwnerType();
case CREATE_TIME:
return isSetCreateTime();
case FUNCTION_TYPE:
return isSetFunctionType();
case RESOURCE_URIS:
return isSetResourceUris();
case CAT_NAME:
return isSetCatName();
}
throw new IllegalStateException();
}
代码示例来源:origin: apache/hive
return false;
boolean this_present_functionName = true && this.isSetFunctionName();
boolean that_present_functionName = true && that.isSetFunctionName();
if (this_present_functionName || that_present_functionName) {
if (!(this_present_functionName && that_present_functionName))
代码示例来源:origin: apache/hive
TTupleProtocol oprot = (TTupleProtocol) prot;
BitSet optionals = new BitSet();
if (struct.isSetFunctionName()) {
optionals.set(0);
if (struct.isSetFunctionName()) {
oprot.writeString(struct.functionName);
代码示例来源:origin: org.spark-project.hive/hive-metastore
HashCodeBuilder builder = new HashCodeBuilder();
boolean present_functionName = true && (isSetFunctionName());
builder.append(present_functionName);
if (present_functionName)
代码示例来源:origin: org.apache.hive/hive-standalone-metastore
List<Object> list = new ArrayList<Object>();
boolean present_functionName = true && (isSetFunctionName());
list.add(present_functionName);
if (present_functionName)
代码示例来源: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 FUNCTION_NAME:
return isSetFunctionName();
case DB_NAME:
return isSetDbName();
case CLASS_NAME:
return isSetClassName();
case OWNER_NAME:
return isSetOwnerName();
case OWNER_TYPE:
return isSetOwnerType();
case CREATE_TIME:
return isSetCreateTime();
case FUNCTION_TYPE:
return isSetFunctionType();
case RESOURCE_URIS:
return isSetResourceUris();
}
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 FUNCTION_NAME:
return isSetFunctionName();
case DB_NAME:
return isSetDbName();
case CLASS_NAME:
return isSetClassName();
case OWNER_NAME:
return isSetOwnerName();
case OWNER_TYPE:
return isSetOwnerType();
case CREATE_TIME:
return isSetCreateTime();
case FUNCTION_TYPE:
return isSetFunctionType();
case RESOURCE_URIS:
return isSetResourceUris();
}
throw new IllegalStateException();
}
代码示例来源:origin: org.apache.hive/hive-standalone-metastore
if (other.isSetFunctionName()) {
this.functionName = other.functionName;
代码示例来源:origin: org.spark-project.hive/hive-metastore
if (other.isSetFunctionName()) {
this.functionName = other.functionName;
代码示例来源:origin: com.facebook.presto.hive/hive-apache
if (other.isSetFunctionName()) {
this.functionName = other.functionName;
代码示例来源:origin: org.apache.hive/hive-standalone-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 FUNCTION_NAME:
return isSetFunctionName();
case DB_NAME:
return isSetDbName();
case CLASS_NAME:
return isSetClassName();
case OWNER_NAME:
return isSetOwnerName();
case OWNER_TYPE:
return isSetOwnerType();
case CREATE_TIME:
return isSetCreateTime();
case FUNCTION_TYPE:
return isSetFunctionType();
case RESOURCE_URIS:
return isSetResourceUris();
case CAT_NAME:
return isSetCatName();
}
throw new IllegalStateException();
}
代码示例来源:origin: org.spark-project.hive/hive-metastore
return false;
boolean this_present_functionName = true && this.isSetFunctionName();
boolean that_present_functionName = true && that.isSetFunctionName();
if (this_present_functionName || that_present_functionName) {
if (!(this_present_functionName && that_present_functionName))
代码示例来源:origin: org.apache.hive/hive-standalone-metastore
return false;
boolean this_present_functionName = true && this.isSetFunctionName();
boolean that_present_functionName = true && that.isSetFunctionName();
if (this_present_functionName || that_present_functionName) {
if (!(this_present_functionName && that_present_functionName))
代码示例来源:origin: com.facebook.presto.hive/hive-apache
TTupleProtocol oprot = (TTupleProtocol) prot;
BitSet optionals = new BitSet();
if (struct.isSetFunctionName()) {
optionals.set(0);
if (struct.isSetFunctionName()) {
oprot.writeString(struct.functionName);
代码示例来源:origin: org.spark-project.hive/hive-metastore
TTupleProtocol oprot = (TTupleProtocol) prot;
BitSet optionals = new BitSet();
if (struct.isSetFunctionName()) {
optionals.set(0);
if (struct.isSetFunctionName()) {
oprot.writeString(struct.functionName);
代码示例来源:origin: org.apache.hive/hive-standalone-metastore
TTupleProtocol oprot = (TTupleProtocol) prot;
BitSet optionals = new BitSet();
if (struct.isSetFunctionName()) {
optionals.set(0);
if (struct.isSetFunctionName()) {
oprot.writeString(struct.functionName);
代码示例来源:origin: com.facebook.presto.hive/hive-apache
HashCodeBuilder builder = new HashCodeBuilder();
boolean present_functionName = true && (isSetFunctionName());
builder.append(present_functionName);
if (present_functionName)
内容来源于网络,如有侵权,请联系作者删除!