1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18 package org.apache.shardingsphere.distsql.handler.engine;
19
20 import lombok.Getter;
21 import lombok.RequiredArgsConstructor;
22 import org.apache.shardingsphere.infra.database.core.type.DatabaseType;
23 import org.apache.shardingsphere.infra.executor.sql.prepare.driver.DatabaseConnectionManager;
24 import org.apache.shardingsphere.infra.executor.sql.prepare.driver.ExecutorStatementManager;
25 import org.apache.shardingsphere.infra.session.connection.ConnectionContext;
26
27
28
29
30 @RequiredArgsConstructor
31 @Getter
32 public final class DistSQLConnectionContext {
33
34 private final ConnectionContext connectionContext;
35
36 private final int connectionSize;
37
38 private final DatabaseType protocolType;
39
40 @SuppressWarnings("rawtypes")
41 private final DatabaseConnectionManager databaseConnectionManager;
42
43 @SuppressWarnings("rawtypes")
44 private final ExecutorStatementManager executorStatementManager;
45 }