Files
Home-AssistantConfig/deps/sqlalchemy/dialects/postgresql/__pycache__/ranges.cpython-34.pyc

86 lines
6.1 KiB
Plaintext
Raw Normal View History

2016-10-11 16:42:06 +00:00
<EFBFBD>
}<7D><>W<EFBFBD><00>@s$ddlmZddlmZdZGdd<00>de<00>ZGd d<00>deej<00>Z e ed
<Gd d<00>deej<00>Z
e
ed <Gd d<00>deej<00>Z e ed<Gdd<00>deej<00>Z e ed<Gdd<00>deej<00>Z e ed<Gdd<00>deej<00>Zeed<dS)<1A>)<01> ischema_names<65>)<01>types<65> INT4RANGE<47> INT8RANGE<47>NUMRANGEc@s2eZdZdZGdd<00>dejj<00>ZdS)<05>RangeOperatorsa<73>
This mixin provides functionality for the Range Operators
listed in Table 9-44 of the `postgres documentation`__ for Range
Functions and Operators. It is used by all the range types
provided in the ``postgres`` dialect and can likely be used for
any range types you create yourself.
__ http://www.postgresql.org/docs/devel/static/functions-range.html
No extra support is provided for the Range Functions listed in
Table 9-45 of the postgres documentation. For these, the normal
:func:`~sqlalchemy.sql.expression.func` object should be used.
.. versionadded:: 0.8.2 Support for Postgresql RANGE operations.
c@s<>eZdZdZdd<00>Zdd<00>Zdd<00>Zdd <00>Zd
d <00>ZeZ d d <00>Z
e
Z dd<00>Z dd<00>Z dd<00>Zdd<00>ZdS)z!RangeOperators.comparator_factoryz-Define comparison operations for range types.cCs|jjd<00>|<00>S)z<Boolean expression. Returns true if two ranges are not equalz<>)<02>expr<70>op)<02>self<6C>other<65>r <00>K/tmp/pip-build-zkr322cu/sqlalchemy/sqlalchemy/dialects/postgresql/ranges.py<70>__ne__"sz(RangeOperators.comparator_factory.__ne__cKs|jjd<00>|<00>S)z<>Boolean expression. Returns true if the right hand operand,
which can be an element or a range, is contained within the
column.
z@>)r r
)r r <00>kwr r r<00>contains&sz*RangeOperators.comparator_factory.containscCs|jjd<00>|<00>S)zsBoolean expression. Returns true if the column is contained
within the right hand operand.
z<@)r r
)r r r r r<00> contained_by-sz.RangeOperators.comparator_factory.contained_bycCs|jjd<00>|<00>S)z<>Boolean expression. Returns true if the column overlaps
(has points in common with) the right hand operand.
z&&)r r
)r r r r r<00>overlaps3sz*RangeOperators.comparator_factory.overlapscCs|jjd<00>|<00>S)zsBoolean expression. Returns true if the column is strictly
left of the right hand operand.
z<<)r r
)r r r r r<00>strictly_left_of9sz2RangeOperators.comparator_factory.strictly_left_ofcCs|jjd<00>|<00>S)ztBoolean expression. Returns true if the column is strictly
right of the right hand operand.
z>>)r r
)r r r r r<00>strictly_right_ofAsz3RangeOperators.comparator_factory.strictly_right_ofcCs|jjd<00>|<00>S)z<>Boolean expression. Returns true if the range in the column
does not extend right of the range in the operand.
z&<)r r
)r r r r r<00>not_extend_right_ofIsz5RangeOperators.comparator_factory.not_extend_right_ofcCs|jjd<00>|<00>S)z<>Boolean expression. Returns true if the range in the column
does not extend left of the range in the operand.
z&>)r r
)r r r r r<00>not_extend_left_ofOsz4RangeOperators.comparator_factory.not_extend_left_ofcCs|jjd<00>|<00>S)z}Boolean expression. Returns true if the range in the column
is adjacent to the range in the operand.
z-|-)r r
)r r r r r<00> adjacent_toUsz-RangeOperators.comparator_factory.adjacent_tocCs|jjd<00>|<00>S)z<>Range expression. Returns the union of the two ranges.
Will raise an exception if the resulting range is not
contigous.
<20>+)r r
)r r r r r<00>__add__[sz)RangeOperators.comparator_factory.__add__N)<10>__name__<5F>
__module__<EFBFBD> __qualname__<5F>__doc__rrrrr<00>
__lshift__r<00>
__rshift__rrrrr r r r<00>comparator_factorys          r!N)rrrr<00>sqltypesZ ConcatenableZ
Comparatorr!r r r rr s rc@seZdZdZdZdS)rzKRepresent the Postgresql INT4RANGE type.
.. versionadded:: 0.8.2
N)rrrr<00>__visit_name__r r r rrcs Z int4rangec@seZdZdZdZdS)rzKRepresent the Postgresql INT8RANGE type.
.. versionadded:: 0.8.2
N)rrrrr#r r r rros Z int8rangec@seZdZdZdZdS)rzJRepresent the Postgresql NUMRANGE type.
.. versionadded:: 0.8.2
N)rrrrr#r r r rr{s Znumrangec@seZdZdZdZdS)<03> DATERANGEzKRepresent the Postgresql DATERANGE type.
.. versionadded:: 0.8.2
N)rrrrr#r r r rr$<00>s r$Z daterangec@seZdZdZdZdS)<03>TSRANGEzIRepresent the Postgresql TSRANGE type.
.. versionadded:: 0.8.2
N)rrrrr#r r r rr%<00>s r%Ztsrangec@seZdZdZdZdS)<03> TSTZRANGEzKRepresent the Postgresql TSTZRANGE type.
.. versionadded:: 0.8.2
N)rrrrr#r r r rr&<00>s r&Z tstzrangeN)z INT4RANGEz INT8RANGEzNUMRANGE)<0F>baser<00>rr"<00>__all__<5F>objectrZ
TypeEnginerrrr$r%r&r r r r<00><module>sV