| <!DOCTYPE HTML> |
| <!-- NewPage --> |
| <html lang="en"> |
| <head> |
| <!-- Generated by javadoc --> |
| <title>SqlDdlNodes (Apache Calcite API)</title> |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| <link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style"> |
| <link rel="stylesheet" type="text/css" href="../../../../../jquery/jquery-ui.css" title="Style"> |
| <script type="text/javascript" src="../../../../../script.js"></script> |
| <script type="text/javascript" src="../../../../../jquery/jszip/dist/jszip.min.js"></script> |
| <script type="text/javascript" src="../../../../../jquery/jszip-utils/dist/jszip-utils.min.js"></script> |
| <!--[if IE]> |
| <script type="text/javascript" src="../../../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script> |
| <![endif]--> |
| <script type="text/javascript" src="../../../../../jquery/jquery-3.3.1.js"></script> |
| <script type="text/javascript" src="../../../../../jquery/jquery-migrate-3.0.1.js"></script> |
| <script type="text/javascript" src="../../../../../jquery/jquery-ui.js"></script> |
| </head> |
| <body> |
| <script type="text/javascript"><!-- |
| try { |
| if (location.href.indexOf('is-external=true') == -1) { |
| parent.document.title="SqlDdlNodes (Apache Calcite API)"; |
| } |
| } |
| catch(err) { |
| } |
| //--> |
| var data = {"i0":9,"i1":9,"i2":9,"i3":9,"i4":9,"i5":9,"i6":9,"i7":9,"i8":9,"i9":9,"i10":9,"i11":9,"i12":9,"i13":9,"i14":9,"i15":9,"i16":9,"i17":9,"i18":9,"i19":9,"i20":9,"i21":9}; |
| var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],8:["t4","Concrete Methods"]}; |
| var altColor = "altColor"; |
| var rowColor = "rowColor"; |
| var tableTab = "tableTab"; |
| var activeTableTab = "activeTableTab"; |
| var pathtoroot = "../../../../../"; |
| var useModuleDirectories = true; |
| loadScripts(document, 'script');</script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| <header role="banner"> |
| <nav role="navigation"> |
| <div class="fixedNav"> |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <div class="topNav"><a id="navbar.top"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> |
| <a id="navbar.top.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../../index.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="class-use/SqlDdlNodes.html">Use</a></li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../../index-all.html">Index</a></li> |
| <li><a href="../../../../../help-doc.html">Help</a></li> |
| </ul> |
| </div> |
| <div class="subNav"> |
| <ul class="navList" id="allclasses_navbar_top"> |
| <li><a href="../../../../../allclasses.html">All Classes</a></li> |
| </ul> |
| <ul class="navListSearch"> |
| <li><label for="search">SEARCH:</label> |
| <input type="text" id="search" value="search" disabled="disabled"> |
| <input type="reset" id="reset" value="reset" disabled="disabled"> |
| </li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_top"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li><a href="#nested.class.summary">Nested</a> | </li> |
| <li>Field | </li> |
| <li><a href="#constructor.summary">Constr</a> | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li>Field | </li> |
| <li><a href="#constructor.detail">Constr</a> | </li> |
| <li><a href="#method.detail">Method</a></li> |
| </ul> |
| </div> |
| <a id="skip.navbar.top"> |
| <!-- --> |
| </a></div> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| </div> |
| <div class="navPadding"> </div> |
| <script type="text/javascript"><!-- |
| $('.navPadding').css('padding-top', $('.fixedNav').css("height")); |
| //--> |
| </script> |
| </nav> |
| </header> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <main role="main"> |
| <div class="header"> |
| <div class="subTitle"><span class="packageLabelInType">Package</span> <a href="package-summary.html">org.apache.calcite.sql.ddl</a></div> |
| <h2 title="Class SqlDdlNodes" class="title">Class SqlDdlNodes</h2> |
| </div> |
| <div class="contentContainer"> |
| <ul class="inheritance"> |
| <li>java.lang.Object</li> |
| <li> |
| <ul class="inheritance"> |
| <li>org.apache.calcite.sql.ddl.SqlDdlNodes</li> |
| </ul> |
| </li> |
| </ul> |
| <div class="description"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <hr> |
| <pre>public class <span class="typeNameLabel">SqlDdlNodes</span> |
| extends java.lang.Object</pre> |
| <div class="block">Utilities concerning <a href="../SqlNode.html" title="class in org.apache.calcite.sql"><code>SqlNode</code></a> for DDL.</div> |
| </li> |
| </ul> |
| </div> |
| <div class="summary"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ======== NESTED CLASS SUMMARY ======== --> |
| <section role="region"> |
| <ul class="blockList"> |
| <li class="blockList"><a id="nested.class.summary"> |
| <!-- --> |
| </a> |
| <h3>Nested Class Summary</h3> |
| <table class="memberSummary"> |
| <caption><span>Nested Classes</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colSecond" scope="col">Class</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static class </code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="SqlDdlNodes.FileType.html" title="enum in org.apache.calcite.sql.ddl">SqlDdlNodes.FileType</a></span></code></th> |
| <td class="colLast"> |
| <div class="block">File type for CREATE FUNCTION.</div> |
| </td> |
| </tr> |
| </table> |
| </li> |
| </ul> |
| </section> |
| <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
| <section role="region"> |
| <ul class="blockList"> |
| <li class="blockList"><a id="constructor.summary"> |
| <!-- --> |
| </a> |
| <h3>Constructor Summary</h3> |
| <table class="memberSummary"> |
| <caption><span>Constructors</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier</th> |
| <th class="colSecond" scope="col">Constructor</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>private </code></td> |
| <th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E()">SqlDdlNodes</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| </table> |
| </li> |
| </ul> |
| </section> |
| <!-- ========== METHOD SUMMARY =========== --> |
| <section role="region"> |
| <ul class="blockList"> |
| <li class="blockList"><a id="method.summary"> |
| <!-- --> |
| </a> |
| <h3>Method Summary</h3> |
| <table class="memberSummary"> |
| <caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colSecond" scope="col">Method</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tr id="i0" class="altColor"> |
| <td class="colFirst"><code>static <a href="../SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#attribute(org.apache.calcite.sql.parser.SqlParserPos,org.apache.calcite.sql.SqlIdentifier,org.apache.calcite.sql.SqlDataTypeSpec,org.apache.calcite.sql.SqlNode,org.apache.calcite.sql.SqlCollation)">attribute</a></span>​(<a href="../parser/SqlParserPos.html" title="class in org.apache.calcite.sql.parser">SqlParserPos</a> pos, |
| <a href="../SqlIdentifier.html" title="class in org.apache.calcite.sql">SqlIdentifier</a> name, |
| <a href="../SqlDataTypeSpec.html" title="class in org.apache.calcite.sql">SqlDataTypeSpec</a> dataType, |
| <a href="../SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a> expression, |
| <a href="../SqlCollation.html" title="class in org.apache.calcite.sql">SqlCollation</a> collation)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates a attribute definition.</div> |
| </td> |
| </tr> |
| <tr id="i1" class="rowColor"> |
| <td class="colFirst"><code>static <a href="../SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#check(org.apache.calcite.sql.parser.SqlParserPos,org.apache.calcite.sql.SqlIdentifier,org.apache.calcite.sql.SqlNode)">check</a></span>​(<a href="../parser/SqlParserPos.html" title="class in org.apache.calcite.sql.parser">SqlParserPos</a> pos, |
| <a href="../SqlIdentifier.html" title="class in org.apache.calcite.sql">SqlIdentifier</a> name, |
| <a href="../SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a> expression)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates a CHECK constraint.</div> |
| </td> |
| </tr> |
| <tr id="i2" class="altColor"> |
| <td class="colFirst"><code>static <a href="../SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#column(org.apache.calcite.sql.parser.SqlParserPos,org.apache.calcite.sql.SqlIdentifier,org.apache.calcite.sql.SqlDataTypeSpec,org.apache.calcite.sql.SqlNode,org.apache.calcite.schema.ColumnStrategy)">column</a></span>​(<a href="../parser/SqlParserPos.html" title="class in org.apache.calcite.sql.parser">SqlParserPos</a> pos, |
| <a href="../SqlIdentifier.html" title="class in org.apache.calcite.sql">SqlIdentifier</a> name, |
| <a href="../SqlDataTypeSpec.html" title="class in org.apache.calcite.sql">SqlDataTypeSpec</a> dataType, |
| <a href="../SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a> expression, |
| <a href="../../schema/ColumnStrategy.html" title="enum in org.apache.calcite.schema">ColumnStrategy</a> strategy)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates a column declaration.</div> |
| </td> |
| </tr> |
| <tr id="i3" class="rowColor"> |
| <td class="colFirst"><code>static <a href="SqlCreateForeignSchema.html" title="class in org.apache.calcite.sql.ddl">SqlCreateForeignSchema</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createForeignSchema(org.apache.calcite.sql.parser.SqlParserPos,boolean,boolean,org.apache.calcite.sql.SqlIdentifier,org.apache.calcite.sql.SqlNode,org.apache.calcite.sql.SqlNode,org.apache.calcite.sql.SqlNodeList)">createForeignSchema</a></span>​(<a href="../parser/SqlParserPos.html" title="class in org.apache.calcite.sql.parser">SqlParserPos</a> pos, |
| boolean replace, |
| boolean ifNotExists, |
| <a href="../SqlIdentifier.html" title="class in org.apache.calcite.sql">SqlIdentifier</a> name, |
| <a href="../SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a> type, |
| <a href="../SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a> library, |
| <a href="../SqlNodeList.html" title="class in org.apache.calcite.sql">SqlNodeList</a> optionList)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates a CREATE FOREIGN SCHEMA.</div> |
| </td> |
| </tr> |
| <tr id="i4" class="altColor"> |
| <td class="colFirst"><code>static <a href="SqlCreateFunction.html" title="class in org.apache.calcite.sql.ddl">SqlCreateFunction</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createFunction(org.apache.calcite.sql.parser.SqlParserPos,boolean,boolean,org.apache.calcite.sql.SqlIdentifier,org.apache.calcite.sql.SqlNode,org.apache.calcite.sql.SqlNodeList)">createFunction</a></span>​(<a href="../parser/SqlParserPos.html" title="class in org.apache.calcite.sql.parser">SqlParserPos</a> pos, |
| boolean replace, |
| boolean ifNotExists, |
| <a href="../SqlIdentifier.html" title="class in org.apache.calcite.sql">SqlIdentifier</a> name, |
| <a href="../SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a> className, |
| <a href="../SqlNodeList.html" title="class in org.apache.calcite.sql">SqlNodeList</a> usingList)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates a CREATE FUNCTION.</div> |
| </td> |
| </tr> |
| <tr id="i5" class="rowColor"> |
| <td class="colFirst"><code>static <a href="SqlCreateMaterializedView.html" title="class in org.apache.calcite.sql.ddl">SqlCreateMaterializedView</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createMaterializedView(org.apache.calcite.sql.parser.SqlParserPos,boolean,boolean,org.apache.calcite.sql.SqlIdentifier,org.apache.calcite.sql.SqlNodeList,org.apache.calcite.sql.SqlNode)">createMaterializedView</a></span>​(<a href="../parser/SqlParserPos.html" title="class in org.apache.calcite.sql.parser">SqlParserPos</a> pos, |
| boolean replace, |
| boolean ifNotExists, |
| <a href="../SqlIdentifier.html" title="class in org.apache.calcite.sql">SqlIdentifier</a> name, |
| <a href="../SqlNodeList.html" title="class in org.apache.calcite.sql">SqlNodeList</a> columnList, |
| <a href="../SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a> query)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates a CREATE MATERIALIZED VIEW.</div> |
| </td> |
| </tr> |
| <tr id="i6" class="altColor"> |
| <td class="colFirst"><code>static <a href="SqlCreateSchema.html" title="class in org.apache.calcite.sql.ddl">SqlCreateSchema</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createSchema(org.apache.calcite.sql.parser.SqlParserPos,boolean,boolean,org.apache.calcite.sql.SqlIdentifier)">createSchema</a></span>​(<a href="../parser/SqlParserPos.html" title="class in org.apache.calcite.sql.parser">SqlParserPos</a> pos, |
| boolean replace, |
| boolean ifNotExists, |
| <a href="../SqlIdentifier.html" title="class in org.apache.calcite.sql">SqlIdentifier</a> name)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates a CREATE SCHEMA.</div> |
| </td> |
| </tr> |
| <tr id="i7" class="rowColor"> |
| <td class="colFirst"><code>static <a href="SqlCreateTable.html" title="class in org.apache.calcite.sql.ddl">SqlCreateTable</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createTable(org.apache.calcite.sql.parser.SqlParserPos,boolean,boolean,org.apache.calcite.sql.SqlIdentifier,org.apache.calcite.sql.SqlNodeList,org.apache.calcite.sql.SqlNode)">createTable</a></span>​(<a href="../parser/SqlParserPos.html" title="class in org.apache.calcite.sql.parser">SqlParserPos</a> pos, |
| boolean replace, |
| boolean ifNotExists, |
| <a href="../SqlIdentifier.html" title="class in org.apache.calcite.sql">SqlIdentifier</a> name, |
| <a href="../SqlNodeList.html" title="class in org.apache.calcite.sql">SqlNodeList</a> columnList, |
| <a href="../SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a> query)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates a CREATE TABLE.</div> |
| </td> |
| </tr> |
| <tr id="i8" class="altColor"> |
| <td class="colFirst"><code>static <a href="SqlCreateType.html" title="class in org.apache.calcite.sql.ddl">SqlCreateType</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createType(org.apache.calcite.sql.parser.SqlParserPos,boolean,org.apache.calcite.sql.SqlIdentifier,org.apache.calcite.sql.SqlNodeList,org.apache.calcite.sql.SqlDataTypeSpec)">createType</a></span>​(<a href="../parser/SqlParserPos.html" title="class in org.apache.calcite.sql.parser">SqlParserPos</a> pos, |
| boolean replace, |
| <a href="../SqlIdentifier.html" title="class in org.apache.calcite.sql">SqlIdentifier</a> name, |
| <a href="../SqlNodeList.html" title="class in org.apache.calcite.sql">SqlNodeList</a> attributeList, |
| <a href="../SqlDataTypeSpec.html" title="class in org.apache.calcite.sql">SqlDataTypeSpec</a> dataTypeSpec)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates a CREATE TYPE.</div> |
| </td> |
| </tr> |
| <tr id="i9" class="rowColor"> |
| <td class="colFirst"><code>static <a href="SqlCreateView.html" title="class in org.apache.calcite.sql.ddl">SqlCreateView</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#createView(org.apache.calcite.sql.parser.SqlParserPos,boolean,org.apache.calcite.sql.SqlIdentifier,org.apache.calcite.sql.SqlNodeList,org.apache.calcite.sql.SqlNode)">createView</a></span>​(<a href="../parser/SqlParserPos.html" title="class in org.apache.calcite.sql.parser">SqlParserPos</a> pos, |
| boolean replace, |
| <a href="../SqlIdentifier.html" title="class in org.apache.calcite.sql">SqlIdentifier</a> name, |
| <a href="../SqlNodeList.html" title="class in org.apache.calcite.sql">SqlNodeList</a> columnList, |
| <a href="../SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a> query)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates a CREATE VIEW.</div> |
| </td> |
| </tr> |
| <tr id="i10" class="altColor"> |
| <td class="colFirst"><code>static <a href="../SqlDrop.html" title="class in org.apache.calcite.sql">SqlDrop</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#dropFunction(org.apache.calcite.sql.parser.SqlParserPos,boolean,org.apache.calcite.sql.SqlIdentifier)">dropFunction</a></span>​(<a href="../parser/SqlParserPos.html" title="class in org.apache.calcite.sql.parser">SqlParserPos</a> pos, |
| boolean ifExists, |
| <a href="../SqlIdentifier.html" title="class in org.apache.calcite.sql">SqlIdentifier</a> name)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates a DROP FUNCTION.</div> |
| </td> |
| </tr> |
| <tr id="i11" class="rowColor"> |
| <td class="colFirst"><code>static <a href="../SqlDrop.html" title="class in org.apache.calcite.sql">SqlDrop</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#dropMaterializedView(org.apache.calcite.sql.parser.SqlParserPos,boolean,org.apache.calcite.sql.SqlIdentifier)">dropMaterializedView</a></span>​(<a href="../parser/SqlParserPos.html" title="class in org.apache.calcite.sql.parser">SqlParserPos</a> pos, |
| boolean ifExists, |
| <a href="../SqlIdentifier.html" title="class in org.apache.calcite.sql">SqlIdentifier</a> name)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates a DROP MATERIALIZED VIEW.</div> |
| </td> |
| </tr> |
| <tr id="i12" class="altColor"> |
| <td class="colFirst"><code>static <a href="SqlDropSchema.html" title="class in org.apache.calcite.sql.ddl">SqlDropSchema</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#dropSchema(org.apache.calcite.sql.parser.SqlParserPos,boolean,boolean,org.apache.calcite.sql.SqlIdentifier)">dropSchema</a></span>​(<a href="../parser/SqlParserPos.html" title="class in org.apache.calcite.sql.parser">SqlParserPos</a> pos, |
| boolean foreign, |
| boolean ifExists, |
| <a href="../SqlIdentifier.html" title="class in org.apache.calcite.sql">SqlIdentifier</a> name)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates a DROP [ FOREIGN ] SCHEMA.</div> |
| </td> |
| </tr> |
| <tr id="i13" class="rowColor"> |
| <td class="colFirst"><code>static <a href="SqlDropTable.html" title="class in org.apache.calcite.sql.ddl">SqlDropTable</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#dropTable(org.apache.calcite.sql.parser.SqlParserPos,boolean,org.apache.calcite.sql.SqlIdentifier)">dropTable</a></span>​(<a href="../parser/SqlParserPos.html" title="class in org.apache.calcite.sql.parser">SqlParserPos</a> pos, |
| boolean ifExists, |
| <a href="../SqlIdentifier.html" title="class in org.apache.calcite.sql">SqlIdentifier</a> name)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates a DROP TABLE.</div> |
| </td> |
| </tr> |
| <tr id="i14" class="altColor"> |
| <td class="colFirst"><code>static <a href="SqlDropType.html" title="class in org.apache.calcite.sql.ddl">SqlDropType</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#dropType(org.apache.calcite.sql.parser.SqlParserPos,boolean,org.apache.calcite.sql.SqlIdentifier)">dropType</a></span>​(<a href="../parser/SqlParserPos.html" title="class in org.apache.calcite.sql.parser">SqlParserPos</a> pos, |
| boolean ifExists, |
| <a href="../SqlIdentifier.html" title="class in org.apache.calcite.sql">SqlIdentifier</a> name)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates a DROP TYPE.</div> |
| </td> |
| </tr> |
| <tr id="i15" class="rowColor"> |
| <td class="colFirst"><code>static <a href="../SqlDrop.html" title="class in org.apache.calcite.sql">SqlDrop</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#dropView(org.apache.calcite.sql.parser.SqlParserPos,boolean,org.apache.calcite.sql.SqlIdentifier)">dropView</a></span>​(<a href="../parser/SqlParserPos.html" title="class in org.apache.calcite.sql.parser">SqlParserPos</a> pos, |
| boolean ifExists, |
| <a href="../SqlIdentifier.html" title="class in org.apache.calcite.sql">SqlIdentifier</a> name)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates a DROP VIEW.</div> |
| </td> |
| </tr> |
| <tr id="i16" class="altColor"> |
| <td class="colFirst"><code>protected static void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#populate(org.apache.calcite.sql.SqlIdentifier,org.apache.calcite.sql.SqlNode,org.apache.calcite.jdbc.CalcitePrepare.Context)">populate</a></span>​(<a href="../SqlIdentifier.html" title="class in org.apache.calcite.sql">SqlIdentifier</a> name, |
| <a href="../SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a> query, |
| <a href="../../jdbc/CalcitePrepare.Context.html" title="interface in org.apache.calcite.jdbc">CalcitePrepare.Context</a> context)</code></th> |
| <td class="colLast"> |
| <div class="block">Populates the table called <code>name</code> by executing <code>query</code>.</div> |
| </td> |
| </tr> |
| <tr id="i17" class="rowColor"> |
| <td class="colFirst"><code>static <a href="SqlKeyConstraint.html" title="class in org.apache.calcite.sql.ddl">SqlKeyConstraint</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#primary(org.apache.calcite.sql.parser.SqlParserPos,org.apache.calcite.sql.SqlIdentifier,org.apache.calcite.sql.SqlNodeList)">primary</a></span>​(<a href="../parser/SqlParserPos.html" title="class in org.apache.calcite.sql.parser">SqlParserPos</a> pos, |
| <a href="../SqlIdentifier.html" title="class in org.apache.calcite.sql">SqlIdentifier</a> name, |
| <a href="../SqlNodeList.html" title="class in org.apache.calcite.sql">SqlNodeList</a> columnList)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates a PRIMARY KEY constraint.</div> |
| </td> |
| </tr> |
| <tr id="i18" class="altColor"> |
| <td class="colFirst"><code>(package private) static <a href="../SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#renameColumns(org.apache.calcite.sql.SqlNodeList,org.apache.calcite.sql.SqlNode)">renameColumns</a></span>​(<a href="../SqlNodeList.html" title="class in org.apache.calcite.sql">SqlNodeList</a> columnList, |
| <a href="../SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a> query)</code></th> |
| <td class="colLast"> |
| <div class="block">Wraps a query to rename its columns.</div> |
| </td> |
| </tr> |
| <tr id="i19" class="rowColor"> |
| <td class="colFirst"><code>(package private) static <a href="../../util/Pair.html" title="class in org.apache.calcite.util">Pair</a><<a href="../../jdbc/CalciteSchema.html" title="class in org.apache.calcite.jdbc">CalciteSchema</a>,​java.lang.String></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#schema(org.apache.calcite.jdbc.CalcitePrepare.Context,boolean,org.apache.calcite.sql.SqlIdentifier)">schema</a></span>​(<a href="../../jdbc/CalcitePrepare.Context.html" title="interface in org.apache.calcite.jdbc">CalcitePrepare.Context</a> context, |
| boolean mutable, |
| <a href="../SqlIdentifier.html" title="class in org.apache.calcite.sql">SqlIdentifier</a> id)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns the schema in which to create an object.</div> |
| </td> |
| </tr> |
| <tr id="i20" class="altColor"> |
| <td class="colFirst"><code>static <a href="SqlKeyConstraint.html" title="class in org.apache.calcite.sql.ddl">SqlKeyConstraint</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#unique(org.apache.calcite.sql.parser.SqlParserPos,org.apache.calcite.sql.SqlIdentifier,org.apache.calcite.sql.SqlNodeList)">unique</a></span>​(<a href="../parser/SqlParserPos.html" title="class in org.apache.calcite.sql.parser">SqlParserPos</a> pos, |
| <a href="../SqlIdentifier.html" title="class in org.apache.calcite.sql">SqlIdentifier</a> name, |
| <a href="../SqlNodeList.html" title="class in org.apache.calcite.sql">SqlNodeList</a> columnList)</code></th> |
| <td class="colLast"> |
| <div class="block">Creates a UNIQUE constraint.</div> |
| </td> |
| </tr> |
| <tr id="i21" class="rowColor"> |
| <td class="colFirst"><code>(package private) static <a href="../validate/SqlValidator.html" title="interface in org.apache.calcite.sql.validate">SqlValidator</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#validator(org.apache.calcite.jdbc.CalcitePrepare.Context,boolean)">validator</a></span>​(<a href="../../jdbc/CalcitePrepare.Context.html" title="interface in org.apache.calcite.jdbc">CalcitePrepare.Context</a> context, |
| boolean mutable)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns the SqlValidator with the given <code>context</code> schema |
| and type factory.</div> |
| </td> |
| </tr> |
| </table> |
| <ul class="blockList"> |
| <li class="blockList"><a id="methods.inherited.from.class.java.lang.Object"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class java.lang.Object</h3> |
| <code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li> |
| </ul> |
| </li> |
| </ul> |
| </section> |
| </li> |
| </ul> |
| </div> |
| <div class="details"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ========= CONSTRUCTOR DETAIL ======== --> |
| <section role="region"> |
| <ul class="blockList"> |
| <li class="blockList"><a id="constructor.detail"> |
| <!-- --> |
| </a> |
| <h3>Constructor Detail</h3> |
| <a id="<init>()"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>SqlDdlNodes</h4> |
| <pre>private SqlDdlNodes()</pre> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </section> |
| <!-- ============ METHOD DETAIL ========== --> |
| <section role="region"> |
| <ul class="blockList"> |
| <li class="blockList"><a id="method.detail"> |
| <!-- --> |
| </a> |
| <h3>Method Detail</h3> |
| <a id="createSchema(org.apache.calcite.sql.parser.SqlParserPos,boolean,boolean,org.apache.calcite.sql.SqlIdentifier)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createSchema</h4> |
| <pre class="methodSignature">public static <a href="SqlCreateSchema.html" title="class in org.apache.calcite.sql.ddl">SqlCreateSchema</a> createSchema​(<a href="../parser/SqlParserPos.html" title="class in org.apache.calcite.sql.parser">SqlParserPos</a> pos, |
| boolean replace, |
| boolean ifNotExists, |
| <a href="../SqlIdentifier.html" title="class in org.apache.calcite.sql">SqlIdentifier</a> name)</pre> |
| <div class="block">Creates a CREATE SCHEMA.</div> |
| </li> |
| </ul> |
| <a id="createForeignSchema(org.apache.calcite.sql.parser.SqlParserPos,boolean,boolean,org.apache.calcite.sql.SqlIdentifier,org.apache.calcite.sql.SqlNode,org.apache.calcite.sql.SqlNode,org.apache.calcite.sql.SqlNodeList)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createForeignSchema</h4> |
| <pre class="methodSignature">public static <a href="SqlCreateForeignSchema.html" title="class in org.apache.calcite.sql.ddl">SqlCreateForeignSchema</a> createForeignSchema​(<a href="../parser/SqlParserPos.html" title="class in org.apache.calcite.sql.parser">SqlParserPos</a> pos, |
| boolean replace, |
| boolean ifNotExists, |
| <a href="../SqlIdentifier.html" title="class in org.apache.calcite.sql">SqlIdentifier</a> name, |
| <a href="../SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a> type, |
| <a href="../SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a> library, |
| <a href="../SqlNodeList.html" title="class in org.apache.calcite.sql">SqlNodeList</a> optionList)</pre> |
| <div class="block">Creates a CREATE FOREIGN SCHEMA.</div> |
| </li> |
| </ul> |
| <a id="createType(org.apache.calcite.sql.parser.SqlParserPos,boolean,org.apache.calcite.sql.SqlIdentifier,org.apache.calcite.sql.SqlNodeList,org.apache.calcite.sql.SqlDataTypeSpec)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createType</h4> |
| <pre class="methodSignature">public static <a href="SqlCreateType.html" title="class in org.apache.calcite.sql.ddl">SqlCreateType</a> createType​(<a href="../parser/SqlParserPos.html" title="class in org.apache.calcite.sql.parser">SqlParserPos</a> pos, |
| boolean replace, |
| <a href="../SqlIdentifier.html" title="class in org.apache.calcite.sql">SqlIdentifier</a> name, |
| <a href="../SqlNodeList.html" title="class in org.apache.calcite.sql">SqlNodeList</a> attributeList, |
| <a href="../SqlDataTypeSpec.html" title="class in org.apache.calcite.sql">SqlDataTypeSpec</a> dataTypeSpec)</pre> |
| <div class="block">Creates a CREATE TYPE.</div> |
| </li> |
| </ul> |
| <a id="createTable(org.apache.calcite.sql.parser.SqlParserPos,boolean,boolean,org.apache.calcite.sql.SqlIdentifier,org.apache.calcite.sql.SqlNodeList,org.apache.calcite.sql.SqlNode)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createTable</h4> |
| <pre class="methodSignature">public static <a href="SqlCreateTable.html" title="class in org.apache.calcite.sql.ddl">SqlCreateTable</a> createTable​(<a href="../parser/SqlParserPos.html" title="class in org.apache.calcite.sql.parser">SqlParserPos</a> pos, |
| boolean replace, |
| boolean ifNotExists, |
| <a href="../SqlIdentifier.html" title="class in org.apache.calcite.sql">SqlIdentifier</a> name, |
| <a href="../SqlNodeList.html" title="class in org.apache.calcite.sql">SqlNodeList</a> columnList, |
| <a href="../SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a> query)</pre> |
| <div class="block">Creates a CREATE TABLE.</div> |
| </li> |
| </ul> |
| <a id="createView(org.apache.calcite.sql.parser.SqlParserPos,boolean,org.apache.calcite.sql.SqlIdentifier,org.apache.calcite.sql.SqlNodeList,org.apache.calcite.sql.SqlNode)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createView</h4> |
| <pre class="methodSignature">public static <a href="SqlCreateView.html" title="class in org.apache.calcite.sql.ddl">SqlCreateView</a> createView​(<a href="../parser/SqlParserPos.html" title="class in org.apache.calcite.sql.parser">SqlParserPos</a> pos, |
| boolean replace, |
| <a href="../SqlIdentifier.html" title="class in org.apache.calcite.sql">SqlIdentifier</a> name, |
| <a href="../SqlNodeList.html" title="class in org.apache.calcite.sql">SqlNodeList</a> columnList, |
| <a href="../SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a> query)</pre> |
| <div class="block">Creates a CREATE VIEW.</div> |
| </li> |
| </ul> |
| <a id="createMaterializedView(org.apache.calcite.sql.parser.SqlParserPos,boolean,boolean,org.apache.calcite.sql.SqlIdentifier,org.apache.calcite.sql.SqlNodeList,org.apache.calcite.sql.SqlNode)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createMaterializedView</h4> |
| <pre class="methodSignature">public static <a href="SqlCreateMaterializedView.html" title="class in org.apache.calcite.sql.ddl">SqlCreateMaterializedView</a> createMaterializedView​(<a href="../parser/SqlParserPos.html" title="class in org.apache.calcite.sql.parser">SqlParserPos</a> pos, |
| boolean replace, |
| boolean ifNotExists, |
| <a href="../SqlIdentifier.html" title="class in org.apache.calcite.sql">SqlIdentifier</a> name, |
| <a href="../SqlNodeList.html" title="class in org.apache.calcite.sql">SqlNodeList</a> columnList, |
| <a href="../SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a> query)</pre> |
| <div class="block">Creates a CREATE MATERIALIZED VIEW.</div> |
| </li> |
| </ul> |
| <a id="createFunction(org.apache.calcite.sql.parser.SqlParserPos,boolean,boolean,org.apache.calcite.sql.SqlIdentifier,org.apache.calcite.sql.SqlNode,org.apache.calcite.sql.SqlNodeList)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>createFunction</h4> |
| <pre class="methodSignature">public static <a href="SqlCreateFunction.html" title="class in org.apache.calcite.sql.ddl">SqlCreateFunction</a> createFunction​(<a href="../parser/SqlParserPos.html" title="class in org.apache.calcite.sql.parser">SqlParserPos</a> pos, |
| boolean replace, |
| boolean ifNotExists, |
| <a href="../SqlIdentifier.html" title="class in org.apache.calcite.sql">SqlIdentifier</a> name, |
| <a href="../SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a> className, |
| <a href="../SqlNodeList.html" title="class in org.apache.calcite.sql">SqlNodeList</a> usingList)</pre> |
| <div class="block">Creates a CREATE FUNCTION.</div> |
| </li> |
| </ul> |
| <a id="dropSchema(org.apache.calcite.sql.parser.SqlParserPos,boolean,boolean,org.apache.calcite.sql.SqlIdentifier)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>dropSchema</h4> |
| <pre class="methodSignature">public static <a href="SqlDropSchema.html" title="class in org.apache.calcite.sql.ddl">SqlDropSchema</a> dropSchema​(<a href="../parser/SqlParserPos.html" title="class in org.apache.calcite.sql.parser">SqlParserPos</a> pos, |
| boolean foreign, |
| boolean ifExists, |
| <a href="../SqlIdentifier.html" title="class in org.apache.calcite.sql">SqlIdentifier</a> name)</pre> |
| <div class="block">Creates a DROP [ FOREIGN ] SCHEMA.</div> |
| </li> |
| </ul> |
| <a id="dropType(org.apache.calcite.sql.parser.SqlParserPos,boolean,org.apache.calcite.sql.SqlIdentifier)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>dropType</h4> |
| <pre class="methodSignature">public static <a href="SqlDropType.html" title="class in org.apache.calcite.sql.ddl">SqlDropType</a> dropType​(<a href="../parser/SqlParserPos.html" title="class in org.apache.calcite.sql.parser">SqlParserPos</a> pos, |
| boolean ifExists, |
| <a href="../SqlIdentifier.html" title="class in org.apache.calcite.sql">SqlIdentifier</a> name)</pre> |
| <div class="block">Creates a DROP TYPE.</div> |
| </li> |
| </ul> |
| <a id="dropTable(org.apache.calcite.sql.parser.SqlParserPos,boolean,org.apache.calcite.sql.SqlIdentifier)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>dropTable</h4> |
| <pre class="methodSignature">public static <a href="SqlDropTable.html" title="class in org.apache.calcite.sql.ddl">SqlDropTable</a> dropTable​(<a href="../parser/SqlParserPos.html" title="class in org.apache.calcite.sql.parser">SqlParserPos</a> pos, |
| boolean ifExists, |
| <a href="../SqlIdentifier.html" title="class in org.apache.calcite.sql">SqlIdentifier</a> name)</pre> |
| <div class="block">Creates a DROP TABLE.</div> |
| </li> |
| </ul> |
| <a id="dropView(org.apache.calcite.sql.parser.SqlParserPos,boolean,org.apache.calcite.sql.SqlIdentifier)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>dropView</h4> |
| <pre class="methodSignature">public static <a href="../SqlDrop.html" title="class in org.apache.calcite.sql">SqlDrop</a> dropView​(<a href="../parser/SqlParserPos.html" title="class in org.apache.calcite.sql.parser">SqlParserPos</a> pos, |
| boolean ifExists, |
| <a href="../SqlIdentifier.html" title="class in org.apache.calcite.sql">SqlIdentifier</a> name)</pre> |
| <div class="block">Creates a DROP VIEW.</div> |
| </li> |
| </ul> |
| <a id="dropMaterializedView(org.apache.calcite.sql.parser.SqlParserPos,boolean,org.apache.calcite.sql.SqlIdentifier)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>dropMaterializedView</h4> |
| <pre class="methodSignature">public static <a href="../SqlDrop.html" title="class in org.apache.calcite.sql">SqlDrop</a> dropMaterializedView​(<a href="../parser/SqlParserPos.html" title="class in org.apache.calcite.sql.parser">SqlParserPos</a> pos, |
| boolean ifExists, |
| <a href="../SqlIdentifier.html" title="class in org.apache.calcite.sql">SqlIdentifier</a> name)</pre> |
| <div class="block">Creates a DROP MATERIALIZED VIEW.</div> |
| </li> |
| </ul> |
| <a id="dropFunction(org.apache.calcite.sql.parser.SqlParserPos,boolean,org.apache.calcite.sql.SqlIdentifier)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>dropFunction</h4> |
| <pre class="methodSignature">public static <a href="../SqlDrop.html" title="class in org.apache.calcite.sql">SqlDrop</a> dropFunction​(<a href="../parser/SqlParserPos.html" title="class in org.apache.calcite.sql.parser">SqlParserPos</a> pos, |
| boolean ifExists, |
| <a href="../SqlIdentifier.html" title="class in org.apache.calcite.sql">SqlIdentifier</a> name)</pre> |
| <div class="block">Creates a DROP FUNCTION.</div> |
| </li> |
| </ul> |
| <a id="column(org.apache.calcite.sql.parser.SqlParserPos,org.apache.calcite.sql.SqlIdentifier,org.apache.calcite.sql.SqlDataTypeSpec,org.apache.calcite.sql.SqlNode,org.apache.calcite.schema.ColumnStrategy)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>column</h4> |
| <pre class="methodSignature">public static <a href="../SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a> column​(<a href="../parser/SqlParserPos.html" title="class in org.apache.calcite.sql.parser">SqlParserPos</a> pos, |
| <a href="../SqlIdentifier.html" title="class in org.apache.calcite.sql">SqlIdentifier</a> name, |
| <a href="../SqlDataTypeSpec.html" title="class in org.apache.calcite.sql">SqlDataTypeSpec</a> dataType, |
| <a href="../SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a> expression, |
| <a href="../../schema/ColumnStrategy.html" title="enum in org.apache.calcite.schema">ColumnStrategy</a> strategy)</pre> |
| <div class="block">Creates a column declaration.</div> |
| </li> |
| </ul> |
| <a id="attribute(org.apache.calcite.sql.parser.SqlParserPos,org.apache.calcite.sql.SqlIdentifier,org.apache.calcite.sql.SqlDataTypeSpec,org.apache.calcite.sql.SqlNode,org.apache.calcite.sql.SqlCollation)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>attribute</h4> |
| <pre class="methodSignature">public static <a href="../SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a> attribute​(<a href="../parser/SqlParserPos.html" title="class in org.apache.calcite.sql.parser">SqlParserPos</a> pos, |
| <a href="../SqlIdentifier.html" title="class in org.apache.calcite.sql">SqlIdentifier</a> name, |
| <a href="../SqlDataTypeSpec.html" title="class in org.apache.calcite.sql">SqlDataTypeSpec</a> dataType, |
| <a href="../SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a> expression, |
| <a href="../SqlCollation.html" title="class in org.apache.calcite.sql">SqlCollation</a> collation)</pre> |
| <div class="block">Creates a attribute definition.</div> |
| </li> |
| </ul> |
| <a id="check(org.apache.calcite.sql.parser.SqlParserPos,org.apache.calcite.sql.SqlIdentifier,org.apache.calcite.sql.SqlNode)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>check</h4> |
| <pre class="methodSignature">public static <a href="../SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a> check​(<a href="../parser/SqlParserPos.html" title="class in org.apache.calcite.sql.parser">SqlParserPos</a> pos, |
| <a href="../SqlIdentifier.html" title="class in org.apache.calcite.sql">SqlIdentifier</a> name, |
| <a href="../SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a> expression)</pre> |
| <div class="block">Creates a CHECK constraint.</div> |
| </li> |
| </ul> |
| <a id="unique(org.apache.calcite.sql.parser.SqlParserPos,org.apache.calcite.sql.SqlIdentifier,org.apache.calcite.sql.SqlNodeList)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>unique</h4> |
| <pre class="methodSignature">public static <a href="SqlKeyConstraint.html" title="class in org.apache.calcite.sql.ddl">SqlKeyConstraint</a> unique​(<a href="../parser/SqlParserPos.html" title="class in org.apache.calcite.sql.parser">SqlParserPos</a> pos, |
| <a href="../SqlIdentifier.html" title="class in org.apache.calcite.sql">SqlIdentifier</a> name, |
| <a href="../SqlNodeList.html" title="class in org.apache.calcite.sql">SqlNodeList</a> columnList)</pre> |
| <div class="block">Creates a UNIQUE constraint.</div> |
| </li> |
| </ul> |
| <a id="primary(org.apache.calcite.sql.parser.SqlParserPos,org.apache.calcite.sql.SqlIdentifier,org.apache.calcite.sql.SqlNodeList)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>primary</h4> |
| <pre class="methodSignature">public static <a href="SqlKeyConstraint.html" title="class in org.apache.calcite.sql.ddl">SqlKeyConstraint</a> primary​(<a href="../parser/SqlParserPos.html" title="class in org.apache.calcite.sql.parser">SqlParserPos</a> pos, |
| <a href="../SqlIdentifier.html" title="class in org.apache.calcite.sql">SqlIdentifier</a> name, |
| <a href="../SqlNodeList.html" title="class in org.apache.calcite.sql">SqlNodeList</a> columnList)</pre> |
| <div class="block">Creates a PRIMARY KEY constraint.</div> |
| </li> |
| </ul> |
| <a id="schema(org.apache.calcite.jdbc.CalcitePrepare.Context,boolean,org.apache.calcite.sql.SqlIdentifier)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>schema</h4> |
| <pre class="methodSignature">static <a href="../../util/Pair.html" title="class in org.apache.calcite.util">Pair</a><<a href="../../jdbc/CalciteSchema.html" title="class in org.apache.calcite.jdbc">CalciteSchema</a>,​java.lang.String> schema​(<a href="../../jdbc/CalcitePrepare.Context.html" title="interface in org.apache.calcite.jdbc">CalcitePrepare.Context</a> context, |
| boolean mutable, |
| <a href="../SqlIdentifier.html" title="class in org.apache.calcite.sql">SqlIdentifier</a> id)</pre> |
| <div class="block">Returns the schema in which to create an object.</div> |
| </li> |
| </ul> |
| <a id="validator(org.apache.calcite.jdbc.CalcitePrepare.Context,boolean)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>validator</h4> |
| <pre class="methodSignature">static <a href="../validate/SqlValidator.html" title="interface in org.apache.calcite.sql.validate">SqlValidator</a> validator​(<a href="../../jdbc/CalcitePrepare.Context.html" title="interface in org.apache.calcite.jdbc">CalcitePrepare.Context</a> context, |
| boolean mutable)</pre> |
| <div class="block">Returns the SqlValidator with the given <code>context</code> schema |
| and type factory.</div> |
| </li> |
| </ul> |
| <a id="renameColumns(org.apache.calcite.sql.SqlNodeList,org.apache.calcite.sql.SqlNode)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>renameColumns</h4> |
| <pre class="methodSignature">static <a href="../SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a> renameColumns​(<a href="../SqlNodeList.html" title="class in org.apache.calcite.sql">SqlNodeList</a> columnList, |
| <a href="../SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a> query)</pre> |
| <div class="block">Wraps a query to rename its columns. Used by CREATE VIEW and CREATE |
| MATERIALIZED VIEW.</div> |
| </li> |
| </ul> |
| <a id="populate(org.apache.calcite.sql.SqlIdentifier,org.apache.calcite.sql.SqlNode,org.apache.calcite.jdbc.CalcitePrepare.Context)"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>populate</h4> |
| <pre class="methodSignature">protected static void populate​(<a href="../SqlIdentifier.html" title="class in org.apache.calcite.sql">SqlIdentifier</a> name, |
| <a href="../SqlNode.html" title="class in org.apache.calcite.sql">SqlNode</a> query, |
| <a href="../../jdbc/CalcitePrepare.Context.html" title="interface in org.apache.calcite.jdbc">CalcitePrepare.Context</a> context)</pre> |
| <div class="block">Populates the table called <code>name</code> by executing <code>query</code>.</div> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </section> |
| </li> |
| </ul> |
| </div> |
| </div> |
| </main> |
| <!-- ========= END OF CLASS DATA ========= --> |
| <footer role="contentinfo"> |
| <nav role="navigation"> |
| <!-- ======= START OF BOTTOM NAVBAR ====== --> |
| <div class="bottomNav"><a id="navbar.bottom"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> |
| <a id="navbar.bottom.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../../index.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="class-use/SqlDdlNodes.html">Use</a></li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../../index-all.html">Index</a></li> |
| <li><a href="../../../../../help-doc.html">Help</a></li> |
| </ul> |
| </div> |
| <div class="subNav"> |
| <ul class="navList" id="allclasses_navbar_bottom"> |
| <li><a href="../../../../../allclasses.html">All Classes</a></li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_bottom"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li><a href="#nested.class.summary">Nested</a> | </li> |
| <li>Field | </li> |
| <li><a href="#constructor.summary">Constr</a> | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li>Field | </li> |
| <li><a href="#constructor.detail">Constr</a> | </li> |
| <li><a href="#method.detail">Method</a></li> |
| </ul> |
| </div> |
| <a id="skip.navbar.bottom"> |
| <!-- --> |
| </a></div> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| </nav> |
| <p class="legalCopy"><small>Copyright © 2012–2019 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p> |
| </footer> |
| </body> |
| </html> |