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.dialect.statement.sqlserver.dml;
19
20 import lombok.Setter;
21 import org.apache.shardingsphere.sql.parser.sql.common.segment.generic.OutputSegment;
22 import org.apache.shardingsphere.sql.parser.sql.common.segment.generic.WithSegment;
23 import org.apache.shardingsphere.sql.parser.sql.common.statement.dml.DeleteStatement;
24 import org.apache.shardingsphere.sql.parser.sql.dialect.statement.sqlserver.SQLServerStatement;
25
26 import java.util.Optional;
27
28
29
30
31 @Setter
32 public final class SQLServerDeleteStatement extends DeleteStatement implements SQLServerStatement {
33
34 private WithSegment withSegment;
35
36 private OutputSegment outputSegment;
37
38
39
40
41
42
43 public Optional<WithSegment> getWithSegment() {
44 return Optional.ofNullable(withSegment);
45 }
46
47
48
49
50
51
52 public Optional<OutputSegment> getOutputSegment() {
53 return Optional.ofNullable(outputSegment);
54 }
55 }