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

Method bytesToInteger

src/org/apache/pig/LoadCaster.java:90–90  ·  view source on GitHub ↗

Cast data from bytearray to integer value. @param b bytearray to be cast. @return Double value. @throws IOException if the value cannot be cast.

(byte[] b)

Source from the content-addressed store, hash-verified

88 * @throws IOException if the value cannot be cast.
89 */
90 public Integer bytesToInteger(byte[] b) throws IOException;
91
92 /**
93 * Cast data from bytearray to chararray value.

Callers 10

testIntsMethod · 0.65
testIntegerMethod · 0.65
testStoreComplexDataMethod · 0.65
testBytesToIntegerMethod · 0.65
setUpHashTableMethod · 0.65
bytesToIntegerMethod · 0.65
getNextIntegerMethod · 0.65
convertWithSchemaMethod · 0.65
convertToTypeMethod · 0.65

Implementers 7

TestLoadertest/org/apache/pig/test/TestPOCast.ja
Castertest/perf/pigmix/src/java/org/apache/p
TextLoadersrc/org/apache/pig/builtin/TextLoader.
UnImplementedLoadCastersrc/org/apache/pig/builtin/BinStorage.
AccumuloBinaryConvertersrc/org/apache/pig/backend/hadoop/accu
HBaseBinaryConvertersrc/org/apache/pig/backend/hadoop/hbas
Utf8StorageConvertersrc/org/apache/pig/builtin/Utf8Storage

Calls

no outgoing calls

Tested by 7

testIntsMethod · 0.52
testIntegerMethod · 0.52
testStoreComplexDataMethod · 0.52
testBytesToIntegerMethod · 0.52
setUpHashTableMethod · 0.52
bytesToIntegerMethod · 0.52