<li><ahref="../../../../../../../org/gcube/accounting/accounting/summary/access/impl/DBStructure.Measure.html"title="class in org.gcube.accounting.accounting.summary.access.impl"><spanclass="typeNameLink">Prev Class</span></a></li>
<li><ahref="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">java.lang.Object</a></li>
<pre>public class <spanclass="typeNameLabel">Queries</span>
extends <ahref="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a></pre>
<thclass="colFirst"scope="col">Modifier and Type</th>
<thclass="colLast"scope="col">Method and Description</th>
</tr>
<trid="i0"class="altColor">
<tdclass="colFirst"><code>static <ahref="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a></code></td>
<tdclass="colLast"><code><spanclass="memberNameLink"><ahref="../../../../../../../org/gcube/accounting/accounting/summary/access/impl/Queries.html#asIDSet-org.gcube.accounting.accounting.summary.access.model.ScopeDescriptor-">asIDSet</a></span>(<ahref="../../../../../../../org/gcube/accounting/accounting/summary/access/model/ScopeDescriptor.html"title="class in org.gcube.accounting.accounting.summary.access.model">ScopeDescriptor</a> desc)</code> </td>
</tr>
<trid="i1"class="rowColor">
<tdclass="colFirst"><code><ahref="http://download.oracle.com/javase/6/docs/api/java/sql/ResultSet.html?is-external=true"title="class or interface in java.sql">ResultSet</a></code></td>
<ahref="../../../../../../../org/gcube/accounting/accounting/summary/access/model/ScopeDescriptor.html"title="class in org.gcube.accounting.accounting.summary.access.model">ScopeDescriptor</a> scope,
<ahref="../../../../../../../org/gcube/accounting/accounting/summary/access/model/MeasureResolution.html"title="enum in org.gcube.accounting.accounting.summary.access.model">MeasureResolution</a> resolution)</code>
<tdclass="colFirst"><code><ahref="http://download.oracle.com/javase/6/docs/api/java/sql/PreparedStatement.html?is-external=true"title="class or interface in java.sql">PreparedStatement</a></code></td>
<tdclass="colFirst"><code><ahref="http://download.oracle.com/javase/6/docs/api/java/sql/PreparedStatement.html?is-external=true"title="class or interface in java.sql">PreparedStatement</a></code></td>
<tdclass="colLast"><code><spanclass="memberNameLink"><ahref="../../../../../../../org/gcube/accounting/accounting/summary/access/impl/Queries.html#getMeasureCount-java.lang.String-">getMeasureCount</a></span>(<ahref="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> table)</code> </td>
</tr>
<trid="i5"class="rowColor">
<tdclass="colFirst"><code><ahref="http://download.oracle.com/javase/6/docs/api/java/sql/PreparedStatement.html?is-external=true"title="class or interface in java.sql">PreparedStatement</a></code></td>
NB : Measure is replicated in order to manage update on conflict</div>
</td>
</tr>
<trid="i6"class="altColor">
<tdclass="colFirst"><code><ahref="http://download.oracle.com/javase/6/docs/api/java/sql/ResultSet.html?is-external=true"title="class or interface in java.sql">ResultSet</a></code></td>
<tdclass="colFirst"><code><ahref="http://download.oracle.com/javase/6/docs/api/java/sql/ResultSet.html?is-external=true"title="class or interface in java.sql">ResultSet</a></code></td>
<tdclass="colFirst"><code><ahref="http://download.oracle.com/javase/6/docs/api/java/sql/PreparedStatement.html?is-external=true"title="class or interface in java.sql">PreparedStatement</a></code></td>
<tdclass="colLast"><code><spanclass="memberNameLink"><ahref="../../../../../../../org/gcube/accounting/accounting/summary/access/impl/Queries.html#prepareMeasuresByDimension-org.gcube.accounting.accounting.summary.access.model.ScopeDescriptor-org.gcube.accounting.accounting.summary.access.model.MeasureResolution-">prepareMeasuresByDimension</a></span>(<ahref="../../../../../../../org/gcube/accounting/accounting/summary/access/model/ScopeDescriptor.html"title="class in org.gcube.accounting.accounting.summary.access.model">ScopeDescriptor</a> scope,
<ahref="../../../../../../../org/gcube/accounting/accounting/summary/access/model/MeasureResolution.html"title="enum in org.gcube.accounting.accounting.summary.access.model">MeasureResolution</a> resolution)</code>
<divclass="block">Prepares a statement for Getting Dim=? in time interval for the scope set
<h3>Methods inherited from class java.lang.<ahref="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a></h3>
<code><ahref="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone--"title="class or interface in java.lang">clone</a>, <ahref="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-"title="class or interface in java.lang">equals</a>, <ahref="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize--"title="class or interface in java.lang">finalize</a>, <ahref="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass--"title="class or interface in java.lang">getClass</a>, <ahref="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode--"title="class or interface in java.lang">hashCode</a>, <ahref="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify--"title="class or interface in java.lang">notify</a>, <ahref="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notifyAll--"title="class or interface in java.lang">notifyAll</a>, <ahref="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#toString--"title="class or interface in java.lang">toString</a>, <ahref="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait--"title="class or interface in java.lang">wait</a>, <ahref="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait-long-"title="class or interface in java.lang">wait</a>, <ahref="http://download.oracle.com/javase/6/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>
<divclass="details">
<ulclass="blockList">
<liclass="blockList">
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ulclass="blockList">
<liclass="blockList"><aname="constructor.detail">
<!---->
</a>
<h3>Constructor Detail</h3>
<aname="Queries--">
<!---->
</a>
<ulclass="blockListLast">
<liclass="blockList">
<h4>Queries</h4>
<pre>public Queries()</pre>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ulclass="blockList">
<liclass="blockList"><aname="method.detail">
<!---->
</a>
<h3>Method Detail</h3>
<aname="getMeasureCount-java.lang.String-">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>getMeasureCount</h4>
<pre>public long getMeasureCount(<ahref="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> table)
throws <ahref="http://download.oracle.com/javase/6/docs/api/java/sql/SQLException.html?is-external=true"title="class or interface in java.sql">SQLException</a></pre>
<dl>
<dt><spanclass="throwsLabel">Throws:</span></dt>
<dd><code><ahref="http://download.oracle.com/javase/6/docs/api/java/sql/SQLException.html?is-external=true"title="class or interface in java.sql">SQLException</a></code></dd>
</dl>
</li>
</ul>
<aname="listDimensions--">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>listDimensions</h4>
<pre>public <ahref="http://download.oracle.com/javase/6/docs/api/java/sql/ResultSet.html?is-external=true"title="class or interface in java.sql">ResultSet</a> listDimensions()
throws <ahref="http://download.oracle.com/javase/6/docs/api/java/sql/SQLException.html?is-external=true"title="class or interface in java.sql">SQLException</a></pre>
<dl>
<dt><spanclass="throwsLabel">Throws:</span></dt>
<dd><code><ahref="http://download.oracle.com/javase/6/docs/api/java/sql/SQLException.html?is-external=true"title="class or interface in java.sql">SQLException</a></code></dd>
</dl>
</li>
</ul>
<aname="listContexts--">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>listContexts</h4>
<pre>public <ahref="http://download.oracle.com/javase/6/docs/api/java/sql/ResultSet.html?is-external=true"title="class or interface in java.sql">ResultSet</a> listContexts()
throws <ahref="http://download.oracle.com/javase/6/docs/api/java/sql/SQLException.html?is-external=true"title="class or interface in java.sql">SQLException</a></pre>
<dl>
<dt><spanclass="throwsLabel">Throws:</span></dt>
<dd><code><ahref="http://download.oracle.com/javase/6/docs/api/java/sql/SQLException.html?is-external=true"title="class or interface in java.sql">SQLException</a></code></dd>
</dl>
</li>
</ul>
<aname="getMeasureInsertionPreparedStatement--">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>getMeasureInsertionPreparedStatement</h4>
<pre>public <ahref="http://download.oracle.com/javase/6/docs/api/java/sql/PreparedStatement.html?is-external=true"title="class or interface in java.sql">PreparedStatement</a> getMeasureInsertionPreparedStatement()
throws <ahref="http://download.oracle.com/javase/6/docs/api/java/sql/SQLException.html?is-external=true"title="class or interface in java.sql">SQLException</a></pre>
<divclass="block">Returned parameters order is
Context, Dimension, Time, Measure, Measure
NB : Measure is replicated in order to manage update on conflict</div>
<dl>
<dt><spanclass="returnLabel">Returns:</span></dt>
<dd>PS with parameters</dd>
<dt><spanclass="throwsLabel">Throws:</span></dt>
<dd><code><ahref="http://download.oracle.com/javase/6/docs/api/java/sql/SQLException.html?is-external=true"title="class or interface in java.sql">SQLException</a></code></dd>
<pre>public <ahref="http://download.oracle.com/javase/6/docs/api/java/sql/PreparedStatement.html?is-external=true"title="class or interface in java.sql">PreparedStatement</a> getDimensionInsertionPreparedStatement()
throws <ahref="http://download.oracle.com/javase/6/docs/api/java/sql/SQLException.html?is-external=true"title="class or interface in java.sql">SQLException</a></pre>
<divclass="block">Returned parameters order is
ID,LABEL,GROUP,AGGREGATED_MEASURE</div>
<dl>
<dt><spanclass="returnLabel">Returns:</span></dt>
<dt><spanclass="throwsLabel">Throws:</span></dt>
<dd><code><ahref="http://download.oracle.com/javase/6/docs/api/java/sql/SQLException.html?is-external=true"title="class or interface in java.sql">SQLException</a></code></dd>
</dl>
</li>
</ul>
<aname="getContextInsertionPreparedStatement--">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>getContextInsertionPreparedStatement</h4>
<pre>public <ahref="http://download.oracle.com/javase/6/docs/api/java/sql/PreparedStatement.html?is-external=true"title="class or interface in java.sql">PreparedStatement</a> getContextInsertionPreparedStatement()
throws <ahref="http://download.oracle.com/javase/6/docs/api/java/sql/SQLException.html?is-external=true"title="class or interface in java.sql">SQLException</a></pre>
<divclass="block">Returned parameters order is
ID,LABEL</div>
<dl>
<dt><spanclass="returnLabel">Returns:</span></dt>
<dt><spanclass="throwsLabel">Throws:</span></dt>
<dd><code><ahref="http://download.oracle.com/javase/6/docs/api/java/sql/SQLException.html?is-external=true"title="class or interface in java.sql">SQLException</a></code></dd>
<pre>public <ahref="http://download.oracle.com/javase/6/docs/api/java/sql/ResultSet.html?is-external=true"title="class or interface in java.sql">ResultSet</a> getAvailableDimensions(java.time.LocalDateTime from,
java.time.LocalDateTime to,
<ahref="../../../../../../../org/gcube/accounting/accounting/summary/access/model/ScopeDescriptor.html"title="class in org.gcube.accounting.accounting.summary.access.model">ScopeDescriptor</a> scope,
<ahref="../../../../../../../org/gcube/accounting/accounting/summary/access/model/MeasureResolution.html"title="enum in org.gcube.accounting.accounting.summary.access.model">MeasureResolution</a> resolution)
throws <ahref="http://download.oracle.com/javase/6/docs/api/java/sql/SQLException.html?is-external=true"title="class or interface in java.sql">SQLException</a></pre>
<dd><code><ahref="http://download.oracle.com/javase/6/docs/api/java/sql/SQLException.html?is-external=true"title="class or interface in java.sql">SQLException</a></code></dd>
<pre>public <ahref="http://download.oracle.com/javase/6/docs/api/java/sql/PreparedStatement.html?is-external=true"title="class or interface in java.sql">PreparedStatement</a> prepareMeasuresByDimension(<ahref="../../../../../../../org/gcube/accounting/accounting/summary/access/model/ScopeDescriptor.html"title="class in org.gcube.accounting.accounting.summary.access.model">ScopeDescriptor</a> scope,
<ahref="../../../../../../../org/gcube/accounting/accounting/summary/access/model/MeasureResolution.html"title="enum in org.gcube.accounting.accounting.summary.access.model">MeasureResolution</a> resolution)
throws <ahref="http://download.oracle.com/javase/6/docs/api/java/sql/SQLException.html?is-external=true"title="class or interface in java.sql">SQLException</a></pre>
<divclass="block">Prepares a statement for Getting Dim=? in time interval for the scope set
<dd><code><ahref="http://download.oracle.com/javase/6/docs/api/java/sql/SQLException.html?is-external=true"title="class or interface in java.sql">SQLException</a></code></dd>
<pre>public static final <ahref="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true"title="class or interface in java.lang">String</a> asIDSet(<ahref="../../../../../../../org/gcube/accounting/accounting/summary/access/model/ScopeDescriptor.html"title="class in org.gcube.accounting.accounting.summary.access.model">ScopeDescriptor</a> desc)</pre>
<li><ahref="../../../../../../../org/gcube/accounting/accounting/summary/access/impl/DBStructure.Measure.html"title="class in org.gcube.accounting.accounting.summary.access.impl"><spanclass="typeNameLink">Prev Class</span></a></li>