/** * min and max value of the column, encoded in PLAIN encoding */ public Statistics setMax(byte[] max) { setMax(ByteBuffer.wrap(max)); return this; }
/** * min and max value of the column, encoded in PLAIN encoding */ public Statistics setMax(byte[] max) { setMax(ByteBuffer.wrap(max)); return this; }
/** * min and max value of the column, encoded in PLAIN encoding */ public byte[] getMax() { setMax(TBaseHelper.rightSize(max)); return max.array(); }
/** * min and max value of the column, encoded in PLAIN encoding */ public byte[] getMax() { setMax(TBaseHelper.rightSize(max)); return max.array(); }
public static Statistics toParquetStatistics(parquet.column.statistics.Statistics statistics) { Statistics stats = new Statistics(); if (!statistics.isEmpty()) { stats.setNull_count(statistics.getNumNulls()); if(statistics.hasNonNullValue()) { stats.setMax(statistics.getMaxBytes()); stats.setMin(statistics.getMinBytes()); } } return stats; }
unsetMax(); } else { setMax((ByteBuffer)value);
unsetMax(); } else { setMax((ByteBuffer)value);