list.add(name); boolean present_serializationLib = true && (isSetSerializationLib()); list.add(present_serializationLib); if (present_serializationLib)
private static State getSerDeProps(SerDeInfo si) { State serDeProps = new State(); for (Map.Entry<String, String> entry : si.getParameters().entrySet()) { serDeProps.setProp(entry.getKey(), entry.getValue()); } if (si.isSetSerializationLib()) { serDeProps.setProp(HiveConstants.SERDE_TYPE, si.getSerializationLib()); } return serDeProps; }
lastComparison = Boolean.valueOf(isSetSerializationLib()).compareTo(other.isSetSerializationLib()); if (lastComparison != 0) { return lastComparison; if (isSetSerializationLib()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.serializationLib, other.serializationLib); if (lastComparison != 0) {
/** 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 NAME: return isSetName(); case SERIALIZATION_LIB: return isSetSerializationLib(); case PARAMETERS: return isSetParameters(); case DESCRIPTION: return isSetDescription(); case SERIALIZER_CLASS: return isSetSerializerClass(); case DESERIALIZER_CLASS: return isSetDeserializerClass(); case SERDE_TYPE: return isSetSerdeType(); } throw new IllegalStateException(); }
boolean this_present_serializationLib = true && this.isSetSerializationLib(); boolean that_present_serializationLib = true && that.isSetSerializationLib(); if (this_present_serializationLib || that_present_serializationLib) { if (!(this_present_serializationLib && that_present_serializationLib))
optionals.set(0); if (struct.isSetSerializationLib()) { optionals.set(1); oprot.writeString(struct.name); if (struct.isSetSerializationLib()) { oprot.writeString(struct.serializationLib);
/** * Performs a deep copy on <i>other</i>. */ public SerDeInfo(SerDeInfo other) { if (other.isSetName()) { this.name = org.apache.hadoop.hive.metastore.utils.StringUtils.intern(other.name); } if (other.isSetSerializationLib()) { this.serializationLib = org.apache.hadoop.hive.metastore.utils.StringUtils.intern(other.serializationLib); } if (other.isSetParameters()) { Map<String,String> __this__parameters = new HashMap<String,String>(other.parameters); this.parameters = __this__parameters; } if (other.isSetDescription()) { this.description = other.description; } if (other.isSetSerializerClass()) { this.serializerClass = org.apache.hadoop.hive.metastore.utils.StringUtils.intern(other.serializerClass); } if (other.isSetDeserializerClass()) { this.deserializerClass = org.apache.hadoop.hive.metastore.utils.StringUtils.intern(other.deserializerClass); } if (other.isSetSerdeType()) { this.serdeType = other.serdeType; } }
@Override public int hashCode() { HashCodeBuilder builder = new HashCodeBuilder(); boolean present_name = true && (isSetName()); builder.append(present_name); if (present_name) builder.append(name); boolean present_serializationLib = true && (isSetSerializationLib()); builder.append(present_serializationLib); if (present_serializationLib) builder.append(serializationLib); boolean present_parameters = true && (isSetParameters()); builder.append(present_parameters); if (present_parameters) builder.append(parameters); return builder.toHashCode(); }
/** 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 NAME: return isSetName(); case SERIALIZATION_LIB: return isSetSerializationLib(); case PARAMETERS: return isSetParameters(); } throw new IllegalStateException(); }
/** 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 NAME: return isSetName(); case SERIALIZATION_LIB: return isSetSerializationLib(); case PARAMETERS: return isSetParameters(); } throw new IllegalStateException(); }
/** 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 NAME: return isSetName(); case SERIALIZATION_LIB: return isSetSerializationLib(); case PARAMETERS: return isSetParameters(); } throw new IllegalStateException(); }
/** * Performs a deep copy on <i>other</i>. */ public SerDeInfo(SerDeInfo other) { if (other.isSetName()) { this.name = other.name; } if (other.isSetSerializationLib()) { this.serializationLib = other.serializationLib; } if (other.isSetParameters()) { Map<String,String> __this__parameters = new HashMap<String,String>(); for (Map.Entry<String, String> other_element : other.parameters.entrySet()) { String other_element_key = other_element.getKey(); String other_element_value = other_element.getValue(); String __this__parameters_copy_key = other_element_key; String __this__parameters_copy_value = other_element_value; __this__parameters.put(__this__parameters_copy_key, __this__parameters_copy_value); } this.parameters = __this__parameters; } }
/** * Performs a deep copy on <i>other</i>. */ public SerDeInfo(SerDeInfo other) { if (other.isSetName()) { this.name = other.name; } if (other.isSetSerializationLib()) { this.serializationLib = other.serializationLib; } if (other.isSetParameters()) { Map<String,String> __this__parameters = new HashMap<String,String>(); for (Map.Entry<String, String> other_element : other.parameters.entrySet()) { String other_element_key = other_element.getKey(); String other_element_value = other_element.getValue(); String __this__parameters_copy_key = other_element_key; String __this__parameters_copy_value = other_element_value; __this__parameters.put(__this__parameters_copy_key, __this__parameters_copy_value); } this.parameters = __this__parameters; } }
/** * Performs a deep copy on <i>other</i>. */ public SerDeInfo(SerDeInfo other) { if (other.isSetName()) { this.name = other.name; } if (other.isSetSerializationLib()) { this.serializationLib = other.serializationLib; } if (other.isSetParameters()) { Map<String,String> __this__parameters = new HashMap<String,String>(); for (Map.Entry<String, String> other_element : other.parameters.entrySet()) { String other_element_key = other_element.getKey(); String other_element_value = other_element.getValue(); String __this__parameters_copy_key = other_element_key; String __this__parameters_copy_value = other_element_value; __this__parameters.put(__this__parameters_copy_key, __this__parameters_copy_value); } this.parameters = __this__parameters; } }
private static State getSerDeProps(SerDeInfo si) { State serDeProps = new State(); for (Map.Entry<String, String> entry : si.getParameters().entrySet()) { serDeProps.setProp(entry.getKey(), entry.getValue()); } if (si.isSetSerializationLib()) { serDeProps.setProp(HiveConstants.SERDE_TYPE, si.getSerializationLib()); } return serDeProps; }
public boolean equals(SerDeInfo that) { if (that == null) return false; boolean this_present_name = true && this.isSetName(); boolean that_present_name = true && that.isSetName(); if (this_present_name || that_present_name) { if (!(this_present_name && that_present_name)) return false; if (!this.name.equals(that.name)) return false; } boolean this_present_serializationLib = true && this.isSetSerializationLib(); boolean that_present_serializationLib = true && that.isSetSerializationLib(); if (this_present_serializationLib || that_present_serializationLib) { if (!(this_present_serializationLib && that_present_serializationLib)) return false; if (!this.serializationLib.equals(that.serializationLib)) return false; } boolean this_present_parameters = true && this.isSetParameters(); boolean that_present_parameters = true && that.isSetParameters(); if (this_present_parameters || that_present_parameters) { if (!(this_present_parameters && that_present_parameters)) return false; if (!this.parameters.equals(that.parameters)) return false; } return true; }
public boolean equals(SerDeInfo that) { if (that == null) return false; boolean this_present_name = true && this.isSetName(); boolean that_present_name = true && that.isSetName(); if (this_present_name || that_present_name) { if (!(this_present_name && that_present_name)) return false; if (!this.name.equals(that.name)) return false; } boolean this_present_serializationLib = true && this.isSetSerializationLib(); boolean that_present_serializationLib = true && that.isSetSerializationLib(); if (this_present_serializationLib || that_present_serializationLib) { if (!(this_present_serializationLib && that_present_serializationLib)) return false; if (!this.serializationLib.equals(that.serializationLib)) return false; } boolean this_present_parameters = true && this.isSetParameters(); boolean that_present_parameters = true && that.isSetParameters(); if (this_present_parameters || that_present_parameters) { if (!(this_present_parameters && that_present_parameters)) return false; if (!this.parameters.equals(that.parameters)) return false; } return true; }
private static State getSerDeProps(SerDeInfo si) { State serDeProps = new State(); for (Map.Entry<String, String> entry : si.getParameters().entrySet()) { serDeProps.setProp(entry.getKey(), entry.getValue()); } if (si.isSetSerializationLib()) { serDeProps.setProp(HiveConstants.SERDE_TYPE, si.getSerializationLib()); } return serDeProps; }
/** 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 NAME: return isSetName(); case SERIALIZATION_LIB: return isSetSerializationLib(); case PARAMETERS: return isSetParameters(); case DESCRIPTION: return isSetDescription(); case SERIALIZER_CLASS: return isSetSerializerClass(); case DESERIALIZER_CLASS: return isSetDeserializerClass(); case SERDE_TYPE: return isSetSerdeType(); } throw new IllegalStateException(); }
@Override public int hashCode() { HashCodeBuilder builder = new HashCodeBuilder(); boolean present_name = true && (isSetName()); builder.append(present_name); if (present_name) builder.append(name); boolean present_serializationLib = true && (isSetSerializationLib()); builder.append(present_serializationLib); if (present_serializationLib) builder.append(serializationLib); boolean present_parameters = true && (isSetParameters()); builder.append(present_parameters); if (present_parameters) builder.append(parameters); return builder.toHashCode(); }