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

Method toBytes

src/org/apache/pig/StoreCaster.java:41–41  ·  view source on GitHub ↗
(DataBag bag)

Source from the content-addressed store, hash-verified

39@InterfaceStability.Evolving // Because we still don't have the map casts quite right
40public interface StoreCaster extends LoadCaster {
41 public byte[] toBytes(DataBag bag) throws IOException;
42
43 public byte[] toBytes(String s) throws IOException;
44

Callers 15

testIntsMethod · 0.65
testDoublesMethod · 0.65
testLongsMethod · 0.65
testFloatsMethod · 0.65
testBooleanMethod · 0.65
testIncrementBytesMethod · 0.65
doIncrementTestMethod · 0.65
testBooleanToBytesMethod · 0.65
testIntegerToBytesMethod · 0.65
testLongToBytesMethod · 0.65
testFloatToBytesMethod · 0.65

Implementers 7

TestLoadertest/org/apache/pig/test/TestPOCast.ja
AccumuloBinaryConvertersrc/org/apache/pig/backend/hadoop/accu
HBaseBinaryConvertersrc/org/apache/pig/backend/hadoop/hbas
DataTypesrc/org/apache/pig/data/DataType.java
TextLoadersrc/org/apache/pig/builtin/TextLoader.
Utf8StorageConvertersrc/org/apache/pig/builtin/Utf8Storage
BinStoragesrc/org/apache/pig/builtin/BinStorage.

Calls

no outgoing calls

Tested by 15

testIntsMethod · 0.52
testDoublesMethod · 0.52
testLongsMethod · 0.52
testFloatsMethod · 0.52
testBooleanMethod · 0.52
testIncrementBytesMethod · 0.52
doIncrementTestMethod · 0.52
testBooleanToBytesMethod · 0.52
testIntegerToBytesMethod · 0.52
testLongToBytesMethod · 0.52
testFloatToBytesMethod · 0.52