| Fields inherited from class | Fields |
|---|---|
class org.grails.datastore.gorm.GormInstanceApi |
__$stMC, __$stMC, __$stMC |
class org.grails.datastore.gorm.AbstractGormApi |
__$stMC, __$stMC |
| Constructor and description |
|---|
CassandraGormInstanceApi
(java.lang.Class<D> persistentClass, org.grails.datastore.mapping.core.Datastore datastore) |
| Type | Name and description |
|---|---|
java.lang.Object |
append(D instance, java.lang.String propertyName, java.lang.Object element, java.util.Map params = [:])Add the specified element to the instance's embedded list, set or map and generate an update for the datastore |
java.lang.Object |
deleteFrom(D instance, java.lang.String propertyName, java.lang.Object item, boolean isIndex, java.util.Map params = [:])Remove the specified element, or the element at the specified index, from the instance's embedded list, set or map and generate an update for the datastore |
protected D |
doSave(D instance, java.util.Map params, org.grails.datastore.mapping.core.Session s, boolean isInsert = false) |
java.lang.Object |
prepend(D instance, java.lang.String propertyName, java.lang.Object element, java.util.Map params = [:])Prepend the specified element to the instance's embedded list and generate an update for the datastore |
java.lang.Object |
replaceAt(D instance, java.lang.String propertyName, int index, java.lang.Object element, java.util.Map params = [:])Replace the specified element at the specified index in the instance's embedded list and generate an update for the datastore |
D |
save(D instance, java.util.Map params)Saves an object with the given parameters |
D |
update(D instance, java.util.Map params = [:])Update an instance without loading into the session |
D |
updateSingleTypes(D instance, java.util.Map params = [:])Update an instance's non collection, non map types only without loading into the session |
| Methods inherited from class | Name |
|---|---|
class org.grails.datastore.gorm.GormInstanceApi |
org.grails.datastore.gorm.GormInstanceApi#isFailOnError(), org.grails.datastore.gorm.GormInstanceApi#setFailOnError(boolean), org.grails.datastore.gorm.GormInstanceApi#getValidationException(), org.grails.datastore.gorm.GormInstanceApi#setValidationException(java.lang.Class), org.grails.datastore.gorm.GormInstanceApi#getFailOnError(), org.grails.datastore.gorm.GormInstanceApi#super$2$$getStaticMetaClass(), org.grails.datastore.gorm.GormInstanceApi#getExtendedMethods(), org.grails.datastore.gorm.GormInstanceApi#getEXCLUDES(), org.grails.datastore.gorm.GormInstanceApi#getMethods(), org.grails.datastore.gorm.GormInstanceApi#setMetaClass(groovy.lang.MetaClass), org.grails.datastore.gorm.GormInstanceApi#getMetaClass(), org.grails.datastore.gorm.GormInstanceApi#setProperty(java.lang.String, java.lang.Object), org.grails.datastore.gorm.GormInstanceApi#getProperty(java.lang.String), org.grails.datastore.gorm.GormInstanceApi#invokeMethod(java.lang.String, java.lang.Object), org.grails.datastore.gorm.GormInstanceApi#wait(long, int), org.grails.datastore.gorm.GormInstanceApi#wait(long), org.grails.datastore.gorm.GormInstanceApi#wait(), org.grails.datastore.gorm.GormInstanceApi#equals(java.lang.Object), org.grails.datastore.gorm.GormInstanceApi#toString(), org.grails.datastore.gorm.GormInstanceApi#hashCode(), org.grails.datastore.gorm.GormInstanceApi#getClass(), org.grails.datastore.gorm.GormInstanceApi#notify(), org.grails.datastore.gorm.GormInstanceApi#notifyAll() |
class org.grails.datastore.gorm.AbstractGormApi |
org.grails.datastore.gorm.AbstractGormApi#super$2$$getStaticMetaClass(), org.grails.datastore.gorm.AbstractGormApi#getExtendedMethods(), org.grails.datastore.gorm.AbstractGormApi#getEXCLUDES(), org.grails.datastore.gorm.AbstractGormApi#getMethods(), org.grails.datastore.gorm.AbstractGormApi#setMetaClass(groovy.lang.MetaClass), org.grails.datastore.gorm.AbstractGormApi#getMetaClass(), org.grails.datastore.gorm.AbstractGormApi#setProperty(java.lang.String, java.lang.Object), org.grails.datastore.gorm.AbstractGormApi#getProperty(java.lang.String), org.grails.datastore.gorm.AbstractGormApi#invokeMethod(java.lang.String, java.lang.Object), org.grails.datastore.gorm.AbstractGormApi#wait(long, int), org.grails.datastore.gorm.AbstractGormApi#wait(long), org.grails.datastore.gorm.AbstractGormApi#wait(), org.grails.datastore.gorm.AbstractGormApi#equals(java.lang.Object), org.grails.datastore.gorm.AbstractGormApi#toString(), org.grails.datastore.gorm.AbstractGormApi#hashCode(), org.grails.datastore.gorm.AbstractGormApi#getClass(), org.grails.datastore.gorm.AbstractGormApi#notify(), org.grails.datastore.gorm.AbstractGormApi#notifyAll() |
Add the specified element to the instance's embedded list, set or map and generate an update for the datastore
instance - the instance containing the collection or mappropertyName - the name of the embedded list, set or mapelement - the element to addparams - The parametersRemove the specified element, or the element at the specified index, from the instance's embedded list, set or map and generate an update for the datastore
instance - the instance containing the collection or mappropertyName - the name of the embedded list, set or mapitem - the element or index of the element to remove in the case of a list, the element in the case of a set or mapisIndex - whether the specified item is an element or the index of the element to remove, only true if removing from a list using index, false otherwiseparams - The parametersPrepend the specified element to the instance's embedded list and generate an update for the datastore
instance - the instance containing the listpropertyName - the name of the embedded listelement - the element to prependparams - The parametersReplace the specified element at the specified index in the instance's embedded list and generate an update for the datastore
instance - the instance containing the listpropertyName - the name of the embedded listindex - the index of the element to replaceelement - the element to be stored at the specified indexparams - The parametersSaves an object with the given parameters
instance - The instanceparams - The parametersUpdate an instance without loading into the session
instance - The instanceparams - The parametersUpdate an instance's non collection, non map types only without loading into the session
instance - The instanceparams - The parameters