(String portalName)
| 928 | } |
| 929 | |
| 930 | @Nullable |
| 931 | public List<? extends DataType<?>> getOutputTypes(String portalName) { |
| 932 | Portal portal = getSafePortal(portalName); |
| 933 | var analyzedStatement = portal.analyzedStatement(); |
| 934 | List<Symbol> fields = analyzedStatement.outputs(); |
| 935 | if (fields != null) { |
| 936 | return Symbols.typeView(fields); |
| 937 | } |
| 938 | return null; |
| 939 | } |
| 940 | |
| 941 | public String getQuery(String portalName) { |
| 942 | return getSafePortal(portalName).preparedStmt().rawStatement(); |
no test coverage detected