Пример #1
0
        public override bool Equals(object obj)
        {
            OrcBatchKey other = obj as OrcBatchKey;

            if (other == null || other.GetType() != typeof(OrcBatchKey))
            {
                return(false);
            }
            return(stripeIx == other.stripeIx && rgIx == other.rgIx && file == other.file);
        }
Пример #2
0
 public OrcCacheKey(OrcBatchKey batchKey, int colIx) : base(batchKey.file, batchKey.stripeIx, batchKey.rgIx)
 {
     this.colIx = colIx;
 }
Пример #3
0
 public OrcCacheKey(OrcBatchKey batchKey, int colIx)
     : base(batchKey.file, batchKey.stripeIx, batchKey.rgIx)
 {
     this.colIx = colIx;
 }