Record Class OpenSearchTestSetupService.SetupResult

java.lang.Object
java.lang.Record
ai.pipestream.module.pipelineprobe.opensearch.OpenSearchTestSetupService.SetupResult
Record Components:
indexName - the OS index name the setup targeted
planId - id of the created or reused IndexPlan
planName - name of the IndexPlan
planStatus - the IndexPlan's status, as its enum name
chunkerSentenceId - id of the sentence-10-3 ChunkerConfig
chunkerSentencesInternalId - id of the sentences_internal ChunkerConfig
embeddingMinilmId - id of the minilm EmbeddingConfig
vectorSetIds - ids of the vector sets bound to the index
auditLog - human-readable log of every step taken
Enclosing class:
OpenSearchTestSetupService

public static record OpenSearchTestSetupService.SetupResult(String indexName, String planId, String planName, String planStatus, String chunkerSentenceId, String chunkerSentencesInternalId, String embeddingMinilmId, List<String> vectorSetIds, List<String> auditLog) extends Record
Result of a single setup run. Every id field is populated even on a fully-cached repeat run, so callers can verify nothing was missed.
  • Constructor Details

    • SetupResult

      public SetupResult(String indexName, String planId, String planName, String planStatus, String chunkerSentenceId, String chunkerSentencesInternalId, String embeddingMinilmId, List<String> vectorSetIds, List<String> auditLog)
      Creates an instance of a SetupResult record class.
      Parameters:
      indexName - the value for the indexName record component
      planId - the value for the planId record component
      planName - the value for the planName record component
      planStatus - the value for the planStatus record component
      chunkerSentenceId - the value for the chunkerSentenceId record component
      chunkerSentencesInternalId - the value for the chunkerSentencesInternalId record component
      embeddingMinilmId - the value for the embeddingMinilmId record component
      vectorSetIds - the value for the vectorSetIds record component
      auditLog - the value for the auditLog record component
  • Method Details

    • toString

      public final String 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.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • 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.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      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 with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • indexName

      public String indexName()
      Returns the value of the indexName record component.
      Returns:
      the value of the indexName record component
    • planId

      public String planId()
      Returns the value of the planId record component.
      Returns:
      the value of the planId record component
    • planName

      public String planName()
      Returns the value of the planName record component.
      Returns:
      the value of the planName record component
    • planStatus

      public String planStatus()
      Returns the value of the planStatus record component.
      Returns:
      the value of the planStatus record component
    • chunkerSentenceId

      public String chunkerSentenceId()
      Returns the value of the chunkerSentenceId record component.
      Returns:
      the value of the chunkerSentenceId record component
    • chunkerSentencesInternalId

      public String chunkerSentencesInternalId()
      Returns the value of the chunkerSentencesInternalId record component.
      Returns:
      the value of the chunkerSentencesInternalId record component
    • embeddingMinilmId

      public String embeddingMinilmId()
      Returns the value of the embeddingMinilmId record component.
      Returns:
      the value of the embeddingMinilmId record component
    • vectorSetIds

      public List<String> vectorSetIds()
      Returns the value of the vectorSetIds record component.
      Returns:
      the value of the vectorSetIds record component
    • auditLog

      public List<String> auditLog()
      Returns the value of the auditLog record component.
      Returns:
      the value of the auditLog record component