Class WarehouseSemanticJoinExecutor
java.lang.Object
app.ductape.sdk.warehouse.executor.joins.WarehouseSemanticJoinExecutor
TS parity: sdk/ts/src/warehouse/executor/joins/semantic-join.ts
-
Constructor Summary
ConstructorsConstructorDescriptionWarehouseSemanticJoinExecutor(VectorDatabaseService vectorService) WarehouseSemanticJoinExecutor(VectorDatabaseService vectorService, WarehouseTypes.TextEmbedder embedFn) WarehouseSemanticJoinExecutor(VectorDatabaseService vectorService, WarehouseTypes.TextEmbedder embedFn, boolean parallelSemanticBatch) WarehouseSemanticJoinExecutor(VectorDatabaseService vectorService, WarehouseTypes.TextEmbedder embedFn, WarehouseTypes.AsyncTextEmbedder asyncEmbedFn, boolean parallelSemanticBatch) -
Method Summary
Modifier and TypeMethodDescriptionexecute(List<Map<String, Object>> left, Map<String, Object> joinClause, String leftAlias, String env, String product) executeBatch(List<Map<String, Object>> left, Map<String, Object> joinClause, String leftAlias, String env, String product, int batchSize) TS parity:SemanticJoinExecutor.executeBatch— slices left rows; embedding errors yield empty matches (TS returns null embeddings without throwing for text missingembedFn).
-
Constructor Details
-
WarehouseSemanticJoinExecutor
-
WarehouseSemanticJoinExecutor
public WarehouseSemanticJoinExecutor(VectorDatabaseService vectorService, WarehouseTypes.TextEmbedder embedFn) -
WarehouseSemanticJoinExecutor
public WarehouseSemanticJoinExecutor(VectorDatabaseService vectorService, WarehouseTypes.TextEmbedder embedFn, boolean parallelSemanticBatch) -
WarehouseSemanticJoinExecutor
public WarehouseSemanticJoinExecutor(VectorDatabaseService vectorService, WarehouseTypes.TextEmbedder embedFn, WarehouseTypes.AsyncTextEmbedder asyncEmbedFn, boolean parallelSemanticBatch)
-
-
Method Details
-
execute
-
executeBatch
public Map<String,Object> executeBatch(List<Map<String, Object>> left, Map<String, Object> joinClause, String leftAlias, String env, String product, int batchSize) TS parity:SemanticJoinExecutor.executeBatch— slices left rows; embedding errors yield empty matches (TS returns null embeddings without throwing for text missingembedFn).
-