Package com.db4o.internal.marshall
Class FieldMarshaller2
- java.lang.Object
-
- com.db4o.internal.marshall.AbstractFieldMarshaller
-
- com.db4o.internal.marshall.FieldMarshaller0
-
- com.db4o.internal.marshall.FieldMarshaller1
-
- com.db4o.internal.marshall.FieldMarshaller2
-
- All Implemented Interfaces:
FieldMarshaller
public class FieldMarshaller2 extends FieldMarshaller1
-
-
Constructor Summary
Constructors Constructor Description FieldMarshaller2()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
defrag(ClassMetadata classMetadata, ClassAspect aspect, LatinStringIO sio, DefragmentContextImpl context)
int
marshalledLength(ObjectContainerBase stream, ClassAspect aspect)
protected RawFieldSpec
readSpec(AspectType aspectType, ObjectContainerBase stream, ByteArrayBuffer reader)
void
write(Transaction trans, ClassMetadata clazz, ClassAspect aspect, ByteArrayBuffer writer)
-
Methods inherited from class com.db4o.internal.marshall.FieldMarshaller1
fromSpec
-
Methods inherited from class com.db4o.internal.marshall.FieldMarshaller0
read
-
Methods inherited from class com.db4o.internal.marshall.AbstractFieldMarshaller
readSpec
-
-
-
-
Method Detail
-
marshalledLength
public int marshalledLength(ObjectContainerBase stream, ClassAspect aspect)
- Specified by:
marshalledLength
in interfaceFieldMarshaller
- Overrides:
marshalledLength
in classFieldMarshaller1
-
readSpec
protected RawFieldSpec readSpec(AspectType aspectType, ObjectContainerBase stream, ByteArrayBuffer reader)
- Overrides:
readSpec
in classFieldMarshaller1
-
write
public void write(Transaction trans, ClassMetadata clazz, ClassAspect aspect, ByteArrayBuffer writer)
- Specified by:
write
in interfaceFieldMarshaller
- Overrides:
write
in classFieldMarshaller1
-
defrag
public void defrag(ClassMetadata classMetadata, ClassAspect aspect, LatinStringIO sio, DefragmentContextImpl context)
- Specified by:
defrag
in interfaceFieldMarshaller
- Overrides:
defrag
in classFieldMarshaller1
-
-