| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
| <!-- NewPage --> |
| <html lang="en"> |
| <head> |
| <!-- Generated by javadoc --> |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| <title>MaterializationService (Apache Calcite calcite API)</title> |
| <link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style"> |
| <script type="text/javascript" src="../../../../script.js"></script> |
| </head> |
| <body> |
| <script type="text/javascript"><!-- |
| try { |
| if (location.href.indexOf('is-external=true') == -1) { |
| parent.document.title="MaterializationService (Apache Calcite calcite API)"; |
| } |
| } |
| catch(err) { |
| } |
| //--> |
| var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":9,"i7":10,"i8":10,"i9":9}; |
| var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; |
| var altColor = "altColor"; |
| var rowColor = "rowColor"; |
| var tableTab = "tableTab"; |
| var activeTableTab = "activeTableTab"; |
| </script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <div class="topNav"><a name="navbar.top"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> |
| <a name="navbar.top.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../overview-summary.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</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 class="aboutLanguage"><b>Apache Calcite</b></div> |
| </div> |
| <div class="subNav"> |
| <ul class="navList"> |
| <li><a href="../../../../org/apache/calcite/materialize/MaterializationKey.html" title="class in org.apache.calcite.materialize"><span class="typeNameLink">Prev Class</span></a></li> |
| <li><a href="../../../../org/apache/calcite/materialize/MaterializationService.DefaultTableFactory.html" title="class in org.apache.calcite.materialize"><span class="typeNameLink">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../index.html?org/apache/calcite/materialize/MaterializationService.html" target="_top">Frames</a></li> |
| <li><a href="MaterializationService.html" target="_top">No Frames</a></li> |
| </ul> |
| <ul class="navList" id="allclasses_navbar_top"> |
| <li><a href="../../../../allclasses-noframe.html">All Classes</a></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> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li><a href="#nested.class.summary">Nested</a> | </li> |
| <li>Field | </li> |
| <li>Constr | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li>Field | </li> |
| <li>Constr | </li> |
| <li><a href="#method.detail">Method</a></li> |
| </ul> |
| </div> |
| <a name="skip.navbar.top"> |
| <!-- --> |
| </a></div> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <div class="header"> |
| <div class="subTitle">org.apache.calcite.materialize</div> |
| <h2 title="Class MaterializationService" class="title">Class MaterializationService</h2> |
| </div> |
| <div class="contentContainer"> |
| <ul class="inheritance"> |
| <li><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li> |
| <li> |
| <ul class="inheritance"> |
| <li>org.apache.calcite.materialize.MaterializationService</li> |
| </ul> |
| </li> |
| </ul> |
| <div class="description"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <hr> |
| <br> |
| <pre>public class <span class="typeNameLabel">MaterializationService</span> |
| extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></pre> |
| <div class="block">Manages the collection of materialized tables known to the system, |
| and the process by which they become valid and invalid.</div> |
| </li> |
| </ul> |
| </div> |
| <div class="summary"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ======== NESTED CLASS SUMMARY ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="nested.class.summary"> |
| <!-- --> |
| </a> |
| <h3>Nested Class Summary</h3> |
| <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Nested Class Summary table, listing nested classes, and an explanation"> |
| <caption><span>Nested Classes</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colLast" scope="col">Class and Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static class </code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/materialize/MaterializationService.DefaultTableFactory.html" title="class in org.apache.calcite.materialize">MaterializationService.DefaultTableFactory</a></span></code> |
| <div class="block">Default implementation of <a href="../../../../org/apache/calcite/materialize/MaterializationService.TableFactory.html" title="interface in org.apache.calcite.materialize"><code>MaterializationService.TableFactory</code></a>.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static interface </code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/materialize/MaterializationService.TableFactory.html" title="interface in org.apache.calcite.materialize">MaterializationService.TableFactory</a></span></code> |
| <div class="block">Creates tables that represent a materialized view.</div> |
| </td> |
| </tr> |
| </table> |
| </li> |
| </ul> |
| <!-- ========== METHOD SUMMARY =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method.summary"> |
| <!-- --> |
| </a> |
| <h3>Method Summary</h3> |
| <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> |
| <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="t2" class="tableTab"><span><a href="javascript:show(2);">Instance 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="colLast" scope="col">Method and Description</th> |
| </tr> |
| <tr id="i0" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../org/apache/calcite/jdbc/CalciteSchema.TableEntry.html" title="class in org.apache.calcite.jdbc">CalciteSchema.TableEntry</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/materialize/MaterializationService.html#checkValid-org.apache.calcite.materialize.MaterializationKey-">checkValid</a></span>(<a href="../../../../org/apache/calcite/materialize/MaterializationKey.html" title="class in org.apache.calcite.materialize">MaterializationKey</a> key)</code> |
| <div class="block">Checks whether a materialization is valid, and if so, returns the table |
| where the data are stored.</div> |
| </td> |
| </tr> |
| <tr id="i1" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/materialize/MaterializationService.html#clear--">clear</a></span>()</code> |
| <div class="block">De-registers all materialized tables in the system.</div> |
| </td> |
| </tr> |
| <tr id="i2" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../org/apache/calcite/materialize/MaterializationKey.html" title="class in org.apache.calcite.materialize">MaterializationKey</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/materialize/MaterializationService.html#defineMaterialization-org.apache.calcite.jdbc.CalciteSchema-org.apache.calcite.materialize.TileKey-java.lang.String-java.util.List-java.lang.String-boolean-boolean-">defineMaterialization</a></span>(<a href="../../../../org/apache/calcite/jdbc/CalciteSchema.html" title="class in org.apache.calcite.jdbc">CalciteSchema</a> schema, |
| <a href="../../../../org/apache/calcite/materialize/TileKey.html" title="class in org.apache.calcite.materialize">TileKey</a> tileKey, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> viewSql, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>> viewSchemaPath, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> suggestedTableName, |
| boolean create, |
| boolean existing)</code> |
| <div class="block">Defines a new materialization.</div> |
| </td> |
| </tr> |
| <tr id="i3" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../org/apache/calcite/materialize/MaterializationKey.html" title="class in org.apache.calcite.materialize">MaterializationKey</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/materialize/MaterializationService.html#defineMaterialization-org.apache.calcite.jdbc.CalciteSchema-org.apache.calcite.materialize.TileKey-java.lang.String-java.util.List-java.lang.String-org.apache.calcite.materialize.MaterializationService.TableFactory-boolean-boolean-">defineMaterialization</a></span>(<a href="../../../../org/apache/calcite/jdbc/CalciteSchema.html" title="class in org.apache.calcite.jdbc">CalciteSchema</a> schema, |
| <a href="../../../../org/apache/calcite/materialize/TileKey.html" title="class in org.apache.calcite.materialize">TileKey</a> tileKey, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> viewSql, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>> viewSchemaPath, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> suggestedTableName, |
| <a href="../../../../org/apache/calcite/materialize/MaterializationService.TableFactory.html" title="interface in org.apache.calcite.materialize">MaterializationService.TableFactory</a> tableFactory, |
| boolean create, |
| boolean existing)</code> |
| <div class="block">Defines a new materialization.</div> |
| </td> |
| </tr> |
| <tr id="i4" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../org/apache/calcite/util/Pair.html" title="class in org.apache.calcite.util">Pair</a><<a href="../../../../org/apache/calcite/jdbc/CalciteSchema.TableEntry.html" title="class in org.apache.calcite.jdbc">CalciteSchema.TableEntry</a>,<a href="../../../../org/apache/calcite/materialize/TileKey.html" title="class in org.apache.calcite.materialize">TileKey</a>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/materialize/MaterializationService.html#defineTile-org.apache.calcite.materialize.Lattice-org.apache.calcite.util.ImmutableBitSet-java.util.List-org.apache.calcite.jdbc.CalciteSchema-boolean-boolean-">defineTile</a></span>(<a href="../../../../org/apache/calcite/materialize/Lattice.html" title="class in org.apache.calcite.materialize">Lattice</a> lattice, |
| <a href="../../../../org/apache/calcite/util/ImmutableBitSet.html" title="class in org.apache.calcite.util">ImmutableBitSet</a> groupSet, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../org/apache/calcite/materialize/Lattice.Measure.html" title="class in org.apache.calcite.materialize">Lattice.Measure</a>> measureList, |
| <a href="../../../../org/apache/calcite/jdbc/CalciteSchema.html" title="class in org.apache.calcite.jdbc">CalciteSchema</a> schema, |
| boolean create, |
| boolean exact)</code> |
| <div class="block">Defines a tile.</div> |
| </td> |
| </tr> |
| <tr id="i5" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../org/apache/calcite/util/Pair.html" title="class in org.apache.calcite.util">Pair</a><<a href="../../../../org/apache/calcite/jdbc/CalciteSchema.TableEntry.html" title="class in org.apache.calcite.jdbc">CalciteSchema.TableEntry</a>,<a href="../../../../org/apache/calcite/materialize/TileKey.html" title="class in org.apache.calcite.materialize">TileKey</a>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/materialize/MaterializationService.html#defineTile-org.apache.calcite.materialize.Lattice-org.apache.calcite.util.ImmutableBitSet-java.util.List-org.apache.calcite.jdbc.CalciteSchema-boolean-boolean-java.lang.String-org.apache.calcite.materialize.MaterializationService.TableFactory-">defineTile</a></span>(<a href="../../../../org/apache/calcite/materialize/Lattice.html" title="class in org.apache.calcite.materialize">Lattice</a> lattice, |
| <a href="../../../../org/apache/calcite/util/ImmutableBitSet.html" title="class in org.apache.calcite.util">ImmutableBitSet</a> groupSet, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../org/apache/calcite/materialize/Lattice.Measure.html" title="class in org.apache.calcite.materialize">Lattice.Measure</a>> measureList, |
| <a href="../../../../org/apache/calcite/jdbc/CalciteSchema.html" title="class in org.apache.calcite.jdbc">CalciteSchema</a> schema, |
| boolean create, |
| boolean exact, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> suggestedTableName, |
| <a href="../../../../org/apache/calcite/materialize/MaterializationService.TableFactory.html" title="interface in org.apache.calcite.materialize">MaterializationService.TableFactory</a> tableFactory)</code> </td> |
| </tr> |
| <tr id="i6" class="altColor"> |
| <td class="colFirst"><code>static <a href="../../../../org/apache/calcite/materialize/MaterializationService.html" title="class in org.apache.calcite.materialize">MaterializationService</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/materialize/MaterializationService.html#instance--">instance</a></span>()</code> |
| <div class="block">Returns the instance of the materialization service.</div> |
| </td> |
| </tr> |
| <tr id="i7" class="rowColor"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../org/apache/calcite/prepare/Prepare.Materialization.html" title="class in org.apache.calcite.prepare">Prepare.Materialization</a>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/materialize/MaterializationService.html#query-org.apache.calcite.jdbc.CalciteSchema-">query</a></span>(<a href="../../../../org/apache/calcite/jdbc/CalciteSchema.html" title="class in org.apache.calcite.jdbc">CalciteSchema</a> rootSchema)</code> |
| <div class="block">Gathers a list of all materialized tables known within a given root |
| schema.</div> |
| </td> |
| </tr> |
| <tr id="i8" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/materialize/MaterializationService.html#removeMaterialization-org.apache.calcite.materialize.MaterializationKey-">removeMaterialization</a></span>(<a href="../../../../org/apache/calcite/materialize/MaterializationKey.html" title="class in org.apache.calcite.materialize">MaterializationKey</a> key)</code> </td> |
| </tr> |
| <tr id="i9" class="rowColor"> |
| <td class="colFirst"><code>static void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/calcite/materialize/MaterializationService.html#setThreadLocal--">setThreadLocal</a></span>()</code> |
| <div class="block">Used by tests, to ensure that they see their own service.</div> |
| </td> |
| </tr> |
| </table> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods.inherited.from.class.java.lang.Object"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3> |
| <code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| <div class="details"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ============ METHOD DETAIL ========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method.detail"> |
| <!-- --> |
| </a> |
| <h3>Method Detail</h3> |
| <a name="defineMaterialization-org.apache.calcite.jdbc.CalciteSchema-org.apache.calcite.materialize.TileKey-java.lang.String-java.util.List-java.lang.String-boolean-boolean-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>defineMaterialization</h4> |
| <pre>public <a href="../../../../org/apache/calcite/materialize/MaterializationKey.html" title="class in org.apache.calcite.materialize">MaterializationKey</a> defineMaterialization(<a href="../../../../org/apache/calcite/jdbc/CalciteSchema.html" title="class in org.apache.calcite.jdbc">CalciteSchema</a> schema, |
| <a href="../../../../org/apache/calcite/materialize/TileKey.html" title="class in org.apache.calcite.materialize">TileKey</a> tileKey, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> viewSql, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>> viewSchemaPath, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> suggestedTableName, |
| boolean create, |
| boolean existing)</pre> |
| <div class="block">Defines a new materialization. Returns its key.</div> |
| </li> |
| </ul> |
| <a name="defineMaterialization-org.apache.calcite.jdbc.CalciteSchema-org.apache.calcite.materialize.TileKey-java.lang.String-java.util.List-java.lang.String-org.apache.calcite.materialize.MaterializationService.TableFactory-boolean-boolean-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>defineMaterialization</h4> |
| <pre>public <a href="../../../../org/apache/calcite/materialize/MaterializationKey.html" title="class in org.apache.calcite.materialize">MaterializationKey</a> defineMaterialization(<a href="../../../../org/apache/calcite/jdbc/CalciteSchema.html" title="class in org.apache.calcite.jdbc">CalciteSchema</a> schema, |
| <a href="../../../../org/apache/calcite/materialize/TileKey.html" title="class in org.apache.calcite.materialize">TileKey</a> tileKey, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> viewSql, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>> viewSchemaPath, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> suggestedTableName, |
| <a href="../../../../org/apache/calcite/materialize/MaterializationService.TableFactory.html" title="interface in org.apache.calcite.materialize">MaterializationService.TableFactory</a> tableFactory, |
| boolean create, |
| boolean existing)</pre> |
| <div class="block">Defines a new materialization. Returns its key.</div> |
| </li> |
| </ul> |
| <a name="checkValid-org.apache.calcite.materialize.MaterializationKey-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>checkValid</h4> |
| <pre>public <a href="../../../../org/apache/calcite/jdbc/CalciteSchema.TableEntry.html" title="class in org.apache.calcite.jdbc">CalciteSchema.TableEntry</a> checkValid(<a href="../../../../org/apache/calcite/materialize/MaterializationKey.html" title="class in org.apache.calcite.materialize">MaterializationKey</a> key)</pre> |
| <div class="block">Checks whether a materialization is valid, and if so, returns the table |
| where the data are stored.</div> |
| </li> |
| </ul> |
| <a name="defineTile-org.apache.calcite.materialize.Lattice-org.apache.calcite.util.ImmutableBitSet-java.util.List-org.apache.calcite.jdbc.CalciteSchema-boolean-boolean-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>defineTile</h4> |
| <pre>public <a href="../../../../org/apache/calcite/util/Pair.html" title="class in org.apache.calcite.util">Pair</a><<a href="../../../../org/apache/calcite/jdbc/CalciteSchema.TableEntry.html" title="class in org.apache.calcite.jdbc">CalciteSchema.TableEntry</a>,<a href="../../../../org/apache/calcite/materialize/TileKey.html" title="class in org.apache.calcite.materialize">TileKey</a>> defineTile(<a href="../../../../org/apache/calcite/materialize/Lattice.html" title="class in org.apache.calcite.materialize">Lattice</a> lattice, |
| <a href="../../../../org/apache/calcite/util/ImmutableBitSet.html" title="class in org.apache.calcite.util">ImmutableBitSet</a> groupSet, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../org/apache/calcite/materialize/Lattice.Measure.html" title="class in org.apache.calcite.materialize">Lattice.Measure</a>> measureList, |
| <a href="../../../../org/apache/calcite/jdbc/CalciteSchema.html" title="class in org.apache.calcite.jdbc">CalciteSchema</a> schema, |
| boolean create, |
| boolean exact)</pre> |
| <div class="block">Defines a tile. |
| |
| <p>Setting the <code>create</code> flag to false prevents a materialization |
| from being created if one does not exist. Critically, it is set to false |
| during the recursive SQL that populates a materialization. Otherwise a |
| materialization would try to create itself to populate itself!</div> |
| </li> |
| </ul> |
| <a name="defineTile-org.apache.calcite.materialize.Lattice-org.apache.calcite.util.ImmutableBitSet-java.util.List-org.apache.calcite.jdbc.CalciteSchema-boolean-boolean-java.lang.String-org.apache.calcite.materialize.MaterializationService.TableFactory-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>defineTile</h4> |
| <pre>public <a href="../../../../org/apache/calcite/util/Pair.html" title="class in org.apache.calcite.util">Pair</a><<a href="../../../../org/apache/calcite/jdbc/CalciteSchema.TableEntry.html" title="class in org.apache.calcite.jdbc">CalciteSchema.TableEntry</a>,<a href="../../../../org/apache/calcite/materialize/TileKey.html" title="class in org.apache.calcite.materialize">TileKey</a>> defineTile(<a href="../../../../org/apache/calcite/materialize/Lattice.html" title="class in org.apache.calcite.materialize">Lattice</a> lattice, |
| <a href="../../../../org/apache/calcite/util/ImmutableBitSet.html" title="class in org.apache.calcite.util">ImmutableBitSet</a> groupSet, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../org/apache/calcite/materialize/Lattice.Measure.html" title="class in org.apache.calcite.materialize">Lattice.Measure</a>> measureList, |
| <a href="../../../../org/apache/calcite/jdbc/CalciteSchema.html" title="class in org.apache.calcite.jdbc">CalciteSchema</a> schema, |
| boolean create, |
| boolean exact, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> suggestedTableName, |
| <a href="../../../../org/apache/calcite/materialize/MaterializationService.TableFactory.html" title="interface in org.apache.calcite.materialize">MaterializationService.TableFactory</a> tableFactory)</pre> |
| </li> |
| </ul> |
| <a name="query-org.apache.calcite.jdbc.CalciteSchema-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>query</h4> |
| <pre>public <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../org/apache/calcite/prepare/Prepare.Materialization.html" title="class in org.apache.calcite.prepare">Prepare.Materialization</a>> query(<a href="../../../../org/apache/calcite/jdbc/CalciteSchema.html" title="class in org.apache.calcite.jdbc">CalciteSchema</a> rootSchema)</pre> |
| <div class="block">Gathers a list of all materialized tables known within a given root |
| schema. (Each root schema defines a disconnected namespace, with no overlap |
| with the current schema. Especially in a test run, the contents of two |
| root schemas may look similar.)</div> |
| </li> |
| </ul> |
| <a name="clear--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>clear</h4> |
| <pre>public void clear()</pre> |
| <div class="block">De-registers all materialized tables in the system.</div> |
| </li> |
| </ul> |
| <a name="setThreadLocal--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setThreadLocal</h4> |
| <pre>public static void setThreadLocal()</pre> |
| <div class="block">Used by tests, to ensure that they see their own service.</div> |
| </li> |
| </ul> |
| <a name="instance--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>instance</h4> |
| <pre>public static <a href="../../../../org/apache/calcite/materialize/MaterializationService.html" title="class in org.apache.calcite.materialize">MaterializationService</a> instance()</pre> |
| <div class="block">Returns the instance of the materialization service. Usually the global |
| one, but returns a thread-local one during testing (when |
| <a href="../../../../org/apache/calcite/materialize/MaterializationService.html#setThreadLocal--"><code>setThreadLocal()</code></a> has been called by the current thread).</div> |
| </li> |
| </ul> |
| <a name="removeMaterialization-org.apache.calcite.materialize.MaterializationKey-"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>removeMaterialization</h4> |
| <pre>public void removeMaterialization(<a href="../../../../org/apache/calcite/materialize/MaterializationKey.html" title="class in org.apache.calcite.materialize">MaterializationKey</a> key)</pre> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| </div> |
| <!-- ========= END OF CLASS DATA ========= --> |
| <!-- ======= START OF BOTTOM NAVBAR ====== --> |
| <div class="bottomNav"><a name="navbar.bottom"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> |
| <a name="navbar.bottom.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../overview-summary.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</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 class="aboutLanguage"><b>Apache Calcite</b></div> |
| </div> |
| <div class="subNav"> |
| <ul class="navList"> |
| <li><a href="../../../../org/apache/calcite/materialize/MaterializationKey.html" title="class in org.apache.calcite.materialize"><span class="typeNameLink">Prev Class</span></a></li> |
| <li><a href="../../../../org/apache/calcite/materialize/MaterializationService.DefaultTableFactory.html" title="class in org.apache.calcite.materialize"><span class="typeNameLink">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../index.html?org/apache/calcite/materialize/MaterializationService.html" target="_top">Frames</a></li> |
| <li><a href="MaterializationService.html" target="_top">No Frames</a></li> |
| </ul> |
| <ul class="navList" id="allclasses_navbar_bottom"> |
| <li><a href="../../../../allclasses-noframe.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> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li><a href="#nested.class.summary">Nested</a> | </li> |
| <li>Field | </li> |
| <li>Constr | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li>Field | </li> |
| <li>Constr | </li> |
| <li><a href="#method.detail">Method</a></li> |
| </ul> |
| </div> |
| <a name="skip.navbar.bottom"> |
| <!-- --> |
| </a></div> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| <p class="legalCopy"><small>Copyright © 2012-2020 Apache Software Foundation. All Rights Reserved.</small></p> |
| </body> |
| </html> |