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

Method staticSchemaGen

src/org/apache/pig/data/SchemaTuple.java:926–936  ·  view source on GitHub ↗
(String s)

Source from the content-addressed store, hash-verified

924 }
925
926 protected static Schema staticSchemaGen(String s) {
927 try {
928 if (s.equals("")) {
929 LOG.warn("No Schema present in SchemaTuple generated class");
930 return new Schema();
931 }
932 return (Schema) ObjectSerializer.deserialize(s);
933 } catch (IOException e) {
934 throw new RuntimeException("Unable to deserialize serialized Schema: " + s, e);
935 }
936 }
937
938 public void setAndCatch(Tuple t) {
939 try {

Callers

nothing calls this directly

Calls 3

deserializeMethod · 0.95
warnMethod · 0.65
equalsMethod · 0.45

Tested by

no test coverage detected