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

Method checkSchema

src/org/apache/pig/StoreFuncInterface.java:102–102  ·  view source on GitHub ↗

Set the schema for data to be stored. This will be called on the front end during planning if the store is associated with a schema. A Store function should implement this function to check that a given schema is acceptable to it. For example, it can check that the correct partition keys are inclu

(ResourceSchema s)

Source from the content-addressed store, hash-verified

100 * a detailed error message indicating what is wrong with the schema.
101 */
102 void checkSchema(ResourceSchema s) throws IOException;
103
104 /**
105 * Initialize StoreFuncInterface to write data. This will be called during

Callers 7

visitMethod · 0.95
checkSchemaMethod · 0.65
testSucessMethod · 0.65
checkSchemaMethod · 0.65
testSucessMethod · 0.65
checkSchemaMethod · 0.65
checkSchemaMethod · 0.65

Implementers 15

AvroStoragecontrib/piggybank/java/src/main/java/o
DummyStoreFunctest/org/apache/pig/TestStoreFuncWrapp
StoreFuncsrc/org/apache/pig/StoreFunc.java
StoreFuncWrappersrc/org/apache/pig/StoreFuncWrapper.ja
AbstractAccumuloStoragesrc/org/apache/pig/backend/hadoop/accu
HBaseStoragesrc/org/apache/pig/backend/hadoop/hbas
InterStoragesrc/org/apache/pig/impl/io/InterStorag
TFileStoragesrc/org/apache/pig/impl/io/TFileStorag
SequenceFileInterStoragesrc/org/apache/pig/impl/io/SequenceFil
OrcStoragesrc/org/apache/pig/builtin/OrcStorage.
PigStoragesrc/org/apache/pig/builtin/PigStorage.
AvroStoragesrc/org/apache/pig/builtin/AvroStorage

Calls

no outgoing calls

Tested by 4

testSucessMethod · 0.52
checkSchemaMethod · 0.52
testSucessMethod · 0.52
checkSchemaMethod · 0.52