Package xappy :: Module indexerconnection :: Class FacetQueryTypeIter
[frames] | no frames]

Class FacetQueryTypeIter

source code

object --+
         |
        FacetQueryTypeIter

Iterate through all the query types and their associated facets.

Instance Methods
 
__init__(self, facet_query_table, association)
Initialise the query type facet iterator.
source code
 
__iter__(self) source code
 
next(self)
Get the next (query type, facet set) 2-tuple.
source code

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Properties

Inherited from object: __class__

Method Details

__init__(self, facet_query_table, association)
(Constructor)

source code 

Initialise the query type facet iterator.

Only facets associated with each query type in the specified manner are returned (association must be one of IndexerConnection.FacetQueryType_Preferred or IndexerConnection.FacetQueryType_Never).

Overrides: object.__init__