Java Code Examples for org.apache.hadoop.util.ReflectionUtils#cloneWritableInto()

The following examples show how to use org.apache.hadoop.util.ReflectionUtils#cloneWritableInto() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: WritableUtils.java    From hadoop with Apache License 2.0 2 votes vote down vote up
/**
 * Make a copy of the writable object using serialiation to a buffer
 * @param dst the object to copy from
 * @param src the object to copy into, which is destroyed
 * @throws IOException
 * @deprecated use ReflectionUtils.cloneInto instead.
 */
@Deprecated
public static void cloneInto(Writable dst, Writable src) throws IOException {
  ReflectionUtils.cloneWritableInto(dst, src);
}
 
Example 2
Source File: WritableUtils.java    From big-c with Apache License 2.0 2 votes vote down vote up
/**
 * Make a copy of the writable object using serialiation to a buffer
 * @param dst the object to copy from
 * @param src the object to copy into, which is destroyed
 * @throws IOException
 * @deprecated use ReflectionUtils.cloneInto instead.
 */
@Deprecated
public static void cloneInto(Writable dst, Writable src) throws IOException {
  ReflectionUtils.cloneWritableInto(dst, src);
}
 
Example 3
Source File: WritableUtils.java    From RDFS with Apache License 2.0 2 votes vote down vote up
/**
 * Make a copy of the writable object using serialiation to a buffer
 * @param dst the object to copy from
 * @param src the object to copy into, which is destroyed
 * @throws IOException
 * @deprecated use ReflectionUtils.cloneInto instead.
 */
@Deprecated
public static void cloneInto(Writable dst, Writable src) throws IOException {
  ReflectionUtils.cloneWritableInto(dst, src);
}
 
Example 4
Source File: WritableUtils.java    From hadoop-gpu with Apache License 2.0 2 votes vote down vote up
/**
 * Make a copy of the writable object using serialiation to a buffer
 * @param dst the object to copy from
 * @param src the object to copy into, which is destroyed
 * @throws IOException
 * @deprecated use ReflectionUtils.cloneInto instead.
 */
@Deprecated
public static void cloneInto(Writable dst, Writable src) throws IOException {
  ReflectionUtils.cloneWritableInto(dst, src);
}