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

Method bloomIn

src/org/apache/pig/builtin/BuildBloomBase.java:106–112  ·  view source on GitHub ↗
(DataByteArray b)

Source from the content-addressed store, hash-verified

104 }
105
106 public static BloomFilter bloomIn(DataByteArray b) throws IOException {
107 DataInputStream dis = new DataInputStream(new
108 ByteArrayInputStream(b.get()));
109 BloomFilter f = new BloomFilter();
110 f.readFields(dis);
111 return f;
112 }
113
114 private int convertHashType(String hashType) {
115 if (hashType.toLowerCase().contains("jenkins")) {

Callers 4

attachInputsMethod · 0.95
combineBloomFiltersMethod · 0.95
initMethod · 0.95
bloomOrMethod · 0.95

Calls 2

getMethod · 0.65
readFieldsMethod · 0.45

Tested by

no test coverage detected