Package app.ductape.sdk.warehouse.types
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 Summary
ConstructorsConstructorDescriptionWarehouseConfig(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 aWarehouseConfigrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theasyncEmbedFnrecord component.Returns the value of thecacheTtlSecrecord component.defaults()Returns the value of thedefaultTimeoutMsrecord component.embedFn()Returns the value of theembedFnrecord component.Returns the value of theenableCacherecord 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 themaxJoinMemoryBytesrecord component.parallel()Returns the value of theparallelrecord component.Returns the value of thesagaStateHooksrecord component.Returns the value of thesemanticJoinBatchSizerecord component.Returns the value of thesemanticJoinBatchThresholdrecord component.final StringtoString()Returns a string representation of this record class.
-
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 aWarehouseConfigrecord class.- Parameters:
defaultTimeoutMs- the value for thedefaultTimeoutMsrecord componentenableCache- the value for theenableCacherecord componentcacheTtlSec- the value for thecacheTtlSecrecord componentmaxJoinMemoryBytes- the value for themaxJoinMemoryBytesrecord componentparallel- the value for theparallelrecord componentembedFn- the value for theembedFnrecord componentsemanticJoinBatchThreshold- the value for thesemanticJoinBatchThresholdrecord componentsemanticJoinBatchSize- the value for thesemanticJoinBatchSizerecord componentsagaStateHooks- the value for thesagaStateHooksrecord componentasyncEmbedFn- the value for theasyncEmbedFnrecord component
-
-
Method Details
-
defaults
-
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). -
defaultTimeoutMs
Returns the value of thedefaultTimeoutMsrecord component.- Returns:
- the value of the
defaultTimeoutMsrecord component
-
enableCache
Returns the value of theenableCacherecord component.- Returns:
- the value of the
enableCacherecord component
-
cacheTtlSec
Returns the value of thecacheTtlSecrecord component.- Returns:
- the value of the
cacheTtlSecrecord component
-
maxJoinMemoryBytes
Returns the value of themaxJoinMemoryBytesrecord component.- Returns:
- the value of the
maxJoinMemoryBytesrecord component
-
parallel
Returns the value of theparallelrecord component.- Returns:
- the value of the
parallelrecord component
-
embedFn
Returns the value of theembedFnrecord component.- Returns:
- the value of the
embedFnrecord component
-
semanticJoinBatchThreshold
Returns the value of thesemanticJoinBatchThresholdrecord component.- Returns:
- the value of the
semanticJoinBatchThresholdrecord component
-
semanticJoinBatchSize
Returns the value of thesemanticJoinBatchSizerecord component.- Returns:
- the value of the
semanticJoinBatchSizerecord component
-
sagaStateHooks
Returns the value of thesagaStateHooksrecord component.- Returns:
- the value of the
sagaStateHooksrecord component
-
asyncEmbedFn
Returns the value of theasyncEmbedFnrecord component.- Returns:
- the value of the
asyncEmbedFnrecord component
-