Creates a new UdtConfig instance.
Optional
executor: ExecutorOptional SSRI executor for advanced UDT operations
Optional
filter: ClientIndexerSearchKeyFilterOptional search filter for finding UDT cells
Optional
Readonly
executorOptional SSRI executor for advanced UDT operations
Optional
Readonly
filterOptional search filter for finding UDT cells
Static
fromCreates a UdtConfig instance from a configuration-like object. This factory method provides a convenient way to create UdtConfig instances from plain objects, automatically converting filter-like objects to proper ClientIndexerSearchKeyFilter instances.
Configuration-like object containing executor and/or filter
A new UdtConfig instance with the specified configuration
// Create from object with executor only
const config = UdtConfig.from({ executor: ssriExecutor });
// Create from object with filter only
const config = UdtConfig.from({
filter: {
script: udtScript,
outputDataLenRange: [16, "0xffffffff"]
}
});
// Create from object with both
const config = UdtConfig.from({
executor: ssriExecutor,
filter: { script: udtScript, outputDataLenRange: [16, 32] }
});
Configuration class for UDT instances. This class provides a structured way to handle UDT configuration parameters and includes factory methods for creating instances from configuration-like objects.
Example