# Interface StatementLineage

Lineage information for a single SQL statement.

interface StatementLineage {
edges: Edge[];
nodes: Node[];
span?: Span;
statementIndex: number;
statementType: string;
}

- Defined in types.ts:93

##### Index

### Properties

edges
nodes
span?
statementIndex
statementType

## Properties

### edges

edges: Edge[]

All edges connecting nodes in the lineage graph

- Defined in types.ts:101

### nodes

nodes: Node[]

All nodes in the lineage graph for this statement

- Defined in types.ts:99

### `Optional` span

span?: Span

Optional span of the entire statement in source SQL

- Defined in types.ts:103

### statementIndex

statementIndex: number

Zero-based index of the statement in the input SQL

- Defined in types.ts:95

### statementType

statementType: string

Type of SQL statement

- Defined in types.ts:97