public abstract class AbstractTuple extends java.lang.Object implements Tuple
| Constructor and Description |
|---|
AbstractTuple() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.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.
|
java.util.Iterator<java.lang.Object> |
iterator() |
void |
reference(Tuple t)
Make this tuple reference the contents of another.
|
java.lang.String |
toDelimitedString(java.lang.String delim)
Write a tuple of values into a string.
|
java.lang.String |
toString() |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic java.util.Iterator<java.lang.Object> iterator()
iterator in interface java.lang.Iterable<java.lang.Object>public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String toDelimitedString(java.lang.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.public boolean equals(java.lang.Object other)
equals in class java.lang.ObjectCopyright © 2007-2025 The Apache Software Foundation