public class SqlGuardResponse extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
SqlGuardResponse.AggregationFact
One aggregation-level fact per SELECT, populated when the statement
carries a HAVING clause.
|
static class |
SqlGuardResponse.ColumnFact |
static class |
SqlGuardResponse.ErrorInfo |
static class |
SqlGuardResponse.Facts |
static class |
SqlGuardResponse.JoinFact
One ON-predicate pair emitted by the
WRONG_JOIN_PATH rule
(blueprint §S24). |
static class |
SqlGuardResponse.LineageEdge |
static class |
SqlGuardResponse.OrderByFact
One top-level ORDER BY entry in a SELECT (blueprint §S12).
|
static class |
SqlGuardResponse.OrderByItem
One ORDER BY entry inside a
SqlGuardResponse.WindowFn. |
static class |
SqlGuardResponse.SetOperationFact
One UNION / INTERSECT / EXCEPT / MINUS operator in the statement,
populated by walking
TSelectSqlStatement.isCombinedQuery() +
getLeftStmt()/getRightStmt(). |
static class |
SqlGuardResponse.StatementResult |
static class |
SqlGuardResponse.TableFact |
static class |
SqlGuardResponse.Violation |
static class |
SqlGuardResponse.WindowFn
One window-function call found inside a
SqlGuardResponse.LineageEdge's
source expression. |
| Modifier and Type | Field and Description |
|---|---|
Map<String,Object> |
audit |
String |
decision |
SqlGuardResponse.ErrorInfo |
error |
SqlGuardResponse.Facts |
facts |
boolean |
ok |
String |
requestId |
int |
riskScore |
List<SqlGuardResponse.StatementResult> |
statements |
List<String> |
suggestions |
String |
summary |
List<SqlGuardResponse.Violation> |
violations |
| Constructor and Description |
|---|
SqlGuardResponse() |
| Modifier and Type | Method and Description |
|---|---|
static SqlGuardResponse |
error(String requestId,
String code,
String message) |
String |
toJson() |
Map<String,Object> |
toMap() |
public boolean ok
public int riskScore
public SqlGuardResponse.Facts facts
public List<SqlGuardResponse.StatementResult> statements
public List<SqlGuardResponse.Violation> violations
public List<String> suggestions
public SqlGuardResponse.ErrorInfo error
public SqlGuardResponse()