Package com.factual.driver.Factual

Examples of com.factual.driver.Factual.ReadRequest


   *          the name of the table you wish to query (e.g., "places")
   * @param query
   *          the read query to run against <tt>table</tt>.
   */
  public void addQuery(String queryName, String table, Query query) {
    queries.put(queryName, new ReadRequest(Factual.urlForFetch(table), query.toUrlParams()));
  }
View Full Code Here


   *          the name for this subquery within the multi request
   * @param query
   *          the geocode query to run
   */
  public void addQuery(String queryName, Geocode query) {
    queries.put(queryName, new ReadRequest(Factual.urlForGeocode(), query.toUrlParams()));
  }
View Full Code Here

   *          the name for this subquery within the multi request
   * @param query
   *          the geopulse query to run
   */
  public void addQuery(String queryName, Geopulse query) {
    queries.put(queryName, new ReadRequest(Factual.urlForGeopulse(), query.toUrlParams()));
  }
View Full Code Here

   *          the name of the table you wish to query (e.g., "places")
   * @param query
   *          the read query to run against <tt>table</tt>.
   */
  public void addQuery(String queryName, String table, Query query) {
    queries.put(queryName, new ReadRequest(Factual.urlForFetch(table), query.toUrlParams()));
  }
View Full Code Here

   *          the name for this subquery within the multi request
   * @param query
   *          the geocode query to run
   */
  public void addQuery(String queryName, Geocode query) {
    queries.put(queryName, new ReadRequest(Factual.urlForGeocode(), query.toUrlParams()));
  }
View Full Code Here

   *          the name of the table you wish to query (e.g., "places")
   * @param query
   *          the read query to run against <tt>table</tt>.
   */
  public void addQuery(String queryName, String table, Query query) {
    queries.put(queryName, new ReadRequest(Factual.urlForFetch(table), query.toUrlParams()));
  }
View Full Code Here

   *          the name for this subquery within the multi request
   * @param query
   *          the geocode query to run
   */
  public void addQuery(String queryName, Geocode query) {
    queries.put(queryName, new ReadRequest(Factual.urlForGeocode(), query.toUrlParams()));
  }
View Full Code Here

   *          the name for this subquery within the multi request
   * @param query
   *          the geopulse query to run
   */
  public void addQuery(String queryName, Geopulse query) {
    queries.put(queryName, new ReadRequest(Factual.urlForGeopulse(), query.toUrlParams()));
  }
View Full Code Here

TOP

Related Classes of com.factual.driver.Factual.ReadRequest

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.