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.segment.oracle.xml;
19
20 import lombok.Getter;
21 import lombok.RequiredArgsConstructor;
22 import org.apache.shardingsphere.sql.parser.sql.common.segment.dml.expr.complex.ComplexExpressionSegment;
23 import org.apache.shardingsphere.sql.parser.sql.common.segment.dml.item.ProjectionSegment;
24
25
26
27
28 @RequiredArgsConstructor
29 @Getter
30 public final class XmlTableFunctionSegment implements ComplexExpressionSegment, ProjectionSegment {
31
32 private final int startIndex;
33
34 private final int stopIndex;
35
36 private final String functionName;
37
38 private final XmlNamespacesClauseSegment xmlNamespacesClause;
39
40 private final String xQueryString;
41
42 private final XmlTableOptionsSegment xmlTableOption;
43
44 private final String text;
45
46 @Override
47 public String getColumnLabel() {
48 return text;
49 }
50 }