org.apache.pig.data
Interface TypeAwareTuple
- All Superinterfaces:
- Comparable, Iterable<Object>, Serializable, Tuple, org.apache.hadoop.io.Writable, org.apache.hadoop.io.WritableComparable
- All Known Implementing Classes:
- AppendableSchemaTuple, SchemaTuple
public interface TypeAwareTuple
- extends Tuple
Method Summary |
boolean |
getBoolean(int idx)
|
byte[] |
getBytes(int idx)
|
DataBag |
getDataBag(int idx)
|
org.joda.time.DateTime |
getDateTime(int idx)
|
double |
getDouble(int idx)
|
float |
getFloat(int idx)
|
int |
getInt(int idx)
|
long |
getLong(int idx)
|
Map<String,Object> |
getMap(int idx)
|
Schema |
getSchema()
|
String |
getString(int idx)
|
Tuple |
getTuple(int idx)
|
void |
setBoolean(int idx,
boolean val)
|
void |
setBytes(int idx,
byte[] val)
|
void |
setDataBag(int idx,
DataBag val)
|
void |
setDateTime(int idx,
org.joda.time.DateTime val)
|
void |
setDouble(int idx,
double val)
|
void |
setFloat(int idx,
float val)
|
void |
setInt(int idx,
int val)
|
void |
setLong(int idx,
long val)
|
void |
setMap(int idx,
Map<String,Object> val)
|
void |
setString(int idx,
String val)
|
void |
setTuple(int idx,
Tuple val)
|
Methods inherited from interface org.apache.hadoop.io.Writable |
readFields, write |
setInt
void setInt(int idx,
int val)
throws ExecException
- Throws:
ExecException
setFloat
void setFloat(int idx,
float val)
throws ExecException
- Throws:
ExecException
setDouble
void setDouble(int idx,
double val)
throws ExecException
- Throws:
ExecException
setLong
void setLong(int idx,
long val)
throws ExecException
- Throws:
ExecException
setString
void setString(int idx,
String val)
throws ExecException
- Throws:
ExecException
setBoolean
void setBoolean(int idx,
boolean val)
throws ExecException
- Throws:
ExecException
setBytes
void setBytes(int idx,
byte[] val)
throws ExecException
- Throws:
ExecException
setTuple
void setTuple(int idx,
Tuple val)
throws ExecException
- Throws:
ExecException
setDataBag
void setDataBag(int idx,
DataBag val)
throws ExecException
- Throws:
ExecException
setMap
void setMap(int idx,
Map<String,Object> val)
throws ExecException
- Throws:
ExecException
setDateTime
void setDateTime(int idx,
org.joda.time.DateTime val)
throws ExecException
- Throws:
ExecException
getInt
int getInt(int idx)
throws ExecException,
FieldIsNullException
- Throws:
ExecException
FieldIsNullException
getFloat
float getFloat(int idx)
throws ExecException,
FieldIsNullException
- Throws:
ExecException
FieldIsNullException
getDouble
double getDouble(int idx)
throws ExecException,
FieldIsNullException
- Throws:
ExecException
FieldIsNullException
getLong
long getLong(int idx)
throws ExecException,
FieldIsNullException
- Throws:
ExecException
FieldIsNullException
getString
String getString(int idx)
throws ExecException,
FieldIsNullException
- Throws:
ExecException
FieldIsNullException
getBoolean
boolean getBoolean(int idx)
throws ExecException,
FieldIsNullException
- Throws:
ExecException
FieldIsNullException
getBytes
byte[] getBytes(int idx)
throws ExecException,
FieldIsNullException
- Throws:
ExecException
FieldIsNullException
getTuple
Tuple getTuple(int idx)
throws ExecException
- Throws:
ExecException
getDataBag
DataBag getDataBag(int idx)
throws ExecException,
FieldIsNullException
- Throws:
ExecException
FieldIsNullException
getMap
Map<String,Object> getMap(int idx)
throws ExecException,
FieldIsNullException
- Throws:
ExecException
FieldIsNullException
getDateTime
org.joda.time.DateTime getDateTime(int idx)
throws ExecException,
FieldIsNullException
- Throws:
ExecException
FieldIsNullException
getSchema
Schema getSchema()
Copyright © 2007-2012 The Apache Software Foundation