docs: @Override
    public boolean validateSegmentBoundary(Object o) throws IOException {
      if (o instanceof Long) {
        return validateWithSegmentBoundary((Long) o);
      } else {
        throw new IOException("incorrect type ");
      }
    }