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

Class PigStorageWithSchema

test/org/apache/pig/test/PigStorageWithSchema.java:29–64  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27import org.apache.pig.builtin.PigStorage;
28
29public class PigStorageWithSchema extends PigStorage implements LoadMetadata {
30 private String signature;
31
32 @Override
33 public String[] getPartitionKeys(String location, Job job)
34 throws IOException {
35 return null;
36 }
37
38 @Override
39 public ResourceSchema getSchema(String location, Job job)
40 throws IOException {
41 return null;
42 }
43
44 @Override
45 public ResourceStatistics getStatistics(String location, Job job)
46 throws IOException {
47 return null;
48 }
49
50 @Override
51 public void setPartitionFilter(Expression partitionFilter)
52 throws IOException {
53 }
54
55 @Override
56 public void setUDFContextSignature(String signature) {
57 super.setUDFContextSignature(signature);
58 this.signature = signature;
59 }
60
61 public String getUDFContextSignature() {
62 return signature;
63 }
64}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected