Uses of Class
googlesearch.Query

Packages that use Query
googlesearch This package contains a Google Search API. 
 

Uses of Query in googlesearch
 

Subclasses of Query in googlesearch
 class AndQuery
          A query that will find all the words in two previously created queries.
 class CompositeQuery
          An abstract class representing queries that contain one or more other queries.
 class DefinitionQuery
          Generate a query that will search for definitions of the phrase of a base query.
 class ExactQuery
          Transforms any query into one that searches for the exact phrase in the given query, rather than searching for the words individually.
 class NotQuery
          A query that specifies things that should not appear on the page.
 class OrQuery
          Represents a query that will find pages that contain the one word OR another (or both).
 class SimpleQuery
          Encapsulates Google search queries as objects.
 class SiteQuery
          A decorator for querys to search a specific site like www.google.com.
 

Fields in googlesearch declared as Query
static Query Query.NULL_QUERY
          An empty Query.
 

Methods in googlesearch that return Query
 Query QueryStore.get(java.lang.String key)
          Retrieve a query with a given "name" or the NULL_QUERY if no query with the name is stored
 

Methods in googlesearch that return types with arguments of type Query
 java.util.Iterator<Query> ResultPageStore.keys()
          Obtain an iterator over the keys used in the storage
 java.util.Iterator<Query> QueryStore.values()
          Obtain an iterator over all the Queries in the storage
 

Methods in googlesearch with parameters of type Query
 java.util.List<SearchResultPage> ResultPageStore.get(Query key)
          Retrieve a List of the pages stored associated with this Query
 void ResultPageStore.put(Query key, java.util.Collection pages)
          Put all of the pages into the storage with the given key
 void ResultPageStore.put(Query key, SearchResultPage page)
          Insert a page into storage with a query as key.
 void QueryStore.put(java.lang.String key, Query query)
          Insert a query into the storage tagged with a name of your choosing.
 void ResultPageStore.remove(Query key)
          Remove all the pages with a given key
 void ResultPageStore.remove(Query key, SearchResultPage page)
          Remove a single page from the storage by key.
 

Method parameters in googlesearch with type arguments of type Query
 java.lang.String SiteQuery.buildSearchString(java.util.List<Query> start, java.util.List<Query> finish)
           
 java.lang.String SiteQuery.buildSearchString(java.util.List<Query> start, java.util.List<Query> finish)
           
 java.lang.String SimpleQuery.buildSearchString(java.util.List<Query> start, java.util.List<Query> finish)
           
 java.lang.String SimpleQuery.buildSearchString(java.util.List<Query> start, java.util.List<Query> finish)
           
abstract  java.lang.String Query.buildSearchString(java.util.List<Query> start, java.util.List<Query> finish)
          Used by getSearchString to build up the query string recursively from the parts.
abstract  java.lang.String Query.buildSearchString(java.util.List<Query> start, java.util.List<Query> finish)
          Used by getSearchString to build up the query string recursively from the parts.
 java.lang.String OrQuery.buildSearchString(java.util.List<Query> start, java.util.List<Query> finish)
           
 java.lang.String OrQuery.buildSearchString(java.util.List<Query> start, java.util.List<Query> finish)
           
 java.lang.String NotQuery.buildSearchString(java.util.List<Query> start, java.util.List<Query> finish)
           
 java.lang.String NotQuery.buildSearchString(java.util.List<Query> start, java.util.List<Query> finish)
           
 java.lang.String ExactQuery.buildSearchString(java.util.List<Query> start, java.util.List<Query> finish)
           
 java.lang.String ExactQuery.buildSearchString(java.util.List<Query> start, java.util.List<Query> finish)
           
 java.lang.String DefinitionQuery.buildSearchString(java.util.List<Query> start, java.util.List<Query> finish)
           
 java.lang.String DefinitionQuery.buildSearchString(java.util.List<Query> start, java.util.List<Query> finish)
           
 java.lang.String AndQuery.buildSearchString(java.util.List<Query> start, java.util.List<Query> finish)
           
 java.lang.String AndQuery.buildSearchString(java.util.List<Query> start, java.util.List<Query> finish)
           
 

Constructors in googlesearch with parameters of type Query
AndQuery(Query left, Query right)
          Create an AND query.
DefinitionQuery(Query baseQuery)
           
ExactQuery(Query query)
           
NotQuery(Query left, Query notPart)
          Create a query of the form left -notPart.
OrQuery(Query left, Query right)
          Create an OR query.
SiteQuery(Query baseQuery, java.lang.String site)
          Create a query that applies a site search to a given query