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

Method bytesToDouble

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

Cast data from bytearray to double 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

72 * @throws IOException if the value cannot be cast.
73 */
74 public Double bytesToDouble(byte[] b) throws IOException;
75
76 /**
77 * Cast data from bytearray to datetime value.

Callers 9

testDoublesMethod · 0.65
testDoubleMethod · 0.65
testStoreComplexDataMethod · 0.65
testBytesToDoubleMethod · 0.65
bytesToDoubleMethod · 0.65
getNextDoubleMethod · 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 6

testDoublesMethod · 0.52
testDoubleMethod · 0.52
testStoreComplexDataMethod · 0.52
testBytesToDoubleMethod · 0.52
bytesToDoubleMethod · 0.52