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

Method bloomOut

src/org/apache/pig/builtin/BuildBloomBase.java:99–104  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

97 }
98
99 protected DataByteArray bloomOut() throws IOException {
100 ByteArrayOutputStream baos = new ByteArrayOutputStream(vSize / 8);
101 DataOutputStream dos = new DataOutputStream(baos);
102 filter.write(dos);
103 return new DataByteArray(baos.toByteArray());
104 }
105
106 public static BloomFilter bloomIn(DataByteArray b) throws IOException {
107 DataInputStream dis = new DataInputStream(new

Callers 2

bloomOrMethod · 0.95
execMethod · 0.80

Calls 1

writeMethod · 0.45

Tested by

no test coverage detected