/** * @param min a min binary * @param max a max binary * @deprecated use {@link #updateStats(Binary)}, will be removed in 2.0.0 */ @Deprecated public void setMinMax(Binary min, Binary max) { this.max = max; this.min = min; this.markAsNotEmpty(); }
/** * @param min a min binary * @param max a max binary * @deprecated use {@link #updateStats(Binary)}, will be removed in 2.0.0 */ @Deprecated public void setMinMax(Binary min, Binary max) { this.max = max; this.min = min; this.markAsNotEmpty(); }
/** * @param min_value a min binary * @param max_value a max binary * @deprecated use {@link #updateStats(Binary)}, will be removed in 2.0.0 */ @Deprecated public void initializeStats(Binary min_value, Binary max_value) { min = min_value.copy(); max = max_value.copy(); this.markAsNotEmpty(); }
/** * @param min_value a min binary * @param max_value a max binary * @deprecated use {@link #updateStats(Binary)}, will be removed in 2.0.0 */ @Deprecated public void initializeStats(Binary min_value, Binary max_value) { min = min_value.copy(); max = max_value.copy(); this.markAsNotEmpty(); }
/** * Sets min and max values, re-uses the byte[] passed in. * Any changes made to byte[] will be reflected in min and max values as well. * @param minBytes byte array to set the min value to * @param maxBytes byte array to set the max value to */ @Override public void setMinMaxFromBytes(byte[] minBytes, byte[] maxBytes) { max = Binary.fromReusedByteArray(maxBytes); min = Binary.fromReusedByteArray(minBytes); this.markAsNotEmpty(); }
/** * Sets min and max values, re-uses the byte[] passed in. * Any changes made to byte[] will be reflected in min and max values as well. * @param minBytes byte array to set the min value to * @param maxBytes byte array to set the max value to */ @Override public void setMinMaxFromBytes(byte[] minBytes, byte[] maxBytes) { max = Binary.fromReusedByteArray(maxBytes); min = Binary.fromReusedByteArray(minBytes); this.markAsNotEmpty(); }