List of usage examples for org.apache.spark.util.sketch BloomFilter readFrom
public static BloomFilter readFrom(InputStream in) throws IOException
From source file:com.github.sadikovi.riff.column.BloomColumnFilter.java
License:Open Source License
@Override protected void readState(ByteBuffer buffer) throws IOException { // buffer is updated by stream ByteBufferStream in = new ByteBufferStream(buffer); filter = BloomFilter.readFrom(in); }