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

Method isNull

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

Source from the content-addressed store, hash-verified

205 }
206
207 @Override
208 public boolean isNull(int fieldNum) throws ExecException {
209 int diff = fieldNum - schemaSize();
210 if (diff >= 0 && diff < appendedFieldsSize()) {
211 return isAppendedFieldNull(diff);
212 } else {
213 return super.isNull(fieldNum);
214 }
215 }
216
217 @Override
218 public byte getType(int fieldNum) throws ExecException {

Callers

nothing calls this directly

Calls 4

appendedFieldsSizeMethod · 0.95
isAppendedFieldNullMethod · 0.95
schemaSizeMethod · 0.80
isNullMethod · 0.65

Tested by

no test coverage detected