1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201 |
- <!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_161) on Thu Aug 16 18:54:14 JST 2018 -->
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <title>Query (twitter4j-core 4.0.7 API)</title>
- <meta name="date" content="2018-08-16">
- <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="Query (twitter4j-core 4.0.7 API)";
- }
- }
- catch(err) {
- }
- //-->
- var methods = {"i0":10,"i1":10,"i2":10,"i3":42,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":42,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10,"i31":10,"i32":10,"i33":10,"i34":10};
- var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"],32:["t6","Deprecated 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/Query.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="../twitter4j/Place.html" title="interface in twitter4j"><span class="typeNameLink">Prev Class</span></a></li>
- <li><a href="../twitter4j/Query.ResultType.html" title="enum in twitter4j"><span class="typeNameLink">Next Class</span></a></li>
- </ul>
- <ul class="navList">
- <li><a href="../index.html?twitter4j/Query.html" target="_top">Frames</a></li>
- <li><a href="Query.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><a href="#field.summary">Field</a> | </li>
- <li><a href="#constructor.summary">Constr</a> | </li>
- <li><a href="#method.summary">Method</a></li>
- </ul>
- <ul class="subNavList">
- <li>Detail: </li>
- <li><a href="#field.detail">Field</a> | </li>
- <li><a href="#constructor.detail">Constr</a> | </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">twitter4j</div>
- <h2 title="Class Query" class="title">Class Query</h2>
- </div>
- <div class="contentContainer">
- <ul class="inheritance">
- <li><a href="http://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>twitter4j.Query</li>
- </ul>
- </li>
- </ul>
- <div class="description">
- <ul class="blockList">
- <li class="blockList">
- <dl>
- <dt>All Implemented Interfaces:</dt>
- <dd><a href="http://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">Query</span>
- extends <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>
- implements <a href="http://docs.oracle.com/javase/8/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</a></pre>
- <div class="block">A data class represents search query.<br>
- An instance of this class is NOT thread safe.<br>
- Instances can be shared across threads, but should not be mutated while a search is ongoing.</div>
- <dl>
- <dt><span class="simpleTagLabel">Author:</span></dt>
- <dd>Yusuke Yamamoto - yusuke at mac.com</dd>
- <dt><span class="seeLabel">See Also:</span></dt>
- <dd><a href="https://dev.twitter.com/docs/api/1.1/get/search">GET search | Twitter Developers</a>,
- <a href="http://search.twitter.com/operators">Twitter API / Search Operators</a>,
- <a href="../serialized-form.html#twitter4j.Query">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"> </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="../twitter4j/Query.ResultType.html" title="enum in twitter4j">Query.ResultType</a></span></code> </td>
- </tr>
- <tr class="rowColor">
- <td class="colFirst"><code>static class </code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../twitter4j/Query.Unit.html" title="enum in twitter4j">Query.Unit</a></span></code> </td>
- </tr>
- </table>
- </li>
- </ul>
- <!-- =========== FIELD SUMMARY =========== -->
- <ul class="blockList">
- <li class="blockList"><a name="field.summary">
- <!-- -->
- </a>
- <h3>Field Summary</h3>
- <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
- <caption><span>Fields</span><span class="tabEnd"> </span></caption>
- <tr>
- <th class="colFirst" scope="col">Modifier and Type</th>
- <th class="colLast" scope="col">Field and Description</th>
- </tr>
- <tr class="altColor">
- <td class="colFirst"><code>static <a href="../twitter4j/Query.Unit.html" title="enum in twitter4j">Query.Unit</a></code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../twitter4j/Query.html#KILOMETERS">KILOMETERS</a></span></code> </td>
- </tr>
- <tr class="rowColor">
- <td class="colFirst"><code>static <a href="../twitter4j/Query.Unit.html" title="enum in twitter4j">Query.Unit</a></code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../twitter4j/Query.html#MILES">MILES</a></span></code> </td>
- </tr>
- <tr class="altColor">
- <td class="colFirst"><code>static <a href="../twitter4j/Query.ResultType.html" title="enum in twitter4j">Query.ResultType</a></code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../twitter4j/Query.html#MIXED">MIXED</a></span></code>
- <div class="block">mixed: Include both popular and real time results in the response.</div>
- </td>
- </tr>
- <tr class="rowColor">
- <td class="colFirst"><code>static <a href="../twitter4j/Query.ResultType.html" title="enum in twitter4j">Query.ResultType</a></code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../twitter4j/Query.html#POPULAR">POPULAR</a></span></code>
- <div class="block">popular: return only the most popular results in the response.</div>
- </td>
- </tr>
- <tr class="altColor">
- <td class="colFirst"><code>static <a href="../twitter4j/Query.ResultType.html" title="enum in twitter4j">Query.ResultType</a></code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../twitter4j/Query.html#RECENT">RECENT</a></span></code>
- <div class="block">recent: return only the most recent results in the response</div>
- </td>
- </tr>
- </table>
- </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"> </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="../twitter4j/Query.html#Query--">Query</a></span>()</code> </td>
- </tr>
- <tr class="rowColor">
- <td class="colOne"><code><span class="memberNameLink"><a href="../twitter4j/Query.html#Query-java.lang.String-">Query</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> query)</code> </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="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><span id="t6" class="tableTab"><span><a href="javascript:show(32);">Deprecated 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="../twitter4j/Query.html" title="class in twitter4j">Query</a></code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../twitter4j/Query.html#count-int-">count</a></span>(int count)</code>
- <div class="block">sets the number of tweets to return per page, up to a max of 100</div>
- </td>
- </tr>
- <tr id="i1" class="rowColor">
- <td class="colFirst"><code>boolean</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../twitter4j/Query.html#equals-java.lang.Object-">equals</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> o)</code> </td>
- </tr>
- <tr id="i2" class="altColor">
- <td class="colFirst"><code><a href="../twitter4j/Query.html" title="class in twitter4j">Query</a></code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../twitter4j/Query.html#geoCode-twitter4j.GeoLocation-double-twitter4j.Query.Unit-">geoCode</a></span>(<a href="../twitter4j/GeoLocation.html" title="class in twitter4j">GeoLocation</a> location,
- double radius,
- <a href="../twitter4j/Query.Unit.html" title="enum in twitter4j">Query.Unit</a> unit)</code>
- <div class="block">returns tweets by users located within a given radius of the given latitude/longitude, where the user's location is taken from their Twitter profile</div>
- </td>
- </tr>
- <tr id="i3" class="rowColor">
- <td class="colFirst"><code><a href="../twitter4j/Query.html" title="class in twitter4j">Query</a></code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../twitter4j/Query.html#geoCode-twitter4j.GeoLocation-double-java.lang.String-">geoCode</a></span>(<a href="../twitter4j/GeoLocation.html" title="class in twitter4j">GeoLocation</a> location,
- double radius,
- <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> unit)</code>
- <div class="block"><span class="deprecatedLabel">Deprecated.</span>
- <div class="block"><span class="deprecationComment">use <a href="../twitter4j/Query.html#geoCode-twitter4j.GeoLocation-double-twitter4j.Query.Unit-"><code>geoCode(GeoLocation, double, twitter4j.Query.Unit)</code></a> instead</span></div>
- </div>
- </td>
- </tr>
- <tr id="i4" class="altColor">
- <td class="colFirst"><code>int</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../twitter4j/Query.html#getCount--">getCount</a></span>()</code>
- <div class="block">Returns the number of tweets to return per page, up to a max of 100</div>
- </td>
- </tr>
- <tr id="i5" class="rowColor">
- <td class="colFirst"><code><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../twitter4j/Query.html#getGeocode--">getGeocode</a></span>()</code>
- <div class="block">Returns the specified geocode</div>
- </td>
- </tr>
- <tr id="i6" class="altColor">
- <td class="colFirst"><code><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../twitter4j/Query.html#getLang--">getLang</a></span>()</code>
- <div class="block">Returns the lang</div>
- </td>
- </tr>
- <tr id="i7" class="rowColor">
- <td class="colFirst"><code><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../twitter4j/Query.html#getLocale--">getLocale</a></span>()</code>
- <div class="block">Returns the language of the query you are sending (only ja is currently effective).</div>
- </td>
- </tr>
- <tr id="i8" class="altColor">
- <td class="colFirst"><code>long</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../twitter4j/Query.html#getMaxId--">getMaxId</a></span>()</code>
- <div class="block">Returns tweets with status ids less than the given id.</div>
- </td>
- </tr>
- <tr id="i9" class="rowColor">
- <td class="colFirst"><code><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../twitter4j/Query.html#getQuery--">getQuery</a></span>()</code>
- <div class="block">Returns the specified query</div>
- </td>
- </tr>
- <tr id="i10" class="altColor">
- <td class="colFirst"><code><a href="../twitter4j/Query.ResultType.html" title="enum in twitter4j">Query.ResultType</a></code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../twitter4j/Query.html#getResultType--">getResultType</a></span>()</code>
- <div class="block">Returns resultType</div>
- </td>
- </tr>
- <tr id="i11" class="rowColor">
- <td class="colFirst"><code><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../twitter4j/Query.html#getSince--">getSince</a></span>()</code>
- <div class="block">Returns tweets with since the given date.</div>
- </td>
- </tr>
- <tr id="i12" class="altColor">
- <td class="colFirst"><code>long</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../twitter4j/Query.html#getSinceId--">getSinceId</a></span>()</code>
- <div class="block">returns sinceId</div>
- </td>
- </tr>
- <tr id="i13" class="rowColor">
- <td class="colFirst"><code><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../twitter4j/Query.html#getUntil--">getUntil</a></span>()</code>
- <div class="block">Returns until</div>
- </td>
- </tr>
- <tr id="i14" class="altColor">
- <td class="colFirst"><code>int</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../twitter4j/Query.html#hashCode--">hashCode</a></span>()</code> </td>
- </tr>
- <tr id="i15" class="rowColor">
- <td class="colFirst"><code><a href="../twitter4j/Query.html" title="class in twitter4j">Query</a></code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../twitter4j/Query.html#lang-java.lang.String-">lang</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> lang)</code>
- <div class="block">restricts tweets to the given language, given by an <a href="http://en.wikipedia.org/wiki/ISO_639-1">ISO 639-1 code</a></div>
- </td>
- </tr>
- <tr id="i16" class="altColor">
- <td class="colFirst"><code><a href="../twitter4j/Query.html" title="class in twitter4j">Query</a></code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../twitter4j/Query.html#locale-java.lang.String-">locale</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> locale)</code>
- <div class="block">Specify the language of the query you are sending (only ja is currently effective).</div>
- </td>
- </tr>
- <tr id="i17" class="rowColor">
- <td class="colFirst"><code><a href="../twitter4j/Query.html" title="class in twitter4j">Query</a></code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../twitter4j/Query.html#maxId-long-">maxId</a></span>(long maxId)</code>
- <div class="block">If specified, returns tweets with status ids less than the given id.</div>
- </td>
- </tr>
- <tr id="i18" class="altColor">
- <td class="colFirst"><code><a href="../twitter4j/Query.html" title="class in twitter4j">Query</a></code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../twitter4j/Query.html#query-java.lang.String-">query</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> query)</code>
- <div class="block">Sets the query string</div>
- </td>
- </tr>
- <tr id="i19" class="rowColor">
- <td class="colFirst"><code><a href="../twitter4j/Query.html" title="class in twitter4j">Query</a></code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../twitter4j/Query.html#resultType-twitter4j.Query.ResultType-">resultType</a></span>(<a href="../twitter4j/Query.ResultType.html" title="enum in twitter4j">Query.ResultType</a> resultType)</code>
- <div class="block">If specified, returns tweets included popular or real time or both in the response</div>
- </td>
- </tr>
- <tr id="i20" class="altColor">
- <td class="colFirst"><code>void</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../twitter4j/Query.html#setCount-int-">setCount</a></span>(int count)</code>
- <div class="block">sets the number of tweets to return per page, up to a max of 100</div>
- </td>
- </tr>
- <tr id="i21" class="rowColor">
- <td class="colFirst"><code>void</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../twitter4j/Query.html#setGeoCode-twitter4j.GeoLocation-double-twitter4j.Query.Unit-">setGeoCode</a></span>(<a href="../twitter4j/GeoLocation.html" title="class in twitter4j">GeoLocation</a> location,
- double radius,
- <a href="../twitter4j/Query.Unit.html" title="enum in twitter4j">Query.Unit</a> unit)</code>
- <div class="block">returns tweets by users located within a given radius of the given latitude/longitude, where the user's location is taken from their Twitter profile</div>
- </td>
- </tr>
- <tr id="i22" class="altColor">
- <td class="colFirst"><code>void</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../twitter4j/Query.html#setGeoCode-twitter4j.GeoLocation-double-java.lang.String-">setGeoCode</a></span>(<a href="../twitter4j/GeoLocation.html" title="class in twitter4j">GeoLocation</a> location,
- double radius,
- <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> unit)</code>
- <div class="block"><span class="deprecatedLabel">Deprecated.</span>
- <div class="block"><span class="deprecationComment">use <a href="../twitter4j/Query.html#setGeoCode-twitter4j.GeoLocation-double-twitter4j.Query.Unit-"><code>setGeoCode(GeoLocation, double, twitter4j.Query.Unit)</code></a> instead</span></div>
- </div>
- </td>
- </tr>
- <tr id="i23" class="rowColor">
- <td class="colFirst"><code>void</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../twitter4j/Query.html#setLang-java.lang.String-">setLang</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> lang)</code>
- <div class="block">restricts tweets to the given language, given by an <a href="http://en.wikipedia.org/wiki/ISO_639-1">ISO 639-1 code</a></div>
- </td>
- </tr>
- <tr id="i24" class="altColor">
- <td class="colFirst"><code>void</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../twitter4j/Query.html#setLocale-java.lang.String-">setLocale</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> locale)</code>
- <div class="block">Specify the language of the query you are sending (only ja is currently effective).</div>
- </td>
- </tr>
- <tr id="i25" class="rowColor">
- <td class="colFirst"><code>void</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../twitter4j/Query.html#setMaxId-long-">setMaxId</a></span>(long maxId)</code>
- <div class="block">If specified, returns tweets with status ids less than the given id.</div>
- </td>
- </tr>
- <tr id="i26" class="altColor">
- <td class="colFirst"><code>void</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../twitter4j/Query.html#setQuery-java.lang.String-">setQuery</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> query)</code>
- <div class="block">Sets the query string</div>
- </td>
- </tr>
- <tr id="i27" class="rowColor">
- <td class="colFirst"><code>void</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../twitter4j/Query.html#setResultType-twitter4j.Query.ResultType-">setResultType</a></span>(<a href="../twitter4j/Query.ResultType.html" title="enum in twitter4j">Query.ResultType</a> resultType)</code>
- <div class="block">Default value is Query.MIXED if parameter not specified</div>
- </td>
- </tr>
- <tr id="i28" class="altColor">
- <td class="colFirst"><code>void</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../twitter4j/Query.html#setSince-java.lang.String-">setSince</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> since)</code>
- <div class="block">If specified, returns tweets with since the given date.</div>
- </td>
- </tr>
- <tr id="i29" class="rowColor">
- <td class="colFirst"><code>void</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../twitter4j/Query.html#setSinceId-long-">setSinceId</a></span>(long sinceId)</code>
- <div class="block">returns tweets with status ids greater than the given id.</div>
- </td>
- </tr>
- <tr id="i30" class="altColor">
- <td class="colFirst"><code>void</code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../twitter4j/Query.html#setUntil-java.lang.String-">setUntil</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> until)</code>
- <div class="block">If specified, returns tweets with generated before the given date.</div>
- </td>
- </tr>
- <tr id="i31" class="rowColor">
- <td class="colFirst"><code><a href="../twitter4j/Query.html" title="class in twitter4j">Query</a></code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../twitter4j/Query.html#since-java.lang.String-">since</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> since)</code>
- <div class="block">If specified, returns tweets with since the given date.</div>
- </td>
- </tr>
- <tr id="i32" class="altColor">
- <td class="colFirst"><code><a href="../twitter4j/Query.html" title="class in twitter4j">Query</a></code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../twitter4j/Query.html#sinceId-long-">sinceId</a></span>(long sinceId)</code>
- <div class="block">returns tweets with status ids greater than the given id.</div>
- </td>
- </tr>
- <tr id="i33" class="rowColor">
- <td class="colFirst"><code><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../twitter4j/Query.html#toString--">toString</a></span>()</code> </td>
- </tr>
- <tr id="i34" class="altColor">
- <td class="colFirst"><code><a href="../twitter4j/Query.html" title="class in twitter4j">Query</a></code></td>
- <td class="colLast"><code><span class="memberNameLink"><a href="../twitter4j/Query.html#until-java.lang.String-">until</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> until)</code>
- <div class="block">If specified, returns tweets with generated before the given date.</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="http://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="http://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="http://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="http://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="http://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="http://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="http://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">
- <!-- ============ FIELD DETAIL =========== -->
- <ul class="blockList">
- <li class="blockList"><a name="field.detail">
- <!-- -->
- </a>
- <h3>Field Detail</h3>
- <a name="MILES">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>MILES</h4>
- <pre>public static final <a href="../twitter4j/Query.Unit.html" title="enum in twitter4j">Query.Unit</a> MILES</pre>
- </li>
- </ul>
- <a name="KILOMETERS">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>KILOMETERS</h4>
- <pre>public static final <a href="../twitter4j/Query.Unit.html" title="enum in twitter4j">Query.Unit</a> KILOMETERS</pre>
- </li>
- </ul>
- <a name="MIXED">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>MIXED</h4>
- <pre>public static final <a href="../twitter4j/Query.ResultType.html" title="enum in twitter4j">Query.ResultType</a> MIXED</pre>
- <div class="block">mixed: Include both popular and real time results in the response.</div>
- </li>
- </ul>
- <a name="POPULAR">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>POPULAR</h4>
- <pre>public static final <a href="../twitter4j/Query.ResultType.html" title="enum in twitter4j">Query.ResultType</a> POPULAR</pre>
- <div class="block">popular: return only the most popular results in the response.</div>
- </li>
- </ul>
- <a name="RECENT">
- <!-- -->
- </a>
- <ul class="blockListLast">
- <li class="blockList">
- <h4>RECENT</h4>
- <pre>public static final <a href="../twitter4j/Query.ResultType.html" title="enum in twitter4j">Query.ResultType</a> RECENT</pre>
- <div class="block">recent: return only the most recent results in the response</div>
- </li>
- </ul>
- </li>
- </ul>
- <!-- ========= CONSTRUCTOR DETAIL ======== -->
- <ul class="blockList">
- <li class="blockList"><a name="constructor.detail">
- <!-- -->
- </a>
- <h3>Constructor Detail</h3>
- <a name="Query--">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>Query</h4>
- <pre>public Query()</pre>
- </li>
- </ul>
- <a name="Query-java.lang.String-">
- <!-- -->
- </a>
- <ul class="blockListLast">
- <li class="blockList">
- <h4>Query</h4>
- <pre>public Query(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> query)</pre>
- </li>
- </ul>
- </li>
- </ul>
- <!-- ============ METHOD DETAIL ========== -->
- <ul class="blockList">
- <li class="blockList"><a name="method.detail">
- <!-- -->
- </a>
- <h3>Method Detail</h3>
- <a name="getQuery--">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>getQuery</h4>
- <pre>public <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> getQuery()</pre>
- <div class="block">Returns the specified query</div>
- <dl>
- <dt><span class="returnLabel">Returns:</span></dt>
- <dd>query</dd>
- </dl>
- </li>
- </ul>
- <a name="setQuery-java.lang.String-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>setQuery</h4>
- <pre>public void setQuery(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> query)</pre>
- <div class="block">Sets the query string</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>query</code> - the query string</dd>
- <dt><span class="seeLabel">See Also:</span></dt>
- <dd><a href="https://dev.twitter.com/docs/api/1.1/get/search">GET search | Twitter Developers</a>,
- <a href="http://search.twitter.com/operators">Twitter API / Search Operators</a></dd>
- </dl>
- </li>
- </ul>
- <a name="query-java.lang.String-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>query</h4>
- <pre>public <a href="../twitter4j/Query.html" title="class in twitter4j">Query</a> query(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> query)</pre>
- <div class="block">Sets the query string</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>query</code> - the query string</dd>
- <dt><span class="returnLabel">Returns:</span></dt>
- <dd>the instance</dd>
- <dt><span class="simpleTagLabel">Since:</span></dt>
- <dd>Twitter4J 2.1.0</dd>
- <dt><span class="seeLabel">See Also:</span></dt>
- <dd><a href="https://dev.twitter.com/docs/api/1.1/get/search">GET search | Twitter Developers</a>,
- <a href="http://search.twitter.com/operators">Twitter API / Search Operators</a></dd>
- </dl>
- </li>
- </ul>
- <a name="getLang--">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>getLang</h4>
- <pre>public <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> getLang()</pre>
- <div class="block">Returns the lang</div>
- <dl>
- <dt><span class="returnLabel">Returns:</span></dt>
- <dd>lang</dd>
- </dl>
- </li>
- </ul>
- <a name="setLang-java.lang.String-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>setLang</h4>
- <pre>public void setLang(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> lang)</pre>
- <div class="block">restricts tweets to the given language, given by an <a href="http://en.wikipedia.org/wiki/ISO_639-1">ISO 639-1 code</a></div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>lang</code> - an <a href="http://en.wikipedia.org/wiki/ISO_639-1">ISO 639-1 code</a></dd>
- </dl>
- </li>
- </ul>
- <a name="lang-java.lang.String-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>lang</h4>
- <pre>public <a href="../twitter4j/Query.html" title="class in twitter4j">Query</a> lang(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> lang)</pre>
- <div class="block">restricts tweets to the given language, given by an <a href="http://en.wikipedia.org/wiki/ISO_639-1">ISO 639-1 code</a></div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>lang</code> - an <a href="http://en.wikipedia.org/wiki/ISO_639-1">ISO 639-1 code</a></dd>
- <dt><span class="returnLabel">Returns:</span></dt>
- <dd>the instance</dd>
- <dt><span class="simpleTagLabel">Since:</span></dt>
- <dd>Twitter4J 2.1.0</dd>
- </dl>
- </li>
- </ul>
- <a name="getLocale--">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>getLocale</h4>
- <pre>public <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> getLocale()</pre>
- <div class="block">Returns the language of the query you are sending (only ja is currently effective). This is intended for language-specific clients and the default should work in the majority of cases.</div>
- <dl>
- <dt><span class="returnLabel">Returns:</span></dt>
- <dd>locale</dd>
- <dt><span class="simpleTagLabel">Since:</span></dt>
- <dd>Twitter4J 2.1.1</dd>
- </dl>
- </li>
- </ul>
- <a name="setLocale-java.lang.String-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>setLocale</h4>
- <pre>public void setLocale(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> locale)</pre>
- <div class="block">Specify the language of the query you are sending (only ja is currently effective). This is intended for language-specific clients and the default should work in the majority of cases.</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>locale</code> - the locale</dd>
- <dt><span class="simpleTagLabel">Since:</span></dt>
- <dd>Twitter4J 2.1.1</dd>
- </dl>
- </li>
- </ul>
- <a name="locale-java.lang.String-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>locale</h4>
- <pre>public <a href="../twitter4j/Query.html" title="class in twitter4j">Query</a> locale(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> locale)</pre>
- <div class="block">Specify the language of the query you are sending (only ja is currently effective). This is intended for language-specific clients and the default should work in the majority of cases.</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>locale</code> - the locale</dd>
- <dt><span class="returnLabel">Returns:</span></dt>
- <dd>the instance</dd>
- <dt><span class="simpleTagLabel">Since:</span></dt>
- <dd>Twitter4J 2.1.1</dd>
- </dl>
- </li>
- </ul>
- <a name="getMaxId--">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>getMaxId</h4>
- <pre>public long getMaxId()</pre>
- <div class="block">Returns tweets with status ids less than the given id.</div>
- <dl>
- <dt><span class="returnLabel">Returns:</span></dt>
- <dd>maxId</dd>
- <dt><span class="simpleTagLabel">Since:</span></dt>
- <dd>Twitter4J 2.1.1</dd>
- </dl>
- </li>
- </ul>
- <a name="setMaxId-long-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>setMaxId</h4>
- <pre>public void setMaxId(long maxId)</pre>
- <div class="block">If specified, returns tweets with status ids less than the given id.</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>maxId</code> - maxId</dd>
- <dt><span class="simpleTagLabel">Since:</span></dt>
- <dd>Twitter4J 2.1.1</dd>
- </dl>
- </li>
- </ul>
- <a name="maxId-long-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>maxId</h4>
- <pre>public <a href="../twitter4j/Query.html" title="class in twitter4j">Query</a> maxId(long maxId)</pre>
- <div class="block">If specified, returns tweets with status ids less than the given id.</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>maxId</code> - maxId</dd>
- <dt><span class="returnLabel">Returns:</span></dt>
- <dd>this instance</dd>
- <dt><span class="simpleTagLabel">Since:</span></dt>
- <dd>Twitter4J 2.1.1</dd>
- </dl>
- </li>
- </ul>
- <a name="getCount--">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>getCount</h4>
- <pre>public int getCount()</pre>
- <div class="block">Returns the number of tweets to return per page, up to a max of 100</div>
- <dl>
- <dt><span class="returnLabel">Returns:</span></dt>
- <dd>count</dd>
- </dl>
- </li>
- </ul>
- <a name="setCount-int-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>setCount</h4>
- <pre>public void setCount(int count)</pre>
- <div class="block">sets the number of tweets to return per page, up to a max of 100</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>count</code> - the number of tweets to return per page</dd>
- </dl>
- </li>
- </ul>
- <a name="count-int-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>count</h4>
- <pre>public <a href="../twitter4j/Query.html" title="class in twitter4j">Query</a> count(int count)</pre>
- <div class="block">sets the number of tweets to return per page, up to a max of 100</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>count</code> - the number of tweets to return per page</dd>
- <dt><span class="returnLabel">Returns:</span></dt>
- <dd>the instance</dd>
- <dt><span class="simpleTagLabel">Since:</span></dt>
- <dd>Twitter4J 2.1.0</dd>
- </dl>
- </li>
- </ul>
- <a name="getSince--">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>getSince</h4>
- <pre>public <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> getSince()</pre>
- <div class="block">Returns tweets with since the given date. Date should be formatted as YYYY-MM-DD</div>
- <dl>
- <dt><span class="returnLabel">Returns:</span></dt>
- <dd>since</dd>
- <dt><span class="simpleTagLabel">Since:</span></dt>
- <dd>Twitter4J 2.1.1</dd>
- </dl>
- </li>
- </ul>
- <a name="setSince-java.lang.String-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>setSince</h4>
- <pre>public void setSince(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> since)</pre>
- <div class="block">If specified, returns tweets with since the given date. Date should be formatted as YYYY-MM-DD</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>since</code> - since</dd>
- <dt><span class="simpleTagLabel">Since:</span></dt>
- <dd>Twitter4J 2.1.1</dd>
- </dl>
- </li>
- </ul>
- <a name="since-java.lang.String-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>since</h4>
- <pre>public <a href="../twitter4j/Query.html" title="class in twitter4j">Query</a> since(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> since)</pre>
- <div class="block">If specified, returns tweets with since the given date. Date should be formatted as YYYY-MM-DD</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>since</code> - since</dd>
- <dt><span class="returnLabel">Returns:</span></dt>
- <dd>since</dd>
- <dt><span class="simpleTagLabel">Since:</span></dt>
- <dd>Twitter4J 2.1.1</dd>
- </dl>
- </li>
- </ul>
- <a name="getSinceId--">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>getSinceId</h4>
- <pre>public long getSinceId()</pre>
- <div class="block">returns sinceId</div>
- <dl>
- <dt><span class="returnLabel">Returns:</span></dt>
- <dd>sinceId</dd>
- </dl>
- </li>
- </ul>
- <a name="setSinceId-long-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>setSinceId</h4>
- <pre>public void setSinceId(long sinceId)</pre>
- <div class="block">returns tweets with status ids greater than the given id.</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>sinceId</code> - returns tweets with status ids greater than the given id</dd>
- </dl>
- </li>
- </ul>
- <a name="sinceId-long-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>sinceId</h4>
- <pre>public <a href="../twitter4j/Query.html" title="class in twitter4j">Query</a> sinceId(long sinceId)</pre>
- <div class="block">returns tweets with status ids greater than the given id.</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>sinceId</code> - returns tweets with status ids greater than the given id</dd>
- <dt><span class="returnLabel">Returns:</span></dt>
- <dd>the instance</dd>
- <dt><span class="simpleTagLabel">Since:</span></dt>
- <dd>Twitter4J 2.1.0</dd>
- </dl>
- </li>
- </ul>
- <a name="getGeocode--">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>getGeocode</h4>
- <pre>public <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> getGeocode()</pre>
- <div class="block">Returns the specified geocode</div>
- <dl>
- <dt><span class="returnLabel">Returns:</span></dt>
- <dd>geocode</dd>
- </dl>
- </li>
- </ul>
- <a name="setGeoCode-twitter4j.GeoLocation-double-twitter4j.Query.Unit-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>setGeoCode</h4>
- <pre>public void setGeoCode(<a href="../twitter4j/GeoLocation.html" title="class in twitter4j">GeoLocation</a> location,
- double radius,
- <a href="../twitter4j/Query.Unit.html" title="enum in twitter4j">Query.Unit</a> unit)</pre>
- <div class="block">returns tweets by users located within a given radius of the given latitude/longitude, where the user's location is taken from their Twitter profile</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>location</code> - geo location</dd>
- <dd><code>radius</code> - radius</dd>
- <dd><code>unit</code> - Query.MILES or Query.KILOMETERS</dd>
- <dt><span class="simpleTagLabel">Since:</span></dt>
- <dd>Twitter4J 4.0.1</dd>
- </dl>
- </li>
- </ul>
- <a name="setGeoCode-twitter4j.GeoLocation-double-java.lang.String-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>setGeoCode</h4>
- <pre>public void setGeoCode(<a href="../twitter4j/GeoLocation.html" title="class in twitter4j">GeoLocation</a> location,
- double radius,
- <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> unit)</pre>
- <div class="block"><span class="deprecatedLabel">Deprecated.</span> <span class="deprecationComment">use <a href="../twitter4j/Query.html#setGeoCode-twitter4j.GeoLocation-double-twitter4j.Query.Unit-"><code>setGeoCode(GeoLocation, double, twitter4j.Query.Unit)</code></a> instead</span></div>
- <div class="block">returns tweets by users located within a given radius of the given latitude/longitude, where the user's location is taken from their Twitter profile</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>location</code> - geo location</dd>
- <dd><code>radius</code> - radius</dd>
- <dd><code>unit</code> - Use "mi" for miles or "km" for kilometers</dd>
- </dl>
- </li>
- </ul>
- <a name="geoCode-twitter4j.GeoLocation-double-twitter4j.Query.Unit-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>geoCode</h4>
- <pre>public <a href="../twitter4j/Query.html" title="class in twitter4j">Query</a> geoCode(<a href="../twitter4j/GeoLocation.html" title="class in twitter4j">GeoLocation</a> location,
- double radius,
- <a href="../twitter4j/Query.Unit.html" title="enum in twitter4j">Query.Unit</a> unit)</pre>
- <div class="block">returns tweets by users located within a given radius of the given latitude/longitude, where the user's location is taken from their Twitter profile</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>location</code> - geo location</dd>
- <dd><code>radius</code> - radius</dd>
- <dd><code>unit</code> - Query.MILES or Query.KILOMETERS</dd>
- <dt><span class="returnLabel">Returns:</span></dt>
- <dd>the instance</dd>
- <dt><span class="simpleTagLabel">Since:</span></dt>
- <dd>Twitter4J 4.0.7</dd>
- </dl>
- </li>
- </ul>
- <a name="geoCode-twitter4j.GeoLocation-double-java.lang.String-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>geoCode</h4>
- <pre>public <a href="../twitter4j/Query.html" title="class in twitter4j">Query</a> geoCode(<a href="../twitter4j/GeoLocation.html" title="class in twitter4j">GeoLocation</a> location,
- double radius,
- <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> unit)</pre>
- <div class="block"><span class="deprecatedLabel">Deprecated.</span> <span class="deprecationComment">use <a href="../twitter4j/Query.html#geoCode-twitter4j.GeoLocation-double-twitter4j.Query.Unit-"><code>geoCode(GeoLocation, double, twitter4j.Query.Unit)</code></a> instead</span></div>
- <div class="block">returns tweets by users located within a given radius of the given latitude/longitude, where the user's location is taken from their Twitter profile</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>location</code> - geo location</dd>
- <dd><code>radius</code> - radius</dd>
- <dd><code>unit</code> - Use "mi" for miles or "km" for kilometers</dd>
- <dt><span class="returnLabel">Returns:</span></dt>
- <dd>the instance</dd>
- <dt><span class="simpleTagLabel">Since:</span></dt>
- <dd>Twitter4J 2.1.0</dd>
- </dl>
- </li>
- </ul>
- <a name="getUntil--">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>getUntil</h4>
- <pre>public <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> getUntil()</pre>
- <div class="block">Returns until</div>
- <dl>
- <dt><span class="returnLabel">Returns:</span></dt>
- <dd>until</dd>
- <dt><span class="simpleTagLabel">Since:</span></dt>
- <dd>Twitter4J 2.1.1</dd>
- </dl>
- </li>
- </ul>
- <a name="setUntil-java.lang.String-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>setUntil</h4>
- <pre>public void setUntil(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> until)</pre>
- <div class="block">If specified, returns tweets with generated before the given date. Date should be formatted as YYYY-MM-DD</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>until</code> - until</dd>
- <dt><span class="simpleTagLabel">Since:</span></dt>
- <dd>Twitter4J 2.1.1</dd>
- </dl>
- </li>
- </ul>
- <a name="until-java.lang.String-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>until</h4>
- <pre>public <a href="../twitter4j/Query.html" title="class in twitter4j">Query</a> until(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> until)</pre>
- <div class="block">If specified, returns tweets with generated before the given date. Date should be formatted as YYYY-MM-DD</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>until</code> - until</dd>
- <dt><span class="returnLabel">Returns:</span></dt>
- <dd>the instance</dd>
- <dt><span class="simpleTagLabel">Since:</span></dt>
- <dd>Twitter4J 2.1.1</dd>
- </dl>
- </li>
- </ul>
- <a name="getResultType--">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>getResultType</h4>
- <pre>public <a href="../twitter4j/Query.ResultType.html" title="enum in twitter4j">Query.ResultType</a> getResultType()</pre>
- <div class="block">Returns resultType</div>
- <dl>
- <dt><span class="returnLabel">Returns:</span></dt>
- <dd>the resultType</dd>
- <dt><span class="simpleTagLabel">Since:</span></dt>
- <dd>Twitter4J 2.1.3</dd>
- </dl>
- </li>
- </ul>
- <a name="setResultType-twitter4j.Query.ResultType-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>setResultType</h4>
- <pre>public void setResultType(<a href="../twitter4j/Query.ResultType.html" title="enum in twitter4j">Query.ResultType</a> resultType)</pre>
- <div class="block">Default value is Query.MIXED if parameter not specified</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>resultType</code> - Query.MIXED or Query.POPULAR or Query.RECENT</dd>
- <dt><span class="simpleTagLabel">Since:</span></dt>
- <dd>Twitter4J 2.1.3</dd>
- </dl>
- </li>
- </ul>
- <a name="resultType-twitter4j.Query.ResultType-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>resultType</h4>
- <pre>public <a href="../twitter4j/Query.html" title="class in twitter4j">Query</a> resultType(<a href="../twitter4j/Query.ResultType.html" title="enum in twitter4j">Query.ResultType</a> resultType)</pre>
- <div class="block">If specified, returns tweets included popular or real time or both in the response</div>
- <dl>
- <dt><span class="paramLabel">Parameters:</span></dt>
- <dd><code>resultType</code> - resultType</dd>
- <dt><span class="returnLabel">Returns:</span></dt>
- <dd>the instance</dd>
- <dt><span class="simpleTagLabel">Since:</span></dt>
- <dd>Twitter4J 2.1.3</dd>
- </dl>
- </li>
- </ul>
- <a name="equals-java.lang.Object-">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>equals</h4>
- <pre>public boolean equals(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> o)</pre>
- <dl>
- <dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
- <dd><code><a href="http://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></code> in class <code><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></dd>
- </dl>
- </li>
- </ul>
- <a name="hashCode--">
- <!-- -->
- </a>
- <ul class="blockList">
- <li class="blockList">
- <h4>hashCode</h4>
- <pre>public int hashCode()</pre>
- <dl>
- <dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
- <dd><code><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a></code> in class <code><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></dd>
- </dl>
- </li>
- </ul>
- <a name="toString--">
- <!-- -->
- </a>
- <ul class="blockListLast">
- <li class="blockList">
- <h4>toString</h4>
- <pre>public <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> toString()</pre>
- <dl>
- <dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
- <dd><code><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a></code> in class <code><a href="http://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></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/Query.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="../twitter4j/Place.html" title="interface in twitter4j"><span class="typeNameLink">Prev Class</span></a></li>
- <li><a href="../twitter4j/Query.ResultType.html" title="enum in twitter4j"><span class="typeNameLink">Next Class</span></a></li>
- </ul>
- <ul class="navList">
- <li><a href="../index.html?twitter4j/Query.html" target="_top">Frames</a></li>
- <li><a href="Query.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><a href="#field.summary">Field</a> | </li>
- <li><a href="#constructor.summary">Constr</a> | </li>
- <li><a href="#method.summary">Method</a></li>
- </ul>
- <ul class="subNavList">
- <li>Detail: </li>
- <li><a href="#field.detail">Field</a> | </li>
- <li><a href="#constructor.detail">Constr</a> | </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 © 2018. All rights reserved.</small></p>
- </body>
- </html>
|