def _get_java_object(self): from maprdb.connection import Connection maprdb = Connection.get_instance().MapRDB java_document = maprdb.newDocument() for k, v in self.items(): java_document.set(python_to_java_cast(k), python_to_java_cast(v)) return java_document
def _get_java_object(self): from maprdb.connection import Connection maprdb = Connection.get_instance().MapRDB java_document = maprdb.newDocument() for k,v in self.items(): java_document.set(python_to_java_cast(k),python_to_java_cast(v)) return java_document
def __init__(self, mutation_dictionaries=None): self.java_mutation = Connection.get_instance().MapRDB.newMutation() if mutation_dictionaries: self._parse_mutation(mutation_dictionaries)