public class TextArrayWritable
extends org.apache.hadoop.io.ArrayWritable
| Constructor and Description |
|---|
TextArrayWritable() |
TextArrayWritable(java.util.ArrayList<java.math.BigInteger> elements)
Constructor for use when underlying array will be Text representations of BigInteger objects
|
TextArrayWritable(java.lang.String[] elements)
Constructor for use when underlying array will be Text representations of String objects
|
| Modifier and Type | Method and Description |
|---|---|
java.math.BigInteger |
getBigInteger(int i)
Return the ith element from the underlying array
|
int |
size()
Returns the number of elements in the underlying array
|
public TextArrayWritable()
public TextArrayWritable(java.lang.String[] elements)
public TextArrayWritable(java.util.ArrayList<java.math.BigInteger> elements)