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

Method bytesToBoolean

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

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

(byte[] b)

Source from the content-addressed store, hash-verified

48 * @throws IOException if the value cannot be cast.
49 */
50 public Boolean bytesToBoolean(byte[] b) throws IOException;
51
52 /**
53 * Cast data from bytearray to long value.

Callers 9

testBooleanMethod · 0.65
testBooleanMethod · 0.65
testStoreComplexDataMethod · 0.65
testBytesToBooleanMethod · 0.65
bytesToBooleanMethod · 0.65
getNextBooleanMethod · 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

testBooleanMethod · 0.52
testBooleanMethod · 0.52
testStoreComplexDataMethod · 0.52
testBytesToBooleanMethod · 0.52
bytesToBooleanMethod · 0.52