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

Method getSchema

src/org/apache/pig/LoadMetadata.java:52–52  ·  view source on GitHub ↗

Get a schema for the data to be loaded. @param location Location as returned by LoadFunc#relativeToAbsolutePath(String, org.apache.hadoop.fs.Path) @param job The Job object - this should be used only to obtain cluster properties through Job#getConfiguration() and not to set/q

(String location, Job job)

Source from the content-addressed store, hash-verified

50 * @throws IOException if an exception occurs while determining the schema
51 */
52 ResourceSchema getSchema(String location, Job job) throws
53 IOException;
54
55 /**

Callers 15

getSchemaFromLoadFuncMethod · 0.65
getSchemaMethod · 0.65
getSchemaMethod · 0.65
getSchemaMethod · 0.65
convertMethod · 0.65
validateAndConvertMethod · 0.65
getSchemaMethod · 0.65
testSucessMethod · 0.65
testErrorMethod · 0.65
testNotAppendableMethod · 0.65
fillWithDataMethod · 0.65

Implementers 15

FixedWidthLoadercontrib/piggybank/java/src/main/java/o
AllLoadercontrib/piggybank/java/src/main/java/o
HiveColumnarLoadercontrib/piggybank/java/src/main/java/o
AvroStoragecontrib/piggybank/java/src/main/java/o
DummyLoadMetadatatest/org/apache/pig/TestLoadFuncMetada
SchemaLoadertest/org/apache/pig/test/TestPlanGener
PartitionedLoadertest/org/apache/pig/test/TestPlanGener
PigStorageWithSchematest/org/apache/pig/test/PigStorageWit
LoadFuncMetadataWrappersrc/org/apache/pig/LoadFuncMetadataWra
InterStoragesrc/org/apache/pig/impl/io/InterStorag
TFileStoragesrc/org/apache/pig/impl/io/TFileStorag
SequenceFileInterStoragesrc/org/apache/pig/impl/io/SequenceFil

Calls

no outgoing calls

Tested by 15

getSchemaMethod · 0.52
testSucessMethod · 0.52
testErrorMethod · 0.52
testNotAppendableMethod · 0.52
fillWithDataMethod · 0.52
testTwoBagFlattenMethod · 0.52
testTwoMapFlattenMethod · 0.52
getSchemaMethod · 0.52