org.datanucleus.store.mapped.scostore
Interface AbstractSetStoreSpecialization

All Superinterfaces:
AbstractCollectionStoreSpecialization, ElementContainerStoreSpecialization

public interface AbstractSetStoreSpecialization
extends AbstractCollectionStoreSpecialization

Specialization interface for AbstractSetStore. AbstractSetStore delegates to instances of this interface for behavior that is tied to a specific datastore implementation.


Method Summary
 int[] internalAdd(ObjectProvider sm, ManagedConnection mconn, boolean batched, java.lang.Object element, boolean processNow, AbstractSetStore abstractSetStore)
           
 void preInternalRemove(ManagedConnection mconn)
           
 boolean remove(ObjectProvider sm, java.lang.Object element, int size, AbstractSetStore setStore)
           
 
Methods inherited from interface org.datanucleus.store.mapped.scostore.AbstractCollectionStoreSpecialization
contains, internalRemove, updateEmbeddedElement
 
Methods inherited from interface org.datanucleus.store.mapped.scostore.ElementContainerStoreSpecialization
executeClear, getSize
 

Method Detail

internalAdd

int[] internalAdd(ObjectProvider sm,
                  ManagedConnection mconn,
                  boolean batched,
                  java.lang.Object element,
                  boolean processNow,
                  AbstractSetStore abstractSetStore)
                  throws MappedDatastoreException
Throws:
MappedDatastoreException
See Also:
AbstractSetStore.add(org.datanucleus.store.ObjectProvider, java.lang.Object, int)

remove

boolean remove(ObjectProvider sm,
               java.lang.Object element,
               int size,
               AbstractSetStore setStore)
See Also:
AbstractSetStore.remove(org.datanucleus.store.ObjectProvider, java.lang.Object, int, boolean)

preInternalRemove

void preInternalRemove(ManagedConnection mconn)
                       throws MappedDatastoreException
Throws:
MappedDatastoreException


Copyright © 2011. All Rights Reserved.