Package com.tnsai.intelligence.rag.graph
Record Class GraphStoreProvider.Request
java.lang.Object
java.lang.Record
com.tnsai.intelligence.rag.graph.GraphStoreProvider.Request
- Record Components:
roleClass- Role runtime classsourceNames- exact source fence; empty means all configured sources
- Enclosing interface:
GraphStoreProvider
public static record GraphStoreProvider.Request(Class<?> roleClass, Set<String> sourceNames)
extends Record
Graph binding request.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Class<?> Returns the value of theroleClassrecord component.Returns the value of thesourceNamesrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Request
Creates an instance of aRequestrecord class.- Parameters:
roleClass- the value for theroleClassrecord componentsourceNames- the value for thesourceNamesrecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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). -
roleClass
Returns the value of theroleClassrecord component.- Returns:
- the value of the
roleClassrecord component
-
sourceNames
Returns the value of thesourceNamesrecord component.- Returns:
- the value of the
sourceNamesrecord component
-