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 targetedplanId- id of the created or reused IndexPlanplanName- name of the IndexPlanplanStatus- the IndexPlan's status, as its enum namechunkerSentenceId- id of thesentence-10-3ChunkerConfigchunkerSentencesInternalId- id of thesentences_internalChunkerConfigembeddingMinilmId- id of the minilm EmbeddingConfigvectorSetIds- ids of the vector sets bound to the indexauditLog- 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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionauditLog()Returns the value of theauditLogrecord component.Returns the value of thechunkerSentenceIdrecord component.Returns the value of thechunkerSentencesInternalIdrecord component.Returns the value of theembeddingMinilmIdrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theindexNamerecord component.planId()Returns the value of theplanIdrecord component.planName()Returns the value of theplanNamerecord component.Returns the value of theplanStatusrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of thevectorSetIdsrecord component.
-
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 aSetupResultrecord class.- Parameters:
indexName- the value for theindexNamerecord componentplanId- the value for theplanIdrecord componentplanName- the value for theplanNamerecord componentplanStatus- the value for theplanStatusrecord componentchunkerSentenceId- the value for thechunkerSentenceIdrecord componentchunkerSentencesInternalId- the value for thechunkerSentencesInternalIdrecord componentembeddingMinilmId- the value for theembeddingMinilmIdrecord componentvectorSetIds- the value for thevectorSetIdsrecord componentauditLog- the value for theauditLogrecord component
-
-
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). -
indexName
-
planId
-
planName
-
planStatus
Returns the value of theplanStatusrecord component.- Returns:
- the value of the
planStatusrecord component
-
chunkerSentenceId
Returns the value of thechunkerSentenceIdrecord component.- Returns:
- the value of the
chunkerSentenceIdrecord component
-
chunkerSentencesInternalId
Returns the value of thechunkerSentencesInternalIdrecord component.- Returns:
- the value of the
chunkerSentencesInternalIdrecord component
-
embeddingMinilmId
Returns the value of theembeddingMinilmIdrecord component.- Returns:
- the value of the
embeddingMinilmIdrecord component
-
vectorSetIds
Returns the value of thevectorSetIdsrecord component.- Returns:
- the value of the
vectorSetIdsrecord component
-
auditLog
-