public abstract class AbstractTuple extends Object implements Tuple
| Constructor and Description |
|---|
AbstractTuple() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
byte |
getType(int fieldNum)
Find the type of a given field.
|
boolean |
isNull(int fieldNum)
Find out if a given field is null.
|
Iterator<Object> |
iterator() |
void |
reference(Tuple t)
Make this tuple reference the contents of another.
|
String |
toDelimitedString(String delim)
Write a tuple of values into a string.
|
String |
toString() |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitappend, get, getAll, getMemorySize, set, sizecompareToforEach, spliteratorpublic String toDelimitedString(String delim) throws ExecException
toDelimitedString in interface Tupledelim - Delimiter to use in the string.ExecException - this is never thrown. This only exists for backwards compatability reasons.public byte getType(int fieldNum)
throws ExecException
getType in interface TuplefieldNum - Number of field to get the type for.DataType. If the field is null, then DataType.UNKNOWN
will be returned.ExecException - if the field number is greater than or equal to
the number of fields in the tuple.public boolean isNull(int fieldNum)
throws ExecException
isNull in interface TuplefieldNum - Number of field to check for null.ExecException - if the field number given is greater
than or equal to the number of fields in the tuple.Copyright © 2007-2017 The Apache Software Foundation