RegionProxy¶
- class lsst.daf.butler.queries.expression_factory.RegionProxy(expression: IntColumnLiteral | StringColumnLiteral | FloatColumnLiteral | HashColumnLiteral | UUIDColumnLiteral | DateTimeColumnLiteral | TimespanColumnLiteral | RegionColumnLiteral | DimensionKeyReference | DimensionFieldReference | DatasetFieldReference | UnaryExpression | BinaryExpression)¶
Bases:
ExpressionProxy
An
ExpressionProxy
specialized for region columns and literals.- Parameters:
- expression
tree.ColumnExpression
Expression that backs this proxy.
- expression
Attributes Summary
A boolean expression that tests whether this expression is NULL.
Methods Summary
overlaps
(other)Return a boolean expression representing an overlap test between this region and another.
Attributes Documentation
- is_null¶
A boolean expression that tests whether this expression is NULL.
Methods Documentation
- overlaps(other: RegionProxy | Region) Predicate ¶
Return a boolean expression representing an overlap test between this region and another.
- Parameters:
- other
RegionProxy
orRegion
Expression or literal to compare to.
- other
- Returns:
- predicate
tree.Predicate
Boolean expression object.
- predicate