Record Class LangChainMetadata
java.lang.Object
java.lang.Record
dev.langchain4j.store.embedding.infinispan.LangChainMetadata
- Record Components:
name
- , the name of the metadatavalue
- , the value of the metadata
-
Constructor Summary
ConstructorsConstructorDescriptionLangChainMetadata
(String name, Object value) Creates an instance of aLangChainMetadata
record class. -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.name()
Returns the value of thename
record component.final String
toString()
Returns a string representation of this record class.value()
Returns the value of thevalue
record component.
-
Constructor Details
-
LangChainMetadata
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object)
. -
name
-
value
-