private HashToUidCache hashToUidCache; // Needs to be protected by a lock internal UrlCell(Cell cell, BinaryReader rd) { this.numBytes = rd.ReadInt64(); this.indexStride = rd.ReadInt32(); this.cell = cell; this.startPos = -1; this.idxUrls = null; this.idxOffsets = null; this.bytes = null; this.hashToUidCache = null; this.hasher = new Hash64(); }
internal void SetUrlToUidCacheParams(int logCacheSize, int logSpineSize) { this.hashToUidCache = new HashToUidCache(logCacheSize, logSpineSize); }
private byte[][] idxUrls; // each byte[] is logically a UTF8-encoded string #endregion Fields #region Constructors internal UrlCell(Cell cell, BinaryReader rd) { this.numBytes = rd.ReadInt64(); this.indexStride = rd.ReadInt32(); this.cell = cell; this.startPos = -1; this.idxUrls = null; this.idxOffsets = null; this.bytes = null; this.hashToUidCache = null; this.hasher = new Hash64(); }