blob: 486bfaa3e9a0e7b61443e0ed33b7d8290043f39b [file] [log] [blame]
<!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 (1.8.0_291) on Mon Jan 10 11:05:25 MSK 2022 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ContinuousQueryWithTransformer (Ignite 2.12.0)</title>
<meta name="date" content="2022-01-10">
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../../../script.js"></script>
<link rel='shortcut icon' href='https://ignite.apache.org/favicon.ico'/>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="ContinuousQueryWithTransformer (Ignite 2.12.0)";
}
}
catch(err) {
}
//-->
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10};
var tabs = {65535:["t0","All 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="class-use/ContinuousQueryWithTransformer.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">
<li><a href="../../../../../org/apache/ignite/cache/query/ContinuousQuery.html" title="class in org.apache.ignite.cache.query"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../../org/apache/ignite/cache/query/ContinuousQueryWithTransformer.EventListener.html" title="interface in org.apache.ignite.cache.query"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?org/apache/ignite/cache/query/ContinuousQueryWithTransformer.html" target="_top">Frames</a></li>
<li><a href="ContinuousQueryWithTransformer.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../../allclasses-noframe.html">All&nbsp;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:&nbsp;</li>
<li><a href="#nested.class.summary">Nested</a>&nbsp;|&nbsp;</li>
<li><a href="#fields.inherited.from.class.org.apache.ignite.cache.query.AbstractContinuousQuery">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</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.ignite.cache.query</div>
<h2 title="Class ContinuousQueryWithTransformer" class="title">Class ContinuousQueryWithTransformer<span class='angle_bracket'>&lt;</span>K,V,T<span class='angle_bracket'>&gt;</span></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><a href="../../../../../org/apache/ignite/cache/query/Query.html" title="class in org.apache.ignite.cache.query">org.apache.ignite.cache.query.Query</a><span class='angle_bracket'>&lt;</span>javax.cache.Cache.Entry<span class='angle_bracket'>&lt;</span>K,V<span class='angle_bracket'>&gt;</span><span class='angle_bracket'>&gt;</span></li>
<li>
<ul class="inheritance">
<li><a href="../../../../../org/apache/ignite/cache/query/AbstractContinuousQuery.html" title="class in org.apache.ignite.cache.query">org.apache.ignite.cache.query.AbstractContinuousQuery</a><span class='angle_bracket'>&lt;</span>K,V<span class='angle_bracket'>&gt;</span></li>
<li>
<ul class="inheritance">
<li>org.apache.ignite.cache.query.ContinuousQueryWithTransformer<span class='angle_bracket'>&lt;</span>K,V,T<span class='angle_bracket'>&gt;</span></li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd><a href="https://docs.oracle.com/javase/8/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</a></dd>
</dl>
<hr>
<br>
<pre>public final class <span class="typeNameLabel">ContinuousQueryWithTransformer<span class='angle_bracket'>&lt;</span>K,V,T<span class='angle_bracket'>&gt;</span></span>
extends <a href="../../../../../org/apache/ignite/cache/query/AbstractContinuousQuery.html" title="class in org.apache.ignite.cache.query">AbstractContinuousQuery</a><span class='angle_bracket'>&lt;</span>K,V<span class='angle_bracket'>&gt;</span></pre>
<div class="block">API for configuring continuous cache queries with transformer.
<p>
Continuous queries allow to register a remote filter and a local listener
for cache updates. If an update event passes the filter, it will be transformed with transformer and sent to
the node that executed the query and local listener will be notified.
<p>
Additionally, you can execute initial query to get currently existing data.
Query can be of any type (SQL, TEXT or SCAN) and can be set via <a href="../../../../../org/apache/ignite/cache/query/ContinuousQueryWithTransformer.html#setInitialQuery-org.apache.ignite.cache.query.Query-"><code>setInitialQuery(Query)</code></a>
method.
<p>
Query can be executed either on all nodes in topology using <a href="../../../../../org/apache/ignite/IgniteCache.html#query-org.apache.ignite.cache.query.Query-"><code>IgniteCache.query(Query)</code></a>
method, or only on the local node, if <a href="../../../../../org/apache/ignite/cache/query/Query.html#setLocal-boolean-"><code>Query.setLocal(boolean)</code></a> parameter is set to <code>true</code>.
Note that in case query is distributed and a new node joins, it will get the remote
filter for the query during discovery process before it actually joins topology,
so no updates will be missed.
This will execute query on all nodes that have cache you are working with and
listener will start to receive notifications for cache updates.
<p>
To stop receiving updates call <a href="../../../../../org/apache/ignite/cache/query/QueryCursor.html#close--"><code>QueryCursor.close()</code></a> method.
Note that this works even if you didn't provide initial query. Cursor will
be empty in this case, but it will still unregister listeners when <a href="../../../../../org/apache/ignite/cache/query/QueryCursor.html#close--"><code>QueryCursor.close()</code></a>
is called.
<p>
<a href="../../../../../org/apache/ignite/lang/IgniteAsyncCallback.html" title="annotation in org.apache.ignite.lang"><code>IgniteAsyncCallback</code></a> annotation is supported for <code>CacheEntryEventFilter</code>
(see <a href="../../../../../org/apache/ignite/cache/query/ContinuousQueryWithTransformer.html#setRemoteFilterFactory-javax.cache.configuration.Factory-"><code>setRemoteFilterFactory(Factory)</code></a>) and <code>CacheEntryUpdatedListener</code>
(see <a href="../../../../../org/apache/ignite/cache/query/ContinuousQueryWithTransformer.html#setRemoteTransformerFactory-javax.cache.configuration.Factory-"><code>setRemoteTransformerFactory(Factory)</code></a>) and <code>CacheEntryUpdatedListener</code>
(see <a href="../../../../../org/apache/ignite/cache/query/ContinuousQueryWithTransformer.html#setLocalListener-org.apache.ignite.cache.query.ContinuousQueryWithTransformer.EventListener-"><code>setLocalListener(EventListener)</code></a> and <a href="../../../../../org/apache/ignite/cache/query/ContinuousQueryWithTransformer.EventListener.html" title="interface in org.apache.ignite.cache.query"><code>ContinuousQueryWithTransformer.EventListener</code></a>).
If filter and/or listener are annotated with <a href="../../../../../org/apache/ignite/lang/IgniteAsyncCallback.html" title="annotation in org.apache.ignite.lang"><code>IgniteAsyncCallback</code></a> then annotated callback
is executed in async callback pool (see <a href="../../../../../org/apache/ignite/configuration/IgniteConfiguration.html#getAsyncCallbackPoolSize--"><code>IgniteConfiguration.getAsyncCallbackPoolSize()</code></a>)
and notification order is kept the same as update order for given cache key.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../org/apache/ignite/cache/query/ContinuousQuery.html" title="class in org.apache.ignite.cache.query"><code>ContinuousQuery</code></a>,
<a href="../../../../../org/apache/ignite/lang/IgniteAsyncCallback.html" title="annotation in org.apache.ignite.lang"><code>IgniteAsyncCallback</code></a>,
<a href="../../../../../org/apache/ignite/configuration/IgniteConfiguration.html#getAsyncCallbackPoolSize--"><code>IgniteConfiguration.getAsyncCallbackPoolSize()</code></a>,
<a href="../../../../../serialized-form.html#org.apache.ignite.cache.query.ContinuousQueryWithTransformer">Serialized Form</a></dd>
</dl>
</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">&nbsp;</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 interface&nbsp;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/ignite/cache/query/ContinuousQueryWithTransformer.EventListener.html" title="interface in org.apache.ignite.cache.query">ContinuousQueryWithTransformer.EventListener</a><span class='angle_bracket'>&lt;</span><a href="../../../../../org/apache/ignite/cache/query/ContinuousQueryWithTransformer.EventListener.html" title="type parameter in ContinuousQueryWithTransformer.EventListener">T</a><span class='angle_bracket'>&gt;</span></span></code>
<div class="block">Interface for local listener of <a href="../../../../../org/apache/ignite/cache/query/ContinuousQueryWithTransformer.html" title="class in org.apache.ignite.cache.query"><code>ContinuousQueryWithTransformer</code></a> to implement.</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<ul class="blockList">
<li class="blockList"><a name="fields.inherited.from.class.org.apache.ignite.cache.query.AbstractContinuousQuery">
<!-- -->
</a>
<h3>Fields inherited from class&nbsp;org.apache.ignite.cache.query.<a href="../../../../../org/apache/ignite/cache/query/AbstractContinuousQuery.html" title="class in org.apache.ignite.cache.query">AbstractContinuousQuery</a></h3>
<code><a href="../../../../../org/apache/ignite/cache/query/AbstractContinuousQuery.html#DFLT_AUTO_UNSUBSCRIBE">DFLT_AUTO_UNSUBSCRIBE</a>, <a href="../../../../../org/apache/ignite/cache/query/AbstractContinuousQuery.html#DFLT_PAGE_SIZE">DFLT_PAGE_SIZE</a>, <a href="../../../../../org/apache/ignite/cache/query/AbstractContinuousQuery.html#DFLT_TIME_INTERVAL">DFLT_TIME_INTERVAL</a></code></li>
</ul>
</li>
</ul>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../org/apache/ignite/cache/query/ContinuousQueryWithTransformer.html#ContinuousQueryWithTransformer--">ContinuousQueryWithTransformer</a></span>()</code>
<div class="block">Creates new continuous query with transformer.</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">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</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/ignite/cache/query/ContinuousQueryWithTransformer.EventListener.html" title="interface in org.apache.ignite.cache.query">ContinuousQueryWithTransformer.EventListener</a><span class='angle_bracket'>&lt;</span><a href="../../../../../org/apache/ignite/cache/query/ContinuousQueryWithTransformer.html" title="type parameter in ContinuousQueryWithTransformer">T</a><span class='angle_bracket'>&gt;</span></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/ignite/cache/query/ContinuousQueryWithTransformer.html#getLocalListener--">getLocalListener</a></span>()</code>
<div class="block">Gets local transformed event listener</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>javax.cache.configuration.Factory<span class='angle_bracket'>&lt;</span>? extends <a href="../../../../../org/apache/ignite/lang/IgniteClosure.html" title="interface in org.apache.ignite.lang">IgniteClosure</a><span class='angle_bracket'>&lt;</span>javax.cache.event.CacheEntryEvent<span class='angle_bracket'>&lt;</span>? extends <a href="../../../../../org/apache/ignite/cache/query/ContinuousQueryWithTransformer.html" title="type parameter in ContinuousQueryWithTransformer">K</a>,? extends <a href="../../../../../org/apache/ignite/cache/query/ContinuousQueryWithTransformer.html" title="type parameter in ContinuousQueryWithTransformer">V</a><span class='angle_bracket'>&gt;</span>,<a href="../../../../../org/apache/ignite/cache/query/ContinuousQueryWithTransformer.html" title="type parameter in ContinuousQueryWithTransformer">T</a><span class='angle_bracket'>&gt;</span><span class='angle_bracket'>&gt;</span></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/ignite/cache/query/ContinuousQueryWithTransformer.html#getRemoteTransformerFactory--">getRemoteTransformerFactory</a></span>()</code>
<div class="block">Gets remote transformer factory</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/ignite/cache/query/ContinuousQueryWithTransformer.html" title="class in org.apache.ignite.cache.query">ContinuousQueryWithTransformer</a><span class='angle_bracket'>&lt;</span><a href="../../../../../org/apache/ignite/cache/query/ContinuousQueryWithTransformer.html" title="type parameter in ContinuousQueryWithTransformer">K</a>,<a href="../../../../../org/apache/ignite/cache/query/ContinuousQueryWithTransformer.html" title="type parameter in ContinuousQueryWithTransformer">V</a>,<a href="../../../../../org/apache/ignite/cache/query/ContinuousQueryWithTransformer.html" title="type parameter in ContinuousQueryWithTransformer">T</a><span class='angle_bracket'>&gt;</span></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/ignite/cache/query/ContinuousQueryWithTransformer.html#setAutoUnsubscribe-boolean-">setAutoUnsubscribe</a></span>(boolean&nbsp;autoUnsubscribe)</code>
<div class="block">Sets automatic unsubscribe flag.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/ignite/cache/query/ContinuousQueryWithTransformer.html" title="class in org.apache.ignite.cache.query">ContinuousQueryWithTransformer</a><span class='angle_bracket'>&lt;</span><a href="../../../../../org/apache/ignite/cache/query/ContinuousQueryWithTransformer.html" title="type parameter in ContinuousQueryWithTransformer">K</a>,<a href="../../../../../org/apache/ignite/cache/query/ContinuousQueryWithTransformer.html" title="type parameter in ContinuousQueryWithTransformer">V</a>,<a href="../../../../../org/apache/ignite/cache/query/ContinuousQueryWithTransformer.html" title="type parameter in ContinuousQueryWithTransformer">T</a><span class='angle_bracket'>&gt;</span></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/ignite/cache/query/ContinuousQueryWithTransformer.html#setInitialQuery-org.apache.ignite.cache.query.Query-">setInitialQuery</a></span>(<a href="../../../../../org/apache/ignite/cache/query/Query.html" title="class in org.apache.ignite.cache.query">Query</a><span class='angle_bracket'>&lt;</span>javax.cache.Cache.Entry<span class='angle_bracket'>&lt;</span><a href="../../../../../org/apache/ignite/cache/query/ContinuousQueryWithTransformer.html" title="type parameter in ContinuousQueryWithTransformer">K</a>,<a href="../../../../../org/apache/ignite/cache/query/ContinuousQueryWithTransformer.html" title="type parameter in ContinuousQueryWithTransformer">V</a><span class='angle_bracket'>&gt;</span><span class='angle_bracket'>&gt;</span>&nbsp;initQry)</code>
<div class="block">Sets initial query.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/ignite/cache/query/ContinuousQueryWithTransformer.html" title="class in org.apache.ignite.cache.query">ContinuousQueryWithTransformer</a><span class='angle_bracket'>&lt;</span><a href="../../../../../org/apache/ignite/cache/query/ContinuousQueryWithTransformer.html" title="type parameter in ContinuousQueryWithTransformer">K</a>,<a href="../../../../../org/apache/ignite/cache/query/ContinuousQueryWithTransformer.html" title="type parameter in ContinuousQueryWithTransformer">V</a>,<a href="../../../../../org/apache/ignite/cache/query/ContinuousQueryWithTransformer.html" title="type parameter in ContinuousQueryWithTransformer">T</a><span class='angle_bracket'>&gt;</span></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/ignite/cache/query/ContinuousQueryWithTransformer.html#setLocal-boolean-">setLocal</a></span>(boolean&nbsp;loc)</code>
<div class="block">Sets whether this query should be executed on local node only.</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/ignite/cache/query/ContinuousQueryWithTransformer.html" title="class in org.apache.ignite.cache.query">ContinuousQueryWithTransformer</a><span class='angle_bracket'>&lt;</span><a href="../../../../../org/apache/ignite/cache/query/ContinuousQueryWithTransformer.html" title="type parameter in ContinuousQueryWithTransformer">K</a>,<a href="../../../../../org/apache/ignite/cache/query/ContinuousQueryWithTransformer.html" title="type parameter in ContinuousQueryWithTransformer">V</a>,<a href="../../../../../org/apache/ignite/cache/query/ContinuousQueryWithTransformer.html" title="type parameter in ContinuousQueryWithTransformer">T</a><span class='angle_bracket'>&gt;</span></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/ignite/cache/query/ContinuousQueryWithTransformer.html#setLocalListener-org.apache.ignite.cache.query.ContinuousQueryWithTransformer.EventListener-">setLocalListener</a></span>(<a href="../../../../../org/apache/ignite/cache/query/ContinuousQueryWithTransformer.EventListener.html" title="interface in org.apache.ignite.cache.query">ContinuousQueryWithTransformer.EventListener</a><span class='angle_bracket'>&lt;</span><a href="../../../../../org/apache/ignite/cache/query/ContinuousQueryWithTransformer.html" title="type parameter in ContinuousQueryWithTransformer">T</a><span class='angle_bracket'>&gt;</span>&nbsp;locLsnr)</code>
<div class="block">Sets local callback.</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/ignite/cache/query/ContinuousQueryWithTransformer.html" title="class in org.apache.ignite.cache.query">ContinuousQueryWithTransformer</a><span class='angle_bracket'>&lt;</span><a href="../../../../../org/apache/ignite/cache/query/ContinuousQueryWithTransformer.html" title="type parameter in ContinuousQueryWithTransformer">K</a>,<a href="../../../../../org/apache/ignite/cache/query/ContinuousQueryWithTransformer.html" title="type parameter in ContinuousQueryWithTransformer">V</a>,<a href="../../../../../org/apache/ignite/cache/query/ContinuousQueryWithTransformer.html" title="type parameter in ContinuousQueryWithTransformer">T</a><span class='angle_bracket'>&gt;</span></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/ignite/cache/query/ContinuousQueryWithTransformer.html#setPageSize-int-">setPageSize</a></span>(int&nbsp;pageSize)</code>
<div class="block">Sets optional page size, if <code>0</code>, then default is used.</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/ignite/cache/query/ContinuousQueryWithTransformer.html" title="class in org.apache.ignite.cache.query">ContinuousQueryWithTransformer</a><span class='angle_bracket'>&lt;</span><a href="../../../../../org/apache/ignite/cache/query/ContinuousQueryWithTransformer.html" title="type parameter in ContinuousQueryWithTransformer">K</a>,<a href="../../../../../org/apache/ignite/cache/query/ContinuousQueryWithTransformer.html" title="type parameter in ContinuousQueryWithTransformer">V</a>,<a href="../../../../../org/apache/ignite/cache/query/ContinuousQueryWithTransformer.html" title="type parameter in ContinuousQueryWithTransformer">T</a><span class='angle_bracket'>&gt;</span></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/ignite/cache/query/ContinuousQueryWithTransformer.html#setRemoteFilterFactory-javax.cache.configuration.Factory-">setRemoteFilterFactory</a></span>(javax.cache.configuration.Factory<span class='angle_bracket'>&lt;</span>? extends javax.cache.event.CacheEntryEventFilter<span class='angle_bracket'>&lt;</span><a href="../../../../../org/apache/ignite/cache/query/ContinuousQueryWithTransformer.html" title="type parameter in ContinuousQueryWithTransformer">K</a>,<a href="../../../../../org/apache/ignite/cache/query/ContinuousQueryWithTransformer.html" title="type parameter in ContinuousQueryWithTransformer">V</a><span class='angle_bracket'>&gt;</span><span class='angle_bracket'>&gt;</span>&nbsp;rmtFilterFactory)</code>
<div class="block">Sets optional key-value filter factory.</div>
</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/ignite/cache/query/ContinuousQueryWithTransformer.html" title="class in org.apache.ignite.cache.query">ContinuousQueryWithTransformer</a><span class='angle_bracket'>&lt;</span><a href="../../../../../org/apache/ignite/cache/query/ContinuousQueryWithTransformer.html" title="type parameter in ContinuousQueryWithTransformer">K</a>,<a href="../../../../../org/apache/ignite/cache/query/ContinuousQueryWithTransformer.html" title="type parameter in ContinuousQueryWithTransformer">V</a>,<a href="../../../../../org/apache/ignite/cache/query/ContinuousQueryWithTransformer.html" title="type parameter in ContinuousQueryWithTransformer">T</a><span class='angle_bracket'>&gt;</span></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/ignite/cache/query/ContinuousQueryWithTransformer.html#setRemoteTransformerFactory-javax.cache.configuration.Factory-">setRemoteTransformerFactory</a></span>(javax.cache.configuration.Factory<span class='angle_bracket'>&lt;</span>? extends <a href="../../../../../org/apache/ignite/lang/IgniteClosure.html" title="interface in org.apache.ignite.lang">IgniteClosure</a><span class='angle_bracket'>&lt;</span>javax.cache.event.CacheEntryEvent<span class='angle_bracket'>&lt;</span>? extends <a href="../../../../../org/apache/ignite/cache/query/ContinuousQueryWithTransformer.html" title="type parameter in ContinuousQueryWithTransformer">K</a>,? extends <a href="../../../../../org/apache/ignite/cache/query/ContinuousQueryWithTransformer.html" title="type parameter in ContinuousQueryWithTransformer">V</a><span class='angle_bracket'>&gt;</span>,<a href="../../../../../org/apache/ignite/cache/query/ContinuousQueryWithTransformer.html" title="type parameter in ContinuousQueryWithTransformer">T</a><span class='angle_bracket'>&gt;</span><span class='angle_bracket'>&gt;</span>&nbsp;factory)</code>
<div class="block">Sets transformer factory.</div>
</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/ignite/cache/query/ContinuousQueryWithTransformer.html" title="class in org.apache.ignite.cache.query">ContinuousQueryWithTransformer</a><span class='angle_bracket'>&lt;</span><a href="../../../../../org/apache/ignite/cache/query/ContinuousQueryWithTransformer.html" title="type parameter in ContinuousQueryWithTransformer">K</a>,<a href="../../../../../org/apache/ignite/cache/query/ContinuousQueryWithTransformer.html" title="type parameter in ContinuousQueryWithTransformer">V</a>,<a href="../../../../../org/apache/ignite/cache/query/ContinuousQueryWithTransformer.html" title="type parameter in ContinuousQueryWithTransformer">T</a><span class='angle_bracket'>&gt;</span></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/ignite/cache/query/ContinuousQueryWithTransformer.html#setTimeInterval-long-">setTimeInterval</a></span>(long&nbsp;timeInterval)</code>
<div class="block">Sets time interval.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.org.apache.ignite.cache.query.AbstractContinuousQuery">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;org.apache.ignite.cache.query.<a href="../../../../../org/apache/ignite/cache/query/AbstractContinuousQuery.html" title="class in org.apache.ignite.cache.query">AbstractContinuousQuery</a></h3>
<code><a href="../../../../../org/apache/ignite/cache/query/AbstractContinuousQuery.html#getInitialQuery--">getInitialQuery</a>, <a href="../../../../../org/apache/ignite/cache/query/AbstractContinuousQuery.html#getRemoteFilterFactory--">getRemoteFilterFactory</a>, <a href="../../../../../org/apache/ignite/cache/query/AbstractContinuousQuery.html#getTimeInterval--">getTimeInterval</a>, <a href="../../../../../org/apache/ignite/cache/query/AbstractContinuousQuery.html#isAutoUnsubscribe--">isAutoUnsubscribe</a>, <a href="../../../../../org/apache/ignite/cache/query/AbstractContinuousQuery.html#isIncludeExpired--">isIncludeExpired</a>, <a href="../../../../../org/apache/ignite/cache/query/AbstractContinuousQuery.html#setIncludeExpired-boolean-">setIncludeExpired</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.org.apache.ignite.cache.query.Query">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;org.apache.ignite.cache.query.<a href="../../../../../org/apache/ignite/cache/query/Query.html" title="class in org.apache.ignite.cache.query">Query</a></h3>
<code><a href="../../../../../org/apache/ignite/cache/query/Query.html#getPageSize--">getPageSize</a>, <a href="../../../../../org/apache/ignite/cache/query/Query.html#isLocal--">isLocal</a>, <a href="../../../../../org/apache/ignite/cache/query/Query.html#prepare-int:A-">prepare</a>, <a href="../../../../../org/apache/ignite/cache/query/Query.html#toString--">toString</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;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#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">
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="ContinuousQueryWithTransformer--">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>ContinuousQueryWithTransformer</h4>
<pre>public&nbsp;ContinuousQueryWithTransformer()</pre>
<div class="block">Creates new continuous query with transformer.</div>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="setInitialQuery-org.apache.ignite.cache.query.Query-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setInitialQuery</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/ignite/cache/query/ContinuousQueryWithTransformer.html" title="class in org.apache.ignite.cache.query">ContinuousQueryWithTransformer</a><span class='angle_bracket'>&lt;</span><a href="../../../../../org/apache/ignite/cache/query/ContinuousQueryWithTransformer.html" title="type parameter in ContinuousQueryWithTransformer">K</a>,<a href="../../../../../org/apache/ignite/cache/query/ContinuousQueryWithTransformer.html" title="type parameter in ContinuousQueryWithTransformer">V</a>,<a href="../../../../../org/apache/ignite/cache/query/ContinuousQueryWithTransformer.html" title="type parameter in ContinuousQueryWithTransformer">T</a><span class='angle_bracket'>&gt;</span>&nbsp;setInitialQuery(<a href="../../../../../org/apache/ignite/cache/query/Query.html" title="class in org.apache.ignite.cache.query">Query</a><span class='angle_bracket'>&lt;</span>javax.cache.Cache.Entry<span class='angle_bracket'>&lt;</span><a href="../../../../../org/apache/ignite/cache/query/ContinuousQueryWithTransformer.html" title="type parameter in ContinuousQueryWithTransformer">K</a>,<a href="../../../../../org/apache/ignite/cache/query/ContinuousQueryWithTransformer.html" title="type parameter in ContinuousQueryWithTransformer">V</a><span class='angle_bracket'>&gt;</span><span class='angle_bracket'>&gt;</span>&nbsp;initQry)</pre>
<div class="block">Sets initial query.
<p>
This query will be executed before continuous listener is registered
which allows to iterate through entries which already existed at the
time continuous query is executed.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../../../../org/apache/ignite/cache/query/AbstractContinuousQuery.html#setInitialQuery-org.apache.ignite.cache.query.Query-">setInitialQuery</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../org/apache/ignite/cache/query/AbstractContinuousQuery.html" title="class in org.apache.ignite.cache.query">AbstractContinuousQuery</a><span class='angle_bracket'>&lt;</span><a href="../../../../../org/apache/ignite/cache/query/ContinuousQueryWithTransformer.html" title="type parameter in ContinuousQueryWithTransformer">K</a>,<a href="../../../../../org/apache/ignite/cache/query/ContinuousQueryWithTransformer.html" title="type parameter in ContinuousQueryWithTransformer">V</a><span class='angle_bracket'>&gt;</span></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>initQry</code> - Initial query.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd><code>this</code> for chaining.</dd>
</dl>
</li>
</ul>
<a name="setRemoteFilterFactory-javax.cache.configuration.Factory-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setRemoteFilterFactory</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/ignite/cache/query/ContinuousQueryWithTransformer.html" title="class in org.apache.ignite.cache.query">ContinuousQueryWithTransformer</a><span class='angle_bracket'>&lt;</span><a href="../../../../../org/apache/ignite/cache/query/ContinuousQueryWithTransformer.html" title="type parameter in ContinuousQueryWithTransformer">K</a>,<a href="../../../../../org/apache/ignite/cache/query/ContinuousQueryWithTransformer.html" title="type parameter in ContinuousQueryWithTransformer">V</a>,<a href="../../../../../org/apache/ignite/cache/query/ContinuousQueryWithTransformer.html" title="type parameter in ContinuousQueryWithTransformer">T</a><span class='angle_bracket'>&gt;</span>&nbsp;setRemoteFilterFactory(javax.cache.configuration.Factory<span class='angle_bracket'>&lt;</span>? extends javax.cache.event.CacheEntryEventFilter<span class='angle_bracket'>&lt;</span><a href="../../../../../org/apache/ignite/cache/query/ContinuousQueryWithTransformer.html" title="type parameter in ContinuousQueryWithTransformer">K</a>,<a href="../../../../../org/apache/ignite/cache/query/ContinuousQueryWithTransformer.html" title="type parameter in ContinuousQueryWithTransformer">V</a><span class='angle_bracket'>&gt;</span><span class='angle_bracket'>&gt;</span>&nbsp;rmtFilterFactory)</pre>
<div class="block">Sets optional key-value filter factory. This factory produces filter is called before entry is
sent to the master node.
<p>
<b>WARNING:</b> all operations that involve any kind of JVM-local or distributed locking
(e.g., synchronization or transactional cache operations), should be executed asynchronously
without blocking the thread that called the filter. Otherwise, you can get deadlocks.
<p>
If remote filter are annotated with <a href="../../../../../org/apache/ignite/lang/IgniteAsyncCallback.html" title="annotation in org.apache.ignite.lang"><code>IgniteAsyncCallback</code></a> then it is executed in async callback
pool (see <a href="../../../../../org/apache/ignite/configuration/IgniteConfiguration.html#getAsyncCallbackPoolSize--"><code>IgniteConfiguration.getAsyncCallbackPoolSize()</code></a>) that allow to perform a cache operations.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../../../../org/apache/ignite/cache/query/AbstractContinuousQuery.html#setRemoteFilterFactory-javax.cache.configuration.Factory-">setRemoteFilterFactory</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../org/apache/ignite/cache/query/AbstractContinuousQuery.html" title="class in org.apache.ignite.cache.query">AbstractContinuousQuery</a><span class='angle_bracket'>&lt;</span><a href="../../../../../org/apache/ignite/cache/query/ContinuousQueryWithTransformer.html" title="type parameter in ContinuousQueryWithTransformer">K</a>,<a href="../../../../../org/apache/ignite/cache/query/ContinuousQueryWithTransformer.html" title="type parameter in ContinuousQueryWithTransformer">V</a><span class='angle_bracket'>&gt;</span></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>rmtFilterFactory</code> - Key-value filter factory.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd><code>this</code> for chaining.</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../org/apache/ignite/lang/IgniteAsyncCallback.html" title="annotation in org.apache.ignite.lang"><code>IgniteAsyncCallback</code></a>,
<a href="../../../../../org/apache/ignite/configuration/IgniteConfiguration.html#getAsyncCallbackPoolSize--"><code>IgniteConfiguration.getAsyncCallbackPoolSize()</code></a></dd>
</dl>
</li>
</ul>
<a name="setRemoteTransformerFactory-javax.cache.configuration.Factory-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setRemoteTransformerFactory</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/ignite/cache/query/ContinuousQueryWithTransformer.html" title="class in org.apache.ignite.cache.query">ContinuousQueryWithTransformer</a><span class='angle_bracket'>&lt;</span><a href="../../../../../org/apache/ignite/cache/query/ContinuousQueryWithTransformer.html" title="type parameter in ContinuousQueryWithTransformer">K</a>,<a href="../../../../../org/apache/ignite/cache/query/ContinuousQueryWithTransformer.html" title="type parameter in ContinuousQueryWithTransformer">V</a>,<a href="../../../../../org/apache/ignite/cache/query/ContinuousQueryWithTransformer.html" title="type parameter in ContinuousQueryWithTransformer">T</a><span class='angle_bracket'>&gt;</span>&nbsp;setRemoteTransformerFactory(javax.cache.configuration.Factory<span class='angle_bracket'>&lt;</span>? extends <a href="../../../../../org/apache/ignite/lang/IgniteClosure.html" title="interface in org.apache.ignite.lang">IgniteClosure</a><span class='angle_bracket'>&lt;</span>javax.cache.event.CacheEntryEvent<span class='angle_bracket'>&lt;</span>? extends <a href="../../../../../org/apache/ignite/cache/query/ContinuousQueryWithTransformer.html" title="type parameter in ContinuousQueryWithTransformer">K</a>,? extends <a href="../../../../../org/apache/ignite/cache/query/ContinuousQueryWithTransformer.html" title="type parameter in ContinuousQueryWithTransformer">V</a><span class='angle_bracket'>&gt;</span>,<a href="../../../../../org/apache/ignite/cache/query/ContinuousQueryWithTransformer.html" title="type parameter in ContinuousQueryWithTransformer">T</a><span class='angle_bracket'>&gt;</span><span class='angle_bracket'>&gt;</span>&nbsp;factory)</pre>
<div class="block">Sets transformer factory. This factory produces transformer is called after and only if entry passes the filter.
<p>
<b>WARNING:</b> all operations that involve any kind of JVM-local or distributed locking
(e.g., synchronization or transactional cache operations), should be executed asynchronously
without blocking the thread that called the filter. Otherwise, you can get deadlocks.
<p></div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>factory</code> - Remote transformer factory.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd><code>this</code> for chaining.</dd>
</dl>
</li>
</ul>
<a name="getRemoteTransformerFactory--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getRemoteTransformerFactory</h4>
<pre>public&nbsp;javax.cache.configuration.Factory<span class='angle_bracket'>&lt;</span>? extends <a href="../../../../../org/apache/ignite/lang/IgniteClosure.html" title="interface in org.apache.ignite.lang">IgniteClosure</a><span class='angle_bracket'>&lt;</span>javax.cache.event.CacheEntryEvent<span class='angle_bracket'>&lt;</span>? extends <a href="../../../../../org/apache/ignite/cache/query/ContinuousQueryWithTransformer.html" title="type parameter in ContinuousQueryWithTransformer">K</a>,? extends <a href="../../../../../org/apache/ignite/cache/query/ContinuousQueryWithTransformer.html" title="type parameter in ContinuousQueryWithTransformer">V</a><span class='angle_bracket'>&gt;</span>,<a href="../../../../../org/apache/ignite/cache/query/ContinuousQueryWithTransformer.html" title="type parameter in ContinuousQueryWithTransformer">T</a><span class='angle_bracket'>&gt;</span><span class='angle_bracket'>&gt;</span>&nbsp;getRemoteTransformerFactory()</pre>
<div class="block">Gets remote transformer factory</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Remote Transformer Factory</dd>
</dl>
</li>
</ul>
<a name="setLocalListener-org.apache.ignite.cache.query.ContinuousQueryWithTransformer.EventListener-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setLocalListener</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/ignite/cache/query/ContinuousQueryWithTransformer.html" title="class in org.apache.ignite.cache.query">ContinuousQueryWithTransformer</a><span class='angle_bracket'>&lt;</span><a href="../../../../../org/apache/ignite/cache/query/ContinuousQueryWithTransformer.html" title="type parameter in ContinuousQueryWithTransformer">K</a>,<a href="../../../../../org/apache/ignite/cache/query/ContinuousQueryWithTransformer.html" title="type parameter in ContinuousQueryWithTransformer">V</a>,<a href="../../../../../org/apache/ignite/cache/query/ContinuousQueryWithTransformer.html" title="type parameter in ContinuousQueryWithTransformer">T</a><span class='angle_bracket'>&gt;</span>&nbsp;setLocalListener(<a href="../../../../../org/apache/ignite/cache/query/ContinuousQueryWithTransformer.EventListener.html" title="interface in org.apache.ignite.cache.query">ContinuousQueryWithTransformer.EventListener</a><span class='angle_bracket'>&lt;</span><a href="../../../../../org/apache/ignite/cache/query/ContinuousQueryWithTransformer.html" title="type parameter in ContinuousQueryWithTransformer">T</a><span class='angle_bracket'>&gt;</span>&nbsp;locLsnr)</pre>
<div class="block">Sets local callback. This callback is called only in local node when new updates are received.
<p>
The callback predicate accepts results of transformed by <a href="../../../../../org/apache/ignite/cache/query/AbstractContinuousQuery.html#getRemoteFilterFactory--"><code>AbstractContinuousQuery.getRemoteFilterFactory()</code></a> events
<p>
<b>WARNING:</b> all operations that involve any kind of JVM-local or distributed locking (e.g.,
synchronization or transactional cache operations), should be executed asynchronously without
blocking the thread that called the callback. Otherwise, you can get deadlocks.
<p>
If local listener are annotated with <a href="../../../../../org/apache/ignite/lang/IgniteAsyncCallback.html" title="annotation in org.apache.ignite.lang"><code>IgniteAsyncCallback</code></a> then it is executed in async callback pool
(see <a href="../../../../../org/apache/ignite/configuration/IgniteConfiguration.html#getAsyncCallbackPoolSize--"><code>IgniteConfiguration.getAsyncCallbackPoolSize()</code></a>) that allow to perform a cache operations.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>locLsnr</code> - Local callback.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd><code>this</code> for chaining.</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../org/apache/ignite/lang/IgniteAsyncCallback.html" title="annotation in org.apache.ignite.lang"><code>IgniteAsyncCallback</code></a>,
<a href="../../../../../org/apache/ignite/configuration/IgniteConfiguration.html#getAsyncCallbackPoolSize--"><code>IgniteConfiguration.getAsyncCallbackPoolSize()</code></a>,
<a href="../../../../../org/apache/ignite/cache/query/ContinuousQuery.html#setLocalListener-javax.cache.event.CacheEntryUpdatedListener-"><code>ContinuousQuery.setLocalListener(CacheEntryUpdatedListener)</code></a></dd>
</dl>
</li>
</ul>
<a name="getLocalListener--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getLocalListener</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/ignite/cache/query/ContinuousQueryWithTransformer.EventListener.html" title="interface in org.apache.ignite.cache.query">ContinuousQueryWithTransformer.EventListener</a><span class='angle_bracket'>&lt;</span><a href="../../../../../org/apache/ignite/cache/query/ContinuousQueryWithTransformer.html" title="type parameter in ContinuousQueryWithTransformer">T</a><span class='angle_bracket'>&gt;</span>&nbsp;getLocalListener()</pre>
<div class="block">Gets local transformed event listener</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>local transformed event listener</dd>
</dl>
</li>
</ul>
<a name="setTimeInterval-long-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setTimeInterval</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/ignite/cache/query/ContinuousQueryWithTransformer.html" title="class in org.apache.ignite.cache.query">ContinuousQueryWithTransformer</a><span class='angle_bracket'>&lt;</span><a href="../../../../../org/apache/ignite/cache/query/ContinuousQueryWithTransformer.html" title="type parameter in ContinuousQueryWithTransformer">K</a>,<a href="../../../../../org/apache/ignite/cache/query/ContinuousQueryWithTransformer.html" title="type parameter in ContinuousQueryWithTransformer">V</a>,<a href="../../../../../org/apache/ignite/cache/query/ContinuousQueryWithTransformer.html" title="type parameter in ContinuousQueryWithTransformer">T</a><span class='angle_bracket'>&gt;</span>&nbsp;setTimeInterval(long&nbsp;timeInterval)</pre>
<div class="block">Sets time interval.
<p>
When a cache update happens, entry is first put into a buffer. Entries from buffer will
be sent to the master node only if the buffer is full (its size can be provided via <a href="../../../../../org/apache/ignite/cache/query/Query.html#setPageSize-int-"><code>Query.setPageSize(int)</code></a>
method) or time provided via this method is exceeded.
<p>
Default time interval is <code>0</code> which means that
time check is disabled and entries will be sent only when buffer is full.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../../../../org/apache/ignite/cache/query/AbstractContinuousQuery.html#setTimeInterval-long-">setTimeInterval</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../org/apache/ignite/cache/query/AbstractContinuousQuery.html" title="class in org.apache.ignite.cache.query">AbstractContinuousQuery</a><span class='angle_bracket'>&lt;</span><a href="../../../../../org/apache/ignite/cache/query/ContinuousQueryWithTransformer.html" title="type parameter in ContinuousQueryWithTransformer">K</a>,<a href="../../../../../org/apache/ignite/cache/query/ContinuousQueryWithTransformer.html" title="type parameter in ContinuousQueryWithTransformer">V</a><span class='angle_bracket'>&gt;</span></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>timeInterval</code> - Time interval.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd><code>this</code> for chaining.</dd>
</dl>
</li>
</ul>
<a name="setAutoUnsubscribe-boolean-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setAutoUnsubscribe</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/ignite/cache/query/ContinuousQueryWithTransformer.html" title="class in org.apache.ignite.cache.query">ContinuousQueryWithTransformer</a><span class='angle_bracket'>&lt;</span><a href="../../../../../org/apache/ignite/cache/query/ContinuousQueryWithTransformer.html" title="type parameter in ContinuousQueryWithTransformer">K</a>,<a href="../../../../../org/apache/ignite/cache/query/ContinuousQueryWithTransformer.html" title="type parameter in ContinuousQueryWithTransformer">V</a>,<a href="../../../../../org/apache/ignite/cache/query/ContinuousQueryWithTransformer.html" title="type parameter in ContinuousQueryWithTransformer">T</a><span class='angle_bracket'>&gt;</span>&nbsp;setAutoUnsubscribe(boolean&nbsp;autoUnsubscribe)</pre>
<div class="block">Sets automatic unsubscribe flag.
<p>
This flag indicates that query filters on remote nodes should be
automatically unregistered if master node (node that initiated the query) leaves topology. If this flag is
<code>false</code>, filters will be unregistered only when the query is cancelled from master node, and won't ever be
unregistered if master node leaves grid.
<p>
Default value for this flag is <code>true</code>.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../../../../org/apache/ignite/cache/query/AbstractContinuousQuery.html#setAutoUnsubscribe-boolean-">setAutoUnsubscribe</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../org/apache/ignite/cache/query/AbstractContinuousQuery.html" title="class in org.apache.ignite.cache.query">AbstractContinuousQuery</a><span class='angle_bracket'>&lt;</span><a href="../../../../../org/apache/ignite/cache/query/ContinuousQueryWithTransformer.html" title="type parameter in ContinuousQueryWithTransformer">K</a>,<a href="../../../../../org/apache/ignite/cache/query/ContinuousQueryWithTransformer.html" title="type parameter in ContinuousQueryWithTransformer">V</a><span class='angle_bracket'>&gt;</span></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>autoUnsubscribe</code> - Automatic unsubscription flag.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd><code>this</code> for chaining.</dd>
</dl>
</li>
</ul>
<a name="setPageSize-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setPageSize</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/ignite/cache/query/ContinuousQueryWithTransformer.html" title="class in org.apache.ignite.cache.query">ContinuousQueryWithTransformer</a><span class='angle_bracket'>&lt;</span><a href="../../../../../org/apache/ignite/cache/query/ContinuousQueryWithTransformer.html" title="type parameter in ContinuousQueryWithTransformer">K</a>,<a href="../../../../../org/apache/ignite/cache/query/ContinuousQueryWithTransformer.html" title="type parameter in ContinuousQueryWithTransformer">V</a>,<a href="../../../../../org/apache/ignite/cache/query/ContinuousQueryWithTransformer.html" title="type parameter in ContinuousQueryWithTransformer">T</a><span class='angle_bracket'>&gt;</span>&nbsp;setPageSize(int&nbsp;pageSize)</pre>
<div class="block">Sets optional page size, if <code>0</code>, then default is used.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../../../../org/apache/ignite/cache/query/Query.html#setPageSize-int-">setPageSize</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../org/apache/ignite/cache/query/Query.html" title="class in org.apache.ignite.cache.query">Query</a><span class='angle_bracket'>&lt;</span>javax.cache.Cache.Entry<span class='angle_bracket'>&lt;</span><a href="../../../../../org/apache/ignite/cache/query/ContinuousQueryWithTransformer.html" title="type parameter in ContinuousQueryWithTransformer">K</a>,<a href="../../../../../org/apache/ignite/cache/query/ContinuousQueryWithTransformer.html" title="type parameter in ContinuousQueryWithTransformer">V</a><span class='angle_bracket'>&gt;</span><span class='angle_bracket'>&gt;</span></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>pageSize</code> - Optional page size.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd><code>this</code> for chaining.</dd>
</dl>
</li>
</ul>
<a name="setLocal-boolean-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>setLocal</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/ignite/cache/query/ContinuousQueryWithTransformer.html" title="class in org.apache.ignite.cache.query">ContinuousQueryWithTransformer</a><span class='angle_bracket'>&lt;</span><a href="../../../../../org/apache/ignite/cache/query/ContinuousQueryWithTransformer.html" title="type parameter in ContinuousQueryWithTransformer">K</a>,<a href="../../../../../org/apache/ignite/cache/query/ContinuousQueryWithTransformer.html" title="type parameter in ContinuousQueryWithTransformer">V</a>,<a href="../../../../../org/apache/ignite/cache/query/ContinuousQueryWithTransformer.html" title="type parameter in ContinuousQueryWithTransformer">T</a><span class='angle_bracket'>&gt;</span>&nbsp;setLocal(boolean&nbsp;loc)</pre>
<div class="block">Sets whether this query should be executed on local node only.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../../../../org/apache/ignite/cache/query/Query.html#setLocal-boolean-">setLocal</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../org/apache/ignite/cache/query/Query.html" title="class in org.apache.ignite.cache.query">Query</a><span class='angle_bracket'>&lt;</span>javax.cache.Cache.Entry<span class='angle_bracket'>&lt;</span><a href="../../../../../org/apache/ignite/cache/query/ContinuousQueryWithTransformer.html" title="type parameter in ContinuousQueryWithTransformer">K</a>,<a href="../../../../../org/apache/ignite/cache/query/ContinuousQueryWithTransformer.html" title="type parameter in ContinuousQueryWithTransformer">V</a><span class='angle_bracket'>&gt;</span><span class='angle_bracket'>&gt;</span></code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>loc</code> - Local flag.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd><code>this</code> for chaining.</dd>
</dl>
</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="class-use/ContinuousQueryWithTransformer.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">
<li><a href="../../../../../org/apache/ignite/cache/query/ContinuousQuery.html" title="class in org.apache.ignite.cache.query"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../../org/apache/ignite/cache/query/ContinuousQueryWithTransformer.EventListener.html" title="interface in org.apache.ignite.cache.query"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?org/apache/ignite/cache/query/ContinuousQueryWithTransformer.html" target="_top">Frames</a></li>
<li><a href="ContinuousQueryWithTransformer.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../../allclasses-noframe.html">All&nbsp;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:&nbsp;</li>
<li><a href="#nested.class.summary">Nested</a>&nbsp;|&nbsp;</li>
<li><a href="#fields.inherited.from.class.org.apache.ignite.cache.query.AbstractContinuousQuery">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</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><table width="100%" border="0" cellspacing=0 cellpadding=0 style="padding: 5px"> <tr> <td> <table style="padding-left: 0; margin: 0"> <tbody style="padding: 0; margin: 0"> <tr style="padding: 0; margin: 0"> <td> <a target=_blank href="https://ignite.apache.org"><nobr>2022 Copyright &#169; Apache Software Foundation</nobr></a> </td> </tr> </tbody> </table> </td> <td width="100%" align="right" valign="center"> <a href="https://twitter.com/ApacheIgnite" class="twitter-follow-button" data-show-count="false" data-size="large">Follow @ApacheIgnite</a> </td> </tr> <tr> <td colspan="2" valign="top" align="left"> <table style="padding-left: 0; margin: 0"> <tbody style="padding: 0; margin: 0"> <tr style="padding: 0; margin: 0"> <td> <b>Ignite Database and Caching Platform</b> </td> <td>:&nbsp;&nbsp; ver. <strong>2.12.0</strong> </td> </tr> <tr style="padding: 0; margin: 0"> <td> <b>Release Date</b> </td> <td>:&nbsp;&nbsp; January 10 2022 </td> </tr> </tbody> </table> </td> </tr> </table></small></p>
</body>
</html>