public class BigSetTypeHandler extends java.lang.Object implements ReferenceTypeHandler, CascadingTypeHandler
| Constructor and Description |
|---|
BigSetTypeHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
activate(ReferenceActivationContext context)
gets called when an object is to be activated.
|
void |
cascadeActivation(ActivationContext context)
will be called during activation if the handled
object is already active
|
void |
collectIDs(QueryingReadContext context)
will be called during querying to ask for IDs of member
objects of the handled object.
|
void |
defragment(DefragmentContext context)
gets called when an object gets defragmented.
|
void |
delete(DeleteContext context)
gets called when an object gets deleted.
|
PreparedComparison |
prepareComparison(Context context,
java.lang.Object obj) |
TypeHandler4 |
readCandidateHandler(QueryingReadContext context)
will be called during querying to ask for the handler
to be used to collect children of the handled object
|
void |
write(WriteContext context,
java.lang.Object obj)
gets called when an object is to be written to the database.
|
public void defragment(DefragmentContext context)
TypeHandler4defragment in interface TypeHandler4public void delete(DeleteContext context) throws Db4oIOException
TypeHandler4delete in interface TypeHandler4Db4oIOExceptionpublic void write(WriteContext context, java.lang.Object obj)
TypeHandler4write in interface TypeHandler4obj - the objectpublic PreparedComparison prepareComparison(Context context, java.lang.Object obj)
public void activate(ReferenceActivationContext context)
ReferenceTypeHandleractivate in interface ReferenceTypeHandlerpublic void cascadeActivation(ActivationContext context)
CascadingTypeHandlercascadeActivation in interface CascadingTypeHandlerpublic void collectIDs(QueryingReadContext context)
CascadingTypeHandlercollectIDs in interface CascadingTypeHandlerpublic TypeHandler4 readCandidateHandler(QueryingReadContext context)
CascadingTypeHandlerreadCandidateHandler in interface CascadingTypeHandler