/** * Answers if a collection exists given its name * * <p>{@sample.xml ../../../doc/mongo-connector.xml.sample mongo:exists-collection} * * @param collection the name of the collection * @return if the collection exists */ @Processor public boolean existsCollection(String collection) { return client.existsCollection(collection); }