~christopher-hunt08/maus/maus_mc_control

« back to all changes in this revision

Viewing changes to src/common_py/docstore/DocumentStore.py

  • Committer: Durga Rajaram
  • Date: 2013-07-24 00:19:08 UTC
  • mfrom: (659.1.72 release-candidate)
  • Revision ID: durga@fnal.gov-20130724001908-hw36h7kefglgaw3l
Tags: MAUS-v0.6.0
MAUS-v0.6.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
40
40
        """
41
41
        pass
42
42
 
43
 
    def create_collection(self, collection):
 
43
    def create_collection(self, collection, maximum_size = 1e9):
44
44
        """ 
45
45
        Create a collection. If it already exists, this is a no-op.
46
46
        @param self Object reference.
47
47
        @param collection Collection name.
 
48
        @param maximum_size maximum size of the database (optional, some 
 
49
               docstore implementations do not use this parameter)
48
50
        """
49
51
        pass
50
52
 
123
125
        """
124
126
        pass
125
127
 
126
 
    def delete_collection(self, collection):
127
 
        """ 
128
 
        Delete collection.
129
 
        @param self Object reference.
130
 
        @param collection Collection name.
131
 
        """
132
 
        pass
133
 
 
134
128
    def disconnect(self):
135
129
        """
136
130
        Disconnect. If there is no notion of disconnect this is a no-op.