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

Method get

src/org/apache/pig/data/AppendableSchemaTuple.java:197–205  ·  view source on GitHub ↗
(int fieldNum)

Source from the content-addressed store, hash-verified

195 }
196
197 @Override
198 public Object get(int fieldNum) throws ExecException {
199 int diff = fieldNum - schemaSize();
200 if (diff >= 0 && diff < appendedFieldsSize()) {
201 return getAppendedField(diff);
202 } else {
203 return super.get(fieldNum);
204 }
205 }
206
207 @Override
208 public boolean isNull(int fieldNum) throws ExecException {

Callers

nothing calls this directly

Calls 4

appendedFieldsSizeMethod · 0.95
getAppendedFieldMethod · 0.95
schemaSizeMethod · 0.80
getMethod · 0.65

Tested by

no test coverage detected