public class SerializedStubTree
extends java.lang.Object
Constructor and Description |
---|
SerializedStubTree(byte [] treeBytes,
int treeByteLength,
byte [] indexedStubBytes,
int indexedStubByteLength,
java.util.Map<StubIndexKey,java.util.Map<java.lang.Object,StubIdList>> indexedStubs,
StubForwardIndexExternalizer<?> stubIndexesExternalizer,
SerializationManagerEx serializationManager) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object that) |
Stub |
getStub() |
Stub |
getStub(SerializationManagerEx serializationManager) |
java.util.Map<StubIndexKey,java.util.Map<java.lang.Object,StubIdList>> |
getStubIndicesValueMap() |
byte [] |
getTreeHash() |
int |
hashCode() |
java.util.Map<StubIndexKey,java.util.Map<java.lang.Object,StubIdList>> |
readStubIndicesValueMap() |
SerializedStubTree |
reSerialize(SerializationManagerEx currentSerializationManager,
SerializationManagerEx newSerializationManager,
StubForwardIndexExternalizer currentForwardIndexSerializer,
StubForwardIndexExternalizer newForwardIndexSerializer) |
static SerializedStubTree |
serializeStub(Stub rootStub,
SerializationManagerEx serializationManager,
StubForwardIndexExternalizer<?> forwardIndexExternalizer) |
public SerializedStubTree(byte [] treeBytes, int treeByteLength, byte [] indexedStubBytes, int indexedStubByteLength, java.util.Map<StubIndexKey,java.util.Map<java.lang.Object,StubIdList>> indexedStubs, StubForwardIndexExternalizer<?> stubIndexesExternalizer, SerializationManagerEx serializationManager)
public static SerializedStubTree serializeStub(Stub rootStub, SerializationManagerEx serializationManager, StubForwardIndexExternalizer<?> forwardIndexExternalizer) throws java.io.IOException
java.io.IOException
public SerializedStubTree reSerialize(SerializationManagerEx currentSerializationManager, SerializationManagerEx newSerializationManager, StubForwardIndexExternalizer currentForwardIndexSerializer, StubForwardIndexExternalizer newForwardIndexSerializer) throws java.io.IOException
java.io.IOException
public java.util.Map<StubIndexKey,java.util.Map<java.lang.Object,StubIdList>> getStubIndicesValueMap()
public java.util.Map<StubIndexKey,java.util.Map<java.lang.Object,StubIdList>> readStubIndicesValueMap() throws java.io.IOException
java.io.IOException
public Stub getStub() throws SerializerNotFoundException
SerializerNotFoundException
public Stub getStub(SerializationManagerEx serializationManager) throws SerializerNotFoundException
SerializerNotFoundException
public boolean equals(java.lang.Object that)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public byte [] getTreeHash()