Class MongoClientSession

    • Field Detail

      • mongoClient

        protected final com.mongodb.client.MongoClient mongoClient
      • db

        protected final String db
      • batchSize

        protected final Integer batchSize
    • Constructor Detail

      • MongoClientSession

        public MongoClientSession​(Properties properties)
    • Method Detail

      • getMongoDatabase

        public com.mongodb.client.MongoDatabase getMongoDatabase()
      • getMongoClient

        public com.mongodb.client.MongoClient getMongoClient()
      • getEntityCollection

        public <T> step.core.collections.Collection<T> getEntityCollection​(String name,
                                                                           Class<T> entityClass)
      • getBatchSize

        public Integer getBatchSize()