Package org.teiid.infinispan.api
Class TeiidTableMarshaller
- java.lang.Object
-
- org.teiid.infinispan.api.TeiidTableMarshaller
-
- All Implemented Interfaces:
Serializable
,org.infinispan.protostream.BaseMarshaller<InfinispanDocument>
,org.infinispan.protostream.RawProtobufMarshaller<InfinispanDocument>
public class TeiidTableMarshaller extends Object implements org.infinispan.protostream.RawProtobufMarshaller<InfinispanDocument>, Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TeiidTableMarshaller(String docName, TreeMap<Integer,TableWireFormat> wireMap)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Class
getJavaClass()
String
getTypeName()
InfinispanDocument
readFrom(org.infinispan.protostream.ImmutableSerializationContext ctx, org.infinispan.protostream.RawProtoStreamReader in)
void
writeTo(org.infinispan.protostream.ImmutableSerializationContext ctx, org.infinispan.protostream.RawProtoStreamWriter out, InfinispanDocument document)
-
-
-
Constructor Detail
-
TeiidTableMarshaller
public TeiidTableMarshaller(String docName, TreeMap<Integer,TableWireFormat> wireMap)
-
-
Method Detail
-
getTypeName
public String getTypeName()
- Specified by:
getTypeName
in interfaceorg.infinispan.protostream.BaseMarshaller<InfinispanDocument>
-
readFrom
public InfinispanDocument readFrom(org.infinispan.protostream.ImmutableSerializationContext ctx, org.infinispan.protostream.RawProtoStreamReader in) throws IOException
- Specified by:
readFrom
in interfaceorg.infinispan.protostream.RawProtobufMarshaller<InfinispanDocument>
- Throws:
IOException
-
writeTo
public void writeTo(org.infinispan.protostream.ImmutableSerializationContext ctx, org.infinispan.protostream.RawProtoStreamWriter out, InfinispanDocument document) throws IOException
- Specified by:
writeTo
in interfaceorg.infinispan.protostream.RawProtobufMarshaller<InfinispanDocument>
- Throws:
IOException
-
getJavaClass
public Class getJavaClass()
- Specified by:
getJavaClass
in interfaceorg.infinispan.protostream.BaseMarshaller<InfinispanDocument>
-
-