module documentation
Expressions for fiftyone.core.stages.ViewStage
definitions.
Class |
|
A ViewExpression that refers to an ObjectId of a document. |
Class |
|
An expression defining a possibly-complex manipulation of a document. |
Class |
|
A ViewExpression that refers to a field or embedded field of a document. |
Function | get |
Extracts the group slices from the given expression, if any. |
Function | is |
Determines whether the given expression involves a "frames" field. |
Function | to |
Converts an expression to its MongoDB representation. |
Constant | VALUE |
A ViewExpression that refers to the current $$value in a MongoDB reduction expression. |
Function | _do |
Undocumented |
Function | _do |
Undocumented |
Function | _do |
Undocumented |
Function | _do |
Undocumented |
Function | _do |
Undocumented |
Function | _escape |
Undocumented |
Extracts the group slices from the given expression, if any.
Parameters | |
expr | a ViewExpression or an already serialized
MongoDB expression |
Returns | |
a (possibly-empty) list of group slices |
Determines whether the given expression involves a "frames" field.
Parameters | |
expr | a ViewExpression or an already serialized
MongoDB expression |
Returns | |
True/False |
Converts an expression to its MongoDB representation.
Parameters | |
expr | a ViewExpression or an already serialized
MongoDB expression |
prefix:None | an optional prefix to prepend to all ViewField
instances in the expression |
Returns | |
a MongoDB expression |
A ViewExpression
that refers to the current $$value in a
MongoDB reduction expression.
See ViewExpression.reduce
for more information.
Value |
|