@Override void serialize(RandomAccessOutput byteStream, Object obj, ObjectInspector objInspector, boolean skipLengthPrefix, BooleanRef warnedOnceNullMapKey) { HiveIntervalDayTimeWritable intervalDayTime = ((HiveIntervalDayTimeObjectInspector) objInspector).getPrimitiveWritableObject(obj); intervalDayTime.writeToByteStream(byteStream); } }
((HiveIntervalDayTimeObjectInspector) oi).getPrimitiveWritableObject(o)); break;
case INTERVAL_DAY_TIME: byteBuffer.putInt(((HiveIntervalDayTimeObjectInspector) poi) .getPrimitiveWritableObject(o).hashCode()); return Murmur3.hash32(byteBuffer.array(), 4); case DECIMAL:
case INTERVAL_DAY_TIME: t.set(((HiveIntervalDayTimeObjectInspector) inputOI) .getPrimitiveWritableObject(input).toString()); return t; case BINARY:
break; case INTERVAL_DAY_TIME: result = ((HiveIntervalDayTimeObjectInspector) oi).getPrimitiveWritableObject(o).toString(); break; case DECIMAL:
case INTERVAL_DAY_TIME: HiveIntervalDayTimeWritable intervalDayTime = ((HiveIntervalDayTimeObjectInspector) poi) .getPrimitiveWritableObject(o); return intervalDayTime.hashCode(); case DECIMAL:
.getPrimitiveWritableObject(o1); HiveIntervalDayTimeWritable i2 = ((HiveIntervalDayTimeObjectInspector) poi2) .getPrimitiveWritableObject(o2); return i1.compareTo(i2);
((HiveIntervalDayTimeObjectInspector) poi).getPrimitiveWritableObject(obj); intervalDayTime.writeToByteStream(byteStream); return;
return ((HiveIntervalDayTimeObjectInspector) oi1).getPrimitiveWritableObject(o1) .equals(((HiveIntervalDayTimeObjectInspector) oi2).getPrimitiveWritableObject(o2));
@Override void serialize(RandomAccessOutput byteStream, Object obj, ObjectInspector objInspector, boolean skipLengthPrefix, BooleanRef warnedOnceNullMapKey) { HiveIntervalDayTimeWritable intervalDayTime = ((HiveIntervalDayTimeObjectInspector) objInspector).getPrimitiveWritableObject(obj); intervalDayTime.writeToByteStream(byteStream); } }
case INTERVAL_DAY_TIME: t.set(((HiveIntervalDayTimeObjectInspector) inputOI) .getPrimitiveWritableObject(input).toString()); return t; case BINARY:
case INTERVAL_DAY_TIME: t.set(((HiveIntervalDayTimeObjectInspector) inputOI) .getPrimitiveWritableObject(input).toString()); return t; case BINARY:
break; case INTERVAL_DAY_TIME: result = ((HiveIntervalDayTimeObjectInspector) oi).getPrimitiveWritableObject(o).toString(); break; case DECIMAL:
break; case INTERVAL_DAY_TIME: result = ((HiveIntervalDayTimeObjectInspector) oi).getPrimitiveWritableObject(o).toString(); break; case DECIMAL:
break; case INTERVAL_DAY_TIME: result = ((HiveIntervalDayTimeObjectInspector) oi).getPrimitiveWritableObject(o).toString(); break; case DECIMAL:
break; case INTERVAL_DAY_TIME: result = ((HiveIntervalDayTimeObjectInspector) oi).getPrimitiveWritableObject(o).toString(); break; case DECIMAL:
return ((HiveIntervalDayTimeObjectInspector) oi1).getPrimitiveWritableObject(o1) .equals(((HiveIntervalDayTimeObjectInspector) oi2).getPrimitiveWritableObject(o2));
return ((HiveIntervalDayTimeObjectInspector) oi1).getPrimitiveWritableObject(o1) .equals(((HiveIntervalDayTimeObjectInspector) oi2).getPrimitiveWritableObject(o2));
return ((HiveIntervalDayTimeObjectInspector) oi1).getPrimitiveWritableObject(o1) .equals(((HiveIntervalDayTimeObjectInspector) oi2).getPrimitiveWritableObject(o2));
return ((HiveIntervalDayTimeObjectInspector) oi1).getPrimitiveWritableObject(o1) .equals(((HiveIntervalDayTimeObjectInspector) oi2).getPrimitiveWritableObject(o2));