public class FixedSizeIntWritableFactory extends Object implements FixedSizeWriteableFactory<org.apache.hadoop.io.IntWritable>
Constructor and Description |
---|
FixedSizeIntWritableFactory() |
Modifier and Type | Method and Description |
---|---|
int |
getSize()
Return size of IntWritable, namely 4 bytes
|
org.apache.hadoop.io.IntWritable |
newInstance()
Makes a new IntWritable
|
public int getSize()
getSize
in interface FixedSizeWriteableFactory<org.apache.hadoop.io.IntWritable>
public org.apache.hadoop.io.IntWritable newInstance()
newInstance
in interface WriteableFactory<org.apache.hadoop.io.IntWritable>
Terrier 4.0. Copyright © 2004-2014 University of Glasgow