HEX
Server: LiteSpeed
System: Linux us-phx-web1284.main-hosting.eu 4.18.0-553.109.1.lve.el8.x86_64 #1 SMP Thu Mar 5 20:23:46 UTC 2026 x86_64
User: u300739242 (300739242)
PHP: 8.2.30
Disabled: system, shell_exec, passthru, mysql_list_dbs, ini_alter, dl, symlink, link, chgrp, leak, popen, apache_child_terminate, virtual, mb_send_mail
Upload Files
File: //opt/alt/python27/lib/python2.7/site-packages/sqlalchemy/dialects/postgresql/ranges.pyc
�
���ec@s�ddlmZdZdefd��YZdeejfd��YZdeejfd��YZdeejfd	��YZ	d
eejfd��YZ
deejfd
��YZdeejfd��YZdS(i(ttypest	INT4RANGEt	INT8RANGEtNUMRANGEtRangeOperatorscBs*eZdZdejjfd��YZRS(sn
    This mixin provides functionality for the Range Operators
    listed in the Range Operators table of the `PostgreSQL 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.

    __ https://www.postgresql.org/docs/current/static/functions-range.html

    No extra support is provided for the Range Functions listed in the Range
    Functions table of the PostgreSQL documentation. For these, the normal
    :func:`~sqlalchemy.sql.expression.func` object should be used.

    tcomparator_factorycBsteZdZd�Zd�Zd�Zd�Zd�ZeZd�Z	e	Z
d�Zd�Zd	�Z
d
�ZRS(s-Define comparison operations for range types.cCsE|dkr%ttj|�j|�S|jjddt�|�SdS(s<Boolean expression. Returns true if two ranges are not equals<>t
is_comparisonN(tNonetsuperRRt__ne__texprtoptTrue(tselftother((sV/opt/alt/python27/lib/python2.7/site-packages/sqlalchemy/dialects/postgresql/ranges.pyR	!scKs|jjddt�|�S(s
Boolean expression. Returns true if the right hand operand,
            which can be an element or a range, is contained within the
            column.

            kwargs may be ignored by this operator but are required for API
            conformance.
            s@>R(R
RR(R
Rtkw((sV/opt/alt/python27/lib/python2.7/site-packages/sqlalchemy/dialects/postgresql/ranges.pytcontains*scCs|jjddt�|�S(ssBoolean expression. Returns true if the column is contained
            within the right hand operand.
            s<@R(R
RR(R
R((sV/opt/alt/python27/lib/python2.7/site-packages/sqlalchemy/dialects/postgresql/ranges.pytcontained_by4scCs|jjddt�|�S(s�Boolean expression. Returns true if the column overlaps
            (has points in common with) the right hand operand.
            s&&R(R
RR(R
R((sV/opt/alt/python27/lib/python2.7/site-packages/sqlalchemy/dialects/postgresql/ranges.pytoverlaps:scCs|jjddt�|�S(ssBoolean expression. Returns true if the column is strictly
            left of the right hand operand.
            s<<R(R
RR(R
R((sV/opt/alt/python27/lib/python2.7/site-packages/sqlalchemy/dialects/postgresql/ranges.pytstrictly_left_of@scCs|jjddt�|�S(stBoolean expression. Returns true if the column is strictly
            right of the right hand operand.
            s>>R(R
RR(R
R((sV/opt/alt/python27/lib/python2.7/site-packages/sqlalchemy/dialects/postgresql/ranges.pytstrictly_right_ofHscCs|jjddt�|�S(s�Boolean expression. Returns true if the range in the column
            does not extend right of the range in the operand.
            s&<R(R
RR(R
R((sV/opt/alt/python27/lib/python2.7/site-packages/sqlalchemy/dialects/postgresql/ranges.pytnot_extend_right_ofPscCs|jjddt�|�S(s�Boolean expression. Returns true if the range in the column
            does not extend left of the range in the operand.
            s&>R(R
RR(R
R((sV/opt/alt/python27/lib/python2.7/site-packages/sqlalchemy/dialects/postgresql/ranges.pytnot_extend_left_ofVscCs|jjddt�|�S(s}Boolean expression. Returns true if the range in the column
            is adjacent to the range in the operand.
            s-|-R(R
RR(R
R((sV/opt/alt/python27/lib/python2.7/site-packages/sqlalchemy/dialects/postgresql/ranges.pytadjacent_to\scCs|jjd�|�S(s�Range expression. Returns the union of the two ranges.
            Will raise an exception if the resulting range is not
            contiguous.
            t+(R
R(R
R((sV/opt/alt/python27/lib/python2.7/site-packages/sqlalchemy/dialects/postgresql/ranges.pyt__add__bs(t__name__t
__module__t__doc__R	RRRRt
__lshift__Rt
__rshift__RRRR(((sV/opt/alt/python27/lib/python2.7/site-packages/sqlalchemy/dialects/postgresql/ranges.pyRs			
							(RRRtsqltypestConcatenablet
ComparatorR(((sV/opt/alt/python27/lib/python2.7/site-packages/sqlalchemy/dialects/postgresql/ranges.pyRscBseZdZdZRS(s(Represent the PostgreSQL INT4RANGE type.R(RRRt__visit_name__(((sV/opt/alt/python27/lib/python2.7/site-packages/sqlalchemy/dialects/postgresql/ranges.pyRjscBseZdZdZRS(s(Represent the PostgreSQL INT8RANGE type.R(RRRR"(((sV/opt/alt/python27/lib/python2.7/site-packages/sqlalchemy/dialects/postgresql/ranges.pyRpscBseZdZdZRS(s'Represent the PostgreSQL NUMRANGE type.R(RRRR"(((sV/opt/alt/python27/lib/python2.7/site-packages/sqlalchemy/dialects/postgresql/ranges.pyRvst	DATERANGEcBseZdZdZRS(s(Represent the PostgreSQL DATERANGE type.R#(RRRR"(((sV/opt/alt/python27/lib/python2.7/site-packages/sqlalchemy/dialects/postgresql/ranges.pyR#|stTSRANGEcBseZdZdZRS(s&Represent the PostgreSQL TSRANGE type.R$(RRRR"(((sV/opt/alt/python27/lib/python2.7/site-packages/sqlalchemy/dialects/postgresql/ranges.pyR$�st	TSTZRANGEcBseZdZdZRS(s(Represent the PostgreSQL TSTZRANGE type.R%(RRRR"(((sV/opt/alt/python27/lib/python2.7/site-packages/sqlalchemy/dialects/postgresql/ranges.pyR%�sN(RRR(
tRRt__all__tobjectRt
TypeEngineRRRR#R$R%(((sV/opt/alt/python27/lib/python2.7/site-packages/sqlalchemy/dialects/postgresql/ranges.pyt<module>s\