@Override protected Object initialValue() { return new TypedBytesRecordOutput(); } };
/** * Get a thread-local typed bytes record output for the supplied * {@link DataOutput}. * * @param out * data output object * @return typed bytes record output corresponding to the supplied * {@link DataOutput}. */ public static TypedBytesRecordOutput get(DataOutput out) { return get(TypedBytesOutput.get(out)); }
/** * Get a thread-local typed bytes record input for the supplied * {@link TypedBytesOutput}. * * @param out * typed bytes output object * @return typed bytes record output corresponding to the supplied * {@link TypedBytesOutput}. */ public static TypedBytesRecordOutput get(TypedBytesOutput out) { TypedBytesRecordOutput bout = (TypedBytesRecordOutput) tbOut.get(); bout.setTypedBytesOutput(out); return bout; }
/** * Get a thread-local typed bytes record output for the supplied * {@link DataOutput}. * * @param out * data output object * @return typed bytes record output corresponding to the supplied * {@link DataOutput}. */ public static TypedBytesRecordOutput get(DataOutput out) { return get(TypedBytesOutput.get(out)); }
@Override protected synchronized Object initialValue() { return new TypedBytesRecordOutput(); } };
/** * Get a thread-local typed bytes record input for the supplied * {@link TypedBytesOutput}. * * @param out * typed bytes output object * @return typed bytes record output corresponding to the supplied * {@link TypedBytesOutput}. */ public static TypedBytesRecordOutput get(TypedBytesOutput out) { TypedBytesRecordOutput bout = (TypedBytesRecordOutput) tbOut.get(); bout.setTypedBytesOutput(out); return bout; }
/** * Get a thread-local typed bytes record output for the supplied * {@link DataOutput}. * * @param out * data output object * @return typed bytes record output corresponding to the supplied * {@link DataOutput}. */ public static TypedBytesRecordOutput get(DataOutput out) { return get(TypedBytesOutput.get(out)); }
@Override protected synchronized Object initialValue() { return new TypedBytesRecordOutput(); } };
/** * Get a thread-local typed bytes record input for the supplied * {@link TypedBytesOutput}. * * @param out * typed bytes output object * @return typed bytes record output corresponding to the supplied * {@link TypedBytesOutput}. */ public static TypedBytesRecordOutput get(TypedBytesOutput out) { TypedBytesRecordOutput bout = (TypedBytesRecordOutput) tbOut.get(); bout.setTypedBytesOutput(out); return bout; }
/** * Get a thread-local typed bytes record output for the supplied * {@link DataOutput}. * * @param out * data output object * @return typed bytes record output corresponding to the supplied * {@link DataOutput}. */ public static TypedBytesRecordOutput get(DataOutput out) { return get(TypedBytesOutput.get(out)); }
@Override protected synchronized Object initialValue() { return new TypedBytesRecordOutput(); } };
/** * Get a thread-local typed bytes record input for the supplied * {@link TypedBytesOutput}. * * @param out * typed bytes output object * @return typed bytes record output corresponding to the supplied * {@link TypedBytesOutput}. */ public static TypedBytesRecordOutput get(TypedBytesOutput out) { TypedBytesRecordOutput bout = (TypedBytesRecordOutput) tbOut.get(); bout.setTypedBytesOutput(out); return bout; }
/** * Get a thread-local typed bytes record output for the supplied * {@link DataOutput}. * * @param out * data output object * @return typed bytes record output corresponding to the supplied * {@link DataOutput}. */ public static TypedBytesRecordOutput get(DataOutput out) { return get(TypedBytesOutput.get(out)); }
@Override protected synchronized Object initialValue() { return new TypedBytesRecordOutput(); } };
/** * Get a thread-local typed bytes record input for the supplied * {@link TypedBytesOutput}. * * @param out * typed bytes output object * @return typed bytes record output corresponding to the supplied * {@link TypedBytesOutput}. */ public static TypedBytesRecordOutput get(TypedBytesOutput out) { TypedBytesRecordOutput bout = (TypedBytesRecordOutput) tbOut.get(); bout.setTypedBytesOutput(out); return bout; }
public void writeRecord(Record r) throws IOException { r.serialize(TypedBytesRecordOutput.get(out)); }
public void writeRecord(Record r) throws IOException { r.serialize(TypedBytesRecordOutput.get(out)); }