Package com.db4o.internal.handlers
Class BooleanHandler
- java.lang.Object
- 
- com.db4o.internal.handlers.PrimitiveHandler
- 
- com.db4o.internal.handlers.BooleanHandler
 
 
- 
- All Implemented Interfaces:
- BuiltinTypeHandler,- CanExcludeNullInQueries,- Comparable4,- Indexable4,- IndexableTypeHandler,- LinkLengthAware,- QueryableTypeHandler,- TypeHandler4,- ValueTypeHandler
 
 public final class BooleanHandler extends PrimitiveHandler 
- 
- 
Field Summary- 
Fields inherited from class com.db4o.internal.handlers.PrimitiveHandler_classReflector
 
- 
 - 
Constructor SummaryConstructors Constructor Description BooleanHandler()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.ObjectdefaultValue()PreparedComparisoninternalPrepareComparison(java.lang.Object source)intlinkLength()java.lang.ObjectnullRepresentationInUntypedArrays()java.lang.ClassprimitiveJavaClass()java.lang.Objectread(ReadContext context)gets called when an value type is to be read from the database.voidwrite(WriteContext context, java.lang.Object obj)gets called when an object is to be written to the database.voidwrite(java.lang.Object obj, ByteArrayBuffer buffer)- 
Methods inherited from class com.db4o.internal.handlers.PrimitiveHandlerclassReflector, coerce, defragIndexEntry, defragment, delete, descendsIntoMembers, excludeNull, indexEntryToObject, javaClass, prepareComparison, primitiveClassReflector, primitiveMarshaller, primitiveNull, read, readIndexEntry, readIndexEntry, readIndexEntryFromObjectSlot, registerReflector, writeIndexEntry
 
- 
 
- 
- 
- 
Method Detail- 
defaultValuepublic java.lang.Object defaultValue() - Specified by:
- defaultValuein class- PrimitiveHandler
 
 - 
linkLengthpublic int linkLength() - Specified by:
- linkLengthin interface- LinkLengthAware
- Specified by:
- linkLengthin class- PrimitiveHandler
 
 - 
primitiveJavaClasspublic java.lang.Class primitiveJavaClass() - Specified by:
- primitiveJavaClassin class- PrimitiveHandler
 
 - 
writepublic void write(java.lang.Object obj, ByteArrayBuffer buffer)- Specified by:
- writein class- PrimitiveHandler
 
 - 
readpublic java.lang.Object read(ReadContext context) Description copied from interface:ValueTypeHandlergets called when an value type is to be read from the database.- Specified by:
- readin interface- ValueTypeHandler
- Overrides:
- readin class- PrimitiveHandler
- Returns:
- the read value type
 
 - 
writepublic void write(WriteContext context, java.lang.Object obj) Description copied from interface:TypeHandler4gets called when an object is to be written to the database.- Specified by:
- writein interface- TypeHandler4
- Overrides:
- writein class- PrimitiveHandler
- obj- the object
 
 - 
nullRepresentationInUntypedArrayspublic java.lang.Object nullRepresentationInUntypedArrays() - Overrides:
- nullRepresentationInUntypedArraysin class- PrimitiveHandler
 
 - 
internalPrepareComparisonpublic PreparedComparison internalPrepareComparison(java.lang.Object source) - Specified by:
- internalPrepareComparisonin class- PrimitiveHandler
 
 
- 
 
-