/** {@inheritDoc} */ @Override public void writeExternal(ObjectOutput out) throws IOException { out.writeObject(impl); out.writeByte(types); }
@Override public void safeValue(byte key, float value) throws IOException { out.writeByte(key); out.writeFloat(value); } });
/** {@inheritDoc} */ @Override public void writeExternal(ObjectOutput out) throws IOException { out.writeObject(userFunc); out.writeInt(partitions); out.writeByte(overrideFlags); out.writeObject(baseFunc); }
/** {@inheritDoc} */ public void writeExternal( ObjectOutput out ) throws IOException { // VERSION out.writeByte( 0 ); // SUPER super.writeExternal( out ); // NO_ENTRY_KEY out.writeInt( no_entry_key ); // NO_ENTRY_VALUE out.writeFloat( no_entry_value ); }
/** {@inheritDoc} */ public void writeExternal( ObjectOutput out ) throws IOException { // VERSION out.writeByte( 0 ); // SUPER super.writeExternal( out ); // NO_ENTRY_KEY out.writeLong( no_entry_key ); // NO_ENTRY_VALUE out.writeFloat( no_entry_value ); }
@Override public void safeValue(V key, byte value) throws IOException { out.writeObject(key); out.writeByte(value); } });
public void writeExternal( ObjectOutput out ) throws IOException { // VERSION out.writeByte( 0 ); // NUMBER OF ENTRIES out.writeInt( _size ); // HEAD out.writeObject( _head ); // TAIL out.writeObject( _tail ); }
/** {@inheritDoc} */ public void writeExternal( ObjectOutput out ) throws IOException { // VERSION out.writeByte( 0 ); // SUPER super.writeExternal( out ); // NO_ENTRY_KEY out.writeFloat( no_entry_key ); // NO_ENTRY_VALUE out.writeInt( no_entry_value ); }
@Override public void safeValue(float key, byte value) throws IOException { out.writeFloat(key); out.writeByte(value); } });
/** {@inheritDoc} */ public void writeExternal( ObjectOutput out ) throws IOException { // VERSION out.writeByte( 0 ); // SUPER super.writeExternal( out ); // NO_ENTRY_KEY out.writeFloat( no_entry_key ); // NO_ENTRY_VALUE out.writeLong( no_entry_value ); }
@Override public void safeValue(byte key, V value) throws IOException { out.writeByte(key); out.writeObject(value); } });
/** {@inheritDoc} */ @Override public void writeExternal(ObjectOutput out) throws IOException { out.writeByte(type.ordinal()); out.writeObject(jobId); out.writeInt(taskNum); out.writeInt(attempt); out.writeObject(inputSplit); if (mapperIdxSet) { out.writeBoolean(true); out.writeInt(mapperIdx); } else out.writeBoolean(false); }