public class SqlJoinStrategy extends Object implements RecordJoinStrategy
| Modifier and Type | Field and Description |
|---|---|
private SqlJoinCache |
cache |
private int |
defaultPrecision |
private int |
defaultScale |
private ComponentLog |
logger |
private String |
sql |
| Constructor and Description |
|---|
SqlJoinStrategy(SqlJoinCache cache,
String sql,
ComponentLog logger,
int defaultPrecision,
int defaultScale) |
| Modifier and Type | Method and Description |
|---|---|
private void |
closeQuietly(AutoCloseable... closeables) |
private void |
closeQuietly(AutoCloseable closeable) |
RecordJoinResult |
join(RecordJoinInput originalInput,
RecordJoinInput enrichmentInput,
ProcessSession session,
RecordSchema outputSchema) |
private final SqlJoinCache cache
private final ComponentLog logger
private final String sql
private final int defaultPrecision
private final int defaultScale
public SqlJoinStrategy(SqlJoinCache cache, String sql, ComponentLog logger, int defaultPrecision, int defaultScale)
public RecordJoinResult join(RecordJoinInput originalInput, RecordJoinInput enrichmentInput, ProcessSession session, RecordSchema outputSchema) throws SQLException
join in interface RecordJoinStrategySQLExceptionprivate void closeQuietly(AutoCloseable... closeables)
private void closeQuietly(AutoCloseable closeable)
Copyright © 2023 Apache NiFi Project. All rights reserved.