@Override public int hashCode() { return codec.hashCode() ^ path.hashCode() ^ type.hashCode() ^ Arrays.hashCode(encodings.toArray()); }
private ColumnChunkMetaData newMD(long big) { Set<Encoding> e = new HashSet<Encoding>(); PrimitiveTypeName t = BINARY; ColumnPath p = ColumnPath.get("foo"); CompressionCodecName c = CompressionCodecName.GZIP; BinaryStatistics s = new BinaryStatistics(); ColumnChunkMetaData md = ColumnChunkMetaData.get(p, t, c, e, s, big, 0, 0, 0, 0); return md; }