Package com.db4o.internal.handlers
Class StringHandler0
- java.lang.Object
-
- com.db4o.internal.handlers.StringHandler
-
- com.db4o.internal.handlers.StringHandler0
-
- All Implemented Interfaces:
BuiltinTypeHandler
,Comparable4
,VariableLengthTypeHandler
,Indexable4
,IndexableTypeHandler
,LinkLengthAware
,QueryableTypeHandler
,TypeHandler4
,ValueTypeHandler
public class StringHandler0 extends StringHandler
-
-
Constructor Summary
Constructors Constructor Description StringHandler0()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
defragment(DefragmentContext context)
gets called when an object gets defragmented.void
delete(DeleteContext context)
gets called when an object gets deleted.java.lang.Object
read(ReadContext context)
gets called when an value type is to be read from the database.java.lang.Object
readIndexEntry(ObjectIdContext context)
java.lang.Object
readIndexEntryFromObjectSlot(MarshallerFamily mf, StatefulBuffer buffer)
This readIndexEntry method reads from the parent slot.-
Methods inherited from class com.db4o.internal.handlers.StringHandler
classReflector, compare, defragIndexEntry, descendsIntoMembers, indexEntryToObject, intern, internalWrite, linkLength, prepareComparison, readIndexEntry, readString, readStringNoDebug, registerReflector, stringIo, stringIo, write, writeIndexEntry, writeShort, writeToBuffer
-
-
-
-
Method Detail
-
read
public java.lang.Object read(ReadContext context)
Description copied from interface:ValueTypeHandler
gets called when an value type is to be read from the database.- Specified by:
read
in interfaceValueTypeHandler
- Overrides:
read
in classStringHandler
- Returns:
- the read value type
-
delete
public void delete(DeleteContext context)
Description copied from interface:TypeHandler4
gets called when an object gets deleted.- Specified by:
delete
in interfaceTypeHandler4
- Overrides:
delete
in classStringHandler
-
defragment
public void defragment(DefragmentContext context)
Description copied from interface:TypeHandler4
gets called when an object gets defragmented.- Specified by:
defragment
in interfaceTypeHandler4
- Overrides:
defragment
in classStringHandler
-
readIndexEntryFromObjectSlot
public java.lang.Object readIndexEntryFromObjectSlot(MarshallerFamily mf, StatefulBuffer buffer) throws CorruptionException, Db4oIOException
Description copied from class:StringHandler
This readIndexEntry method reads from the parent slot.- Specified by:
readIndexEntryFromObjectSlot
in interfaceIndexableTypeHandler
- Overrides:
readIndexEntryFromObjectSlot
in classStringHandler
- Throws:
CorruptionException
Db4oIOException
-
readIndexEntry
public java.lang.Object readIndexEntry(ObjectIdContext context) throws CorruptionException, Db4oIOException
- Specified by:
readIndexEntry
in interfaceIndexableTypeHandler
- Overrides:
readIndexEntry
in classStringHandler
- Throws:
CorruptionException
Db4oIOException
-
-