Package gavo :: Package svcs :: Module pql :: Class PQLNoRange
[frames] | no frames]

Class PQLNoRange

source code

object --+    
         |    
  PQLRange --+
             |
            PQLNoRange

a stand-in for PQLRange when no ranges are to be supported

It seems this is intended for string-typed values. We try to be compatible with PQLRange in the relevant API aspects.

Instance Methods
 
__init__(self, value)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
__eq__(self, other) source code
 
__str__(self)
str(x)
source code

Inherited from PQLRange: __repr__, covers, getSQL, getSQLForInterval, getValuesAsSet

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __subclasshook__

Class Methods
 
fromLiteral(cls, literal, destName, valParser, stepParser)
creates a PQLRange from a PQL range literal.
source code
Properties

Inherited from object: __class__

Method Details

__init__(self, value)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

__eq__(self, other)
(Equality operator)

source code 
Overrides: PQLRange.__eq__

__str__(self)
(Informal representation operator)

source code 

str(x)

Overrides: object.__str__
(inherited documentation)

fromLiteral(cls, literal, destName, valParser, stepParser)
Class Method

source code 

creates a PQLRange from a PQL range literal.

For the meaning of the arguments, see PQLPar.fromLiteral.

Overrides: PQLRange.fromLiteral