class ExportDelegator extends BaseDelegator implements IExportDelegator {

    @Override
    public void getStreamingExportRecords(
            final ExportRecordsOptions opts,
            @Nonnull final IStreamingCallback callback,
            final int key) throws P4JavaException {

        Validate.notNull(callback);

        Map<String, Object> inMap = new HashMap<>();
        if (nonNull(opts)) {
            inMap = opts.processFieldRules();
        }

        server.execStreamingMapCommand(
                EXPORT.toString(),
                processParameters(opts, server),
                inMap,
                callback,
                key);
    }

    public  ExportDelegator(IOptionsServer server);

}