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