public final class ResultSetClassifier extends Object
docs/designs/data-lineage/09-sqllr-v2-runtime-driven-coverage-plan-zh.md,
Section 3.2).
DataFlowAnalyzer.getResultSetName decides the same kinds in the same branch order, but it also names the
result set: it allocates display counters (DISPLAY_ID), fills the name cache (DISPLAY_NAME) and
sets the target flag from the display options. That method stays as it is, for the legacy output. The SQL-LR
producer classifies with this class only: it allocates nothing, caches nothing, never sets a flag and never
resolves a name, so classifying cannot change a legacy byte or a display number.
Internal API of the SQL-LR producer.
| Modifier and Type | Class and Description |
|---|---|
static class |
ResultSetClassifier.Kind
The kinds, in the order
getResultSetName tests them. |
static class |
ResultSetClassifier.Result
A classification: the kind and the descriptors that refine it.
|
| Modifier and Type | Method and Description |
|---|---|
static ResultSetClassifier.Result |
classify(ResultSet rs)
Classifies a result set; reads only, in
getResultSetName's branch order. |
public static ResultSetClassifier.Result classify(ResultSet rs)
getResultSetName's branch order.