class RequestToMongodb extends RequestToAbstract {

    public static RequestToMongodb getRequestToMongoDb(AbstractParser<?> requestParser) {
        if (requestParser instanceof SelectParserMultiple) {
            return new SelectToMongodb(requestParser);
        } else if (requestParser instanceof SelectParserSingle) {
            return new SelectToMongodb(requestParser);
        } else if (requestParser instanceof InsertParserMultiple) {
            return new InsertToMongodb(requestParser);
        } else if (requestParser instanceof UpdateParserMultiple) {
            return new UpdateToMongodb(requestParser);
        } else {
            return new DeleteToMongodb(requestParser);
        }
    }

    public  RequestToMongodb(AbstractParser<?> requestParser);

}