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

Method prepareToWrite

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

Initialize StoreFuncInterface to write data. This will be called during execution before the call to putNext. @param writer RecordWriter to use. @throws IOException if an exception occurs during initialization

(RecordWriter writer)

Source from the content-addressed store, hash-verified

108 * @throws IOException if an exception occurs during initialization
109 */
110 void prepareToWrite(RecordWriter writer) throws IOException;
111
112 /**
113 * Write a tuple to the data store.

Callers 10

createStoreFuncMethod · 0.95
createStoreFuncMethod · 0.95
storeMethod · 0.95
prepareToWriteMethod · 0.65
testSucessMethod · 0.65
prepareToWriteMethod · 0.65
testSucessMethod · 0.65
prepareToWriteMethod · 0.65
PigRecordWriterMethod · 0.65
prepareToWriteMethod · 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 3

testSucessMethod · 0.52
prepareToWriteMethod · 0.52
testSucessMethod · 0.52