1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18 package org.apache.shardingsphere.sql.parser.sql.common.segment.dcl;
19
20 import lombok.Getter;
21 import lombok.Setter;
22 import org.apache.shardingsphere.sql.parser.sql.common.segment.SQLSegment;
23 import org.apache.shardingsphere.sql.parser.sql.dialect.statement.mysql.segment.PasswordOrLockOptionSegment;
24
25 @Getter
26 @Setter
27 public final class UserSegment implements SQLSegment {
28
29 private int startIndex;
30
31 private int stopIndex;
32
33 private String user;
34
35 private String host;
36
37 private String plugin;
38
39 private String auth;
40
41 private String currentAuth;
42
43 private boolean usesIdentifiedByClause;
44
45 private boolean usesIdentifiedWithClause;
46
47 private boolean usesAuthenticationStringClause;
48
49 private boolean usesReplaceClause;
50
51 private boolean retainCurrentPassword;
52
53 private boolean discardOldPassword;
54
55 private boolean hasPasswordGenerator;
56
57 private PasswordOrLockOptionSegment alterStatus;
58 }