@InterfaceAudience.Private public class SizedWritable<T> extends Object
Modifier and Type | Field and Description |
---|---|
static int |
INVALID_LENGTH |
int |
length |
org.apache.hadoop.io.Writable |
v |
Constructor and Description |
---|
SizedWritable(Class<?> klass) |
Modifier and Type | Method and Description |
---|---|
void |
readFields(org.apache.hadoop.io.DataInputBuffer key) |
void |
reset(T w) |
public static final int INVALID_LENGTH
public int length
public org.apache.hadoop.io.Writable v
public SizedWritable(Class<?> klass)
public void readFields(org.apache.hadoop.io.DataInputBuffer key) throws IOException
IOException
public void reset(T w)
Copyright © 2008–2018 Apache Software Foundation. All rights reserved.