Class LangChainItemMarshaller

java.lang.Object
dev.langchain4j.store.embedding.infinispan.LangChainItemMarshaller
All Implemented Interfaces:
org.infinispan.protostream.BaseMarshaller<LangChainInfinispanItem>, org.infinispan.protostream.MessageMarshaller<LangChainInfinispanItem>

public class LangChainItemMarshaller extends Object implements org.infinispan.protostream.MessageMarshaller<LangChainInfinispanItem>
Marshaller to read and write embeddings to Infinispan
  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.infinispan.protostream.MessageMarshaller

    org.infinispan.protostream.MessageMarshaller.ProtoStreamReader, org.infinispan.protostream.MessageMarshaller.ProtoStreamWriter
  • Field Summary

    Fields inherited from interface org.infinispan.protostream.BaseMarshaller

    EMPTY
  • Constructor Summary

    Constructors
    Constructor
    Description
    Constructor for the LangChainItemMarshaller Marshaller
  • Method Summary

    Modifier and Type
    Method
    Description
     
     
    readFrom(org.infinispan.protostream.MessageMarshaller.ProtoStreamReader reader)
     
    void
    writeTo(org.infinispan.protostream.MessageMarshaller.ProtoStreamWriter writer, LangChainInfinispanItem item)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.infinispan.protostream.BaseMarshaller

    getSubClassNames
  • Constructor Details

    • LangChainItemMarshaller

      public LangChainItemMarshaller(String typeName)
      Constructor for the LangChainItemMarshaller Marshaller
      Parameters:
      typeName - , the full type of the protobuf entity
  • Method Details