Method Serialize
Serialize(DataOutput)
Serializes the data set to file using the following format:
- FuzzySet -->FuzzySetVersion,HashFunctionName,BloomSize, NumBitSetWords,BitSetWordNumBitSetWords
- HashFunctionName --> String (WriteString(String)) The name of a ServiceProvider registered HashFunction
- FuzzySetVersion --> Uint32 (WriteInt32(Int32)) The version number of the FuzzySet class
- BloomSize --> Uint32 (WriteInt32(Int32)) The modulo value used to project hashes into the field's Bitset
- NumBitSetWords --> Uint32 (WriteInt32(Int32)) The number of longs (as returned from GetBits())
- BitSetWord --> Long (WriteInt64(Int64)) A long from the array returned by GetBits()
Declaration
public virtual void Serialize(DataOutput output)
Parameters
Type | Name | Description |
---|---|---|
DataOutput | output | Data output stream. |