MCPcopy Create free account
hub / github.com/apache/pig / getType

Method getType

src/org/apache/pig/data/Tuple.java:94–94  ·  view source on GitHub ↗

Find the type of a given field. @param fieldNum Number of field to get the type for. @return type, encoded as a byte value. The values are defined in DataType. If the field is null, then DataType.UNKNOWN will be returned. @throws ExecException if the field number is greater than or equal t

(int fieldNum)

Source from the content-addressed store, hash-verified

92 * the number of fields in the tuple.
93 */
94 byte getType(int fieldNum) throws ExecException;
95
96 /**
97 * Get the value in a given field.

Implementers 2

AvroTupleWrappersrc/org/apache/pig/impl/util/avro/Avro
AbstractTuplesrc/org/apache/pig/data/AbstractTuple.

Calls

no outgoing calls