class ReadSamplingBridge extends ReadBridge {

    @Override
    public Writable getNext() throws Exception {
        Writable output = super.getNext();

        // sample - if bit is false, advance to the next object
        while (!sampleBitSet.get(curIndex)) {

            if (output == null) {
                break;
            }
            incIndex();
            output = super.getNext();
        }

        incIndex();
        return output;
    }

    public  ReadSamplingBridge(RequestContext context);
      ReadSamplingBridge(RequestContext context, AccessorFactory accessorFactory, ResolverFactory resolverFactory);

}