Record Class WarehouseTypes.WarehouseConfig

java.lang.Object
java.lang.Record
app.ductape.sdk.warehouse.types.WarehouseTypes.WarehouseConfig
Enclosing class:
WarehouseTypes

public static record WarehouseTypes.WarehouseConfig(Long defaultTimeoutMs, Boolean enableCache, Long cacheTtlSec, Long maxJoinMemoryBytes, Boolean parallel, WarehouseTypes.TextEmbedder embedFn, Integer semanticJoinBatchThreshold, Integer semanticJoinBatchSize, WarehouseTypes.SagaStateHooks sagaStateHooks, WarehouseTypes.AsyncTextEmbedder asyncEmbedFn) extends Record
  • Constructor Details

    • WarehouseConfig

      public WarehouseConfig(Long defaultTimeoutMs, Boolean enableCache, Long cacheTtlSec, Long maxJoinMemoryBytes, Boolean parallel, WarehouseTypes.TextEmbedder embedFn, Integer semanticJoinBatchThreshold, Integer semanticJoinBatchSize, WarehouseTypes.SagaStateHooks sagaStateHooks, WarehouseTypes.AsyncTextEmbedder asyncEmbedFn)
      Creates an instance of a WarehouseConfig record class.
      Parameters:
      defaultTimeoutMs - the value for the defaultTimeoutMs record component
      enableCache - the value for the enableCache record component
      cacheTtlSec - the value for the cacheTtlSec record component
      maxJoinMemoryBytes - the value for the maxJoinMemoryBytes record component
      parallel - the value for the parallel record component
      embedFn - the value for the embedFn record component
      semanticJoinBatchThreshold - the value for the semanticJoinBatchThreshold record component
      semanticJoinBatchSize - the value for the semanticJoinBatchSize record component
      sagaStateHooks - the value for the sagaStateHooks record component
      asyncEmbedFn - the value for the asyncEmbedFn record component
  • Method Details

    • defaults

      public static WarehouseTypes.WarehouseConfig defaults()
    • 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.
    • defaultTimeoutMs

      public Long defaultTimeoutMs()
      Returns the value of the defaultTimeoutMs record component.
      Returns:
      the value of the defaultTimeoutMs record component
    • enableCache

      public Boolean enableCache()
      Returns the value of the enableCache record component.
      Returns:
      the value of the enableCache record component
    • cacheTtlSec

      public Long cacheTtlSec()
      Returns the value of the cacheTtlSec record component.
      Returns:
      the value of the cacheTtlSec record component
    • maxJoinMemoryBytes

      public Long maxJoinMemoryBytes()
      Returns the value of the maxJoinMemoryBytes record component.
      Returns:
      the value of the maxJoinMemoryBytes record component
    • parallel

      public Boolean parallel()
      Returns the value of the parallel record component.
      Returns:
      the value of the parallel record component
    • embedFn

      public WarehouseTypes.TextEmbedder embedFn()
      Returns the value of the embedFn record component.
      Returns:
      the value of the embedFn record component
    • semanticJoinBatchThreshold

      public Integer semanticJoinBatchThreshold()
      Returns the value of the semanticJoinBatchThreshold record component.
      Returns:
      the value of the semanticJoinBatchThreshold record component
    • semanticJoinBatchSize

      public Integer semanticJoinBatchSize()
      Returns the value of the semanticJoinBatchSize record component.
      Returns:
      the value of the semanticJoinBatchSize record component
    • sagaStateHooks

      public WarehouseTypes.SagaStateHooks sagaStateHooks()
      Returns the value of the sagaStateHooks record component.
      Returns:
      the value of the sagaStateHooks record component
    • asyncEmbedFn

      public WarehouseTypes.AsyncTextEmbedder asyncEmbedFn()
      Returns the value of the asyncEmbedFn record component.
      Returns:
      the value of the asyncEmbedFn record component