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 Information Retrieval Platform4.1. Copyright © 2004-2015, University of Glasgow