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

Method bytesToLong

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

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

(byte[] b)

Source from the content-addressed store, hash-verified

56 * @throws IOException if the value cannot be cast.
57 */
58 public Long bytesToLong(byte[] b) throws IOException;
59
60 /**
61 * Cast data from bytearray to float value.

Callers 10

testLongsMethod · 0.65
testLongMethod · 0.65
testStoreComplexDataMethod · 0.65
testBytesToLongMethod · 0.65
bytesToLongMethod · 0.65
getNextLongMethod · 0.65
convertWithSchemaMethod · 0.65
putNextMethod · 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 6

testLongsMethod · 0.52
testLongMethod · 0.52
testStoreComplexDataMethod · 0.52
testBytesToLongMethod · 0.52
bytesToLongMethod · 0.52