String[] bounds = value.split(":"); if (bounds.length == 2) histogram.extendedBounds(Long.valueOf(bounds[0]), Long.valueOf(bounds[1])); break; case "alias":
ret.extendedBounds(Long.parseLong(props.get(AGG_EXTENDED_BOUND_MIN_PROP)), Long.parseLong(props.get(AGG_EXTENDED_BOUND_MAX_PROP)));
String[] bounds = value.split(":"); if (bounds.length == 2) histogram.extendedBounds(Long.valueOf(bounds[0]), Long.valueOf(bounds[1])); break; case "alias":
HistogramAggregation.ExtendedBounds<?> bounds = agg.getExtendedBounds(); if (bounds.getMinMaxType().isAssignableFrom(Long.class)) { histogramAgg.extendedBounds((Long) bounds.getMin(), (Long) bounds.getMax()); } else if (bounds.getMinMaxType().isAssignableFrom(Double.class)) { histogramAgg.extendedBounds((Double) bounds.getMin(), (Double) bounds.getMax()); } else { throw new VertexiumException("Unhandled extended bounds type. Expected Double or Long. Found: " + bounds.getMinMaxType().getName());
HistogramAggregation.ExtendedBounds<?> bounds = agg.getExtendedBounds(); if (bounds.getMinMaxType().isAssignableFrom(Long.class)) { histogramAgg.extendedBounds((Long) bounds.getMin(), (Long) bounds.getMax()); } else if (bounds.getMinMaxType().isAssignableFrom(Double.class)) { histogramAgg.extendedBounds((Double) bounds.getMin(), (Double) bounds.getMax()); } else { throw new VertexiumException("Unhandled extended bounds type. Expected Double or Long. Found: " + bounds.getMinMaxType().getName());