public TimeUnit deepCopy() { return new TimeUnit(this); }
public TimeUnit deepCopy() { return new TimeUnit(this); }
/** * Performs a deep copy on <i>other</i>. */ public TimestampType(TimestampType other) { __isset_bitfield = other.__isset_bitfield; this.isAdjustedToUTC = other.isAdjustedToUTC; if (other.isSetUnit()) { this.unit = new TimeUnit(other.unit); } }
public static TimeUnit MICROS(MicroSeconds value) { TimeUnit x = new TimeUnit(); x.setMICROS(value); return x; }
public static TimeUnit NANOS(NanoSeconds value) { TimeUnit x = new TimeUnit(); x.setNANOS(value); return x; }
public static TimeUnit NANOS(NanoSeconds value) { TimeUnit x = new TimeUnit(); x.setNANOS(value); return x; }
public static TimeUnit MILLIS(MilliSeconds value) { TimeUnit x = new TimeUnit(); x.setMILLIS(value); return x; }
public static TimeUnit MILLIS(MilliSeconds value) { TimeUnit x = new TimeUnit(); x.setMILLIS(value); return x; }
public static TimeUnit MICROS(MicroSeconds value) { TimeUnit x = new TimeUnit(); x.setMICROS(value); return x; }
/** * Performs a deep copy on <i>other</i>. */ public TimeType(TimeType other) { __isset_bitfield = other.__isset_bitfield; this.isAdjustedToUTC = other.isAdjustedToUTC; if (other.isSetUnit()) { this.unit = new TimeUnit(other.unit); } }
/** * Performs a deep copy on <i>other</i>. */ public TimestampType(TimestampType other) { __isset_bitfield = other.__isset_bitfield; this.isAdjustedToUTC = other.isAdjustedToUTC; if (other.isSetUnit()) { this.unit = new TimeUnit(other.unit); } }
/** * Performs a deep copy on <i>other</i>. */ public TimeType(TimeType other) { __isset_bitfield = other.__isset_bitfield; this.isAdjustedToUTC = other.isAdjustedToUTC; if (other.isSetUnit()) { this.unit = new TimeUnit(other.unit); } }
@Override public void read(org.apache.thrift.protocol.TProtocol prot, TimestampType struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; struct.isAdjustedToUTC = iprot.readBool(); struct.setIsAdjustedToUTCIsSet(true); struct.unit = new TimeUnit(); struct.unit.read(iprot); struct.setUnitIsSet(true); } }
@Override public void read(org.apache.thrift.protocol.TProtocol prot, TimestampType struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; struct.isAdjustedToUTC = iprot.readBool(); struct.setIsAdjustedToUTCIsSet(true); struct.unit = new TimeUnit(); struct.unit.read(iprot); struct.setUnitIsSet(true); } }
@Override public void read(org.apache.thrift.protocol.TProtocol prot, TimeType struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; struct.isAdjustedToUTC = iprot.readBool(); struct.setIsAdjustedToUTCIsSet(true); struct.unit = new TimeUnit(); struct.unit.read(iprot); struct.setUnitIsSet(true); } }
@Override public void read(org.apache.thrift.protocol.TProtocol prot, TimeType struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot; struct.isAdjustedToUTC = iprot.readBool(); struct.setIsAdjustedToUTCIsSet(true); struct.unit = new TimeUnit(); struct.unit.read(iprot); struct.setUnitIsSet(true); } }
case 2: // UNIT if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.unit = new TimeUnit(); struct.unit.read(iprot); struct.setUnitIsSet(true);
case 2: // UNIT if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.unit = new TimeUnit(); struct.unit.read(iprot); struct.setUnitIsSet(true);
case 2: // UNIT if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.unit = new TimeUnit(); struct.unit.read(iprot); struct.setUnitIsSet(true);
case 2: // UNIT if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { struct.unit = new TimeUnit(); struct.unit.read(iprot); struct.setUnitIsSet(true);