type
stringclasses
5 values
name
stringlengths
1
55
qualified_name
stringlengths
5
147
docstring
stringlengths
15
4.52k
filepath
stringclasses
206 values
is_public
bool
2 classes
is_private
bool
2 classes
line_start
int64
0
1.99k
line_end
int64
0
2.01k
annotation
stringclasses
14 values
returns
stringclasses
308 values
value
stringclasses
152 values
parameters
listlengths
0
117
bases
listlengths
0
3
parent_class
stringclasses
376 values
api_element_summary
stringlengths
199
33.8k
class
BaseLineage
fenic.core._interfaces.lineage.BaseLineage
Base class for lineage traversal implementations.
null
true
false
9
47
null
null
null
null
[ "ABC" ]
null
Type: class Member Name: BaseLineage Qualified Name: fenic.core._interfaces.lineage.BaseLineage Docstring: Base class for lineage traversal implementations. Value: none Annotation: none is Public? : true is Private? : false Parameters: none Returns: none Parent Class: none
method
get_source_names
fenic.core._interfaces.lineage.BaseLineage.get_source_names
Get the names of all sources in the query plan. Used to determine where to start the lineage traversal.
null
true
false
12
15
null
List[str]
null
[ "self" ]
null
BaseLineage
Type: method Member Name: get_source_names Qualified Name: fenic.core._interfaces.lineage.BaseLineage.get_source_names Docstring: Get the names of all sources in the query plan. Used to determine where to start the lineage traversal. Value: none Annotation: none is Public? : true is Private? : false Parameters: ["self"...
method
stringify_graph
fenic.core._interfaces.lineage.BaseLineage.stringify_graph
Print the operator tree of the query.
null
true
false
17
20
null
str
null
[ "self" ]
null
BaseLineage
Type: method Member Name: stringify_graph Qualified Name: fenic.core._interfaces.lineage.BaseLineage.stringify_graph Docstring: Print the operator tree of the query. Value: none Annotation: none is Public? : true is Private? : false Parameters: ["self"] Returns: str Parent Class: BaseLineage
method
start_from_source
fenic.core._interfaces.lineage.BaseLineage.start_from_source
Set the current position to a specific source in the query plan.
null
true
false
22
25
null
None
null
[ "self", "source_name" ]
null
BaseLineage
Type: method Member Name: start_from_source Qualified Name: fenic.core._interfaces.lineage.BaseLineage.start_from_source Docstring: Set the current position to a specific source in the query plan. Value: none Annotation: none is Public? : true is Private? : false Parameters: ["self", "source_name"] Returns: None Parent...
method
forwards
fenic.core._interfaces.lineage.BaseLineage.forwards
Trace rows forward to see how they are transformed by the next operation.
null
true
false
27
30
null
pl.DataFrame
null
[ "self", "ids" ]
null
BaseLineage
Type: method Member Name: forwards Qualified Name: fenic.core._interfaces.lineage.BaseLineage.forwards Docstring: Trace rows forward to see how they are transformed by the next operation. Value: none Annotation: none is Public? : true is Private? : false Parameters: ["self", "ids"] Returns: pl.DataFrame Parent Class: B...
method
backwards
fenic.core._interfaces.lineage.BaseLineage.backwards
Trace rows backwards to see which input rows produced them.
null
true
false
32
37
null
pl.DataFrame
null
[ "self", "ids", "branch_side" ]
null
BaseLineage
Type: method Member Name: backwards Qualified Name: fenic.core._interfaces.lineage.BaseLineage.backwards Docstring: Trace rows backwards to see which input rows produced them. Value: none Annotation: none is Public? : true is Private? : false Parameters: ["self", "ids", "branch_side"] Returns: pl.DataFrame Parent Class...
method
get_result_df
fenic.core._interfaces.lineage.BaseLineage.get_result_df
Get the result of the query as a Polars DataFrame.
null
true
false
39
42
null
pl.DataFrame
null
[ "self" ]
null
BaseLineage
Type: method Member Name: get_result_df Qualified Name: fenic.core._interfaces.lineage.BaseLineage.get_result_df Docstring: Get the result of the query as a Polars DataFrame. Value: none Annotation: none is Public? : true is Private? : false Parameters: ["self"] Returns: pl.DataFrame Parent Class: BaseLineage
method
get_source_df
fenic.core._interfaces.lineage.BaseLineage.get_source_df
Get a query source by name as a Polars DataFrame.
null
true
false
44
47
null
pl.DataFrame
null
[ "self", "source_name" ]
null
BaseLineage
Type: method Member Name: get_source_df Qualified Name: fenic.core._interfaces.lineage.BaseLineage.get_source_df Docstring: Get a query source by name as a Polars DataFrame. Value: none Annotation: none is Public? : true is Private? : false Parameters: ["self", "source_name"] Returns: pl.DataFrame Parent Class: BaseLin...
module
_logical_plan
fenic.core._logical_plan
null
/private/var/folders/w2/dyfkx_354cqghs4b74vb_x380000gn/T/fenic-clone-0.11.0-a2lcuovw/fenic/src/fenic/core/_logical_plan/__init__.py
false
true
null
null
null
null
null
null
null
null
Type: module Member Name: _logical_plan Qualified Name: fenic.core._logical_plan Docstring: none Value: none Annotation: none is Public? : false is Private? : true Parameters: none Returns: none Parent Class: none
attribute
__all__
fenic.core._logical_plan.__all__
null
null
false
false
4
7
null
null
['LogicalPlan', 'LogicalExpr']
null
null
null
Type: attribute Member Name: __all__ Qualified Name: fenic.core._logical_plan.__all__ Docstring: none Value: ['LogicalPlan', 'LogicalExpr'] Annotation: none is Public? : false is Private? : false Parameters: none Returns: none Parent Class: none
module
resolved_types
fenic.core._logical_plan.resolved_types
null
/private/var/folders/w2/dyfkx_354cqghs4b74vb_x380000gn/T/fenic-clone-0.11.0-a2lcuovw/fenic/src/fenic/core/_logical_plan/resolved_types.py
true
false
null
null
null
null
null
null
null
null
Type: module Member Name: resolved_types Qualified Name: fenic.core._logical_plan.resolved_types Docstring: none Value: none Annotation: none is Public? : true is Private? : false Parameters: none Returns: none Parent Class: none
attribute
logger
fenic.core._logical_plan.resolved_types.logger
null
null
true
false
18
18
null
null
logging.getLogger(__name__)
null
null
null
Type: attribute Member Name: logger Qualified Name: fenic.core._logical_plan.resolved_types.logger Docstring: none Value: logging.getLogger(__name__) Annotation: none is Public? : true is Private? : false Parameters: none Returns: none Parent Class: none
class
ResolvedModelAlias
fenic.core._logical_plan.resolved_types.ResolvedModelAlias
A resolved model alias with an optional profile name. Attributes: name: The name of the model. profile: The optional name of a profile configuration to use for the model.
null
true
false
21
31
null
null
null
null
[]
null
Type: class Member Name: ResolvedModelAlias Qualified Name: fenic.core._logical_plan.resolved_types.ResolvedModelAlias Docstring: A resolved model alias with an optional profile name. Attributes: name: The name of the model. profile: The optional name of a profile configuration to use for the model. Value: non...
method
__init__
fenic.core._logical_plan.resolved_types.ResolvedModelAlias.__init__
null
null
true
false
0
0
null
None
null
[ "self", "name", "profile" ]
null
ResolvedModelAlias
Type: method Member Name: __init__ Qualified Name: fenic.core._logical_plan.resolved_types.ResolvedModelAlias.__init__ Docstring: none Value: none Annotation: none is Public? : true is Private? : false Parameters: ["self", "name", "profile"] Returns: None Parent Class: ResolvedModelAlias
class
ResolvedClassDefinition
fenic.core._logical_plan.resolved_types.ResolvedClassDefinition
null
null
true
false
33
36
null
null
null
null
[]
null
Type: class Member Name: ResolvedClassDefinition Qualified Name: fenic.core._logical_plan.resolved_types.ResolvedClassDefinition Docstring: none Value: none Annotation: none is Public? : true is Private? : false Parameters: none Returns: none Parent Class: none
method
__init__
fenic.core._logical_plan.resolved_types.ResolvedClassDefinition.__init__
null
null
true
false
0
0
null
None
null
[ "self", "label", "description" ]
null
ResolvedClassDefinition
Type: method Member Name: __init__ Qualified Name: fenic.core._logical_plan.resolved_types.ResolvedClassDefinition.__init__ Docstring: none Value: none Annotation: none is Public? : true is Private? : false Parameters: ["self", "label", "description"] Returns: None Parent Class: ResolvedClassDefinition
class
ResolvedResponseFormat
fenic.core._logical_plan.resolved_types.ResolvedResponseFormat
Internal representation of a JSON schema for structured output. This class wraps a JSON schema dictionary to make it clear that this is the resolved format used for model client communication, as opposed to the original Pydantic model type. Attributes: pydantic_model: The Pydantic Model that defines the resolved ...
null
true
false
38
159
null
null
null
null
[]
null
Type: class Member Name: ResolvedResponseFormat Qualified Name: fenic.core._logical_plan.resolved_types.ResolvedResponseFormat Docstring: Internal representation of a JSON schema for structured output. This class wraps a JSON schema dictionary to make it clear that this is the resolved format used for model client com...
method
from_json_schema
fenic.core._logical_plan.resolved_types.ResolvedResponseFormat.from_json_schema
Create a ResolvedResponseFormat from a Pydantic model.
null
true
false
60
74
null
'ResolvedResponseFormat'
null
[ "cls", "raw_schema", "prompt_schema_definition", "struct_type" ]
null
ResolvedResponseFormat
Type: method Member Name: from_json_schema Qualified Name: fenic.core._logical_plan.resolved_types.ResolvedResponseFormat.from_json_schema Docstring: Create a ResolvedResponseFormat from a Pydantic model. Value: none Annotation: none is Public? : true is Private? : false Parameters: ["cls", "raw_schema", "prompt_schema...
method
from_pydantic_model
fenic.core._logical_plan.resolved_types.ResolvedResponseFormat.from_pydantic_model
Create a ResolvedResponseFormat from a Pydantic model.
null
true
false
76
92
null
'ResolvedResponseFormat'
null
[ "cls", "model", "generate_struct_type" ]
null
ResolvedResponseFormat
Type: method Member Name: from_pydantic_model Qualified Name: fenic.core._logical_plan.resolved_types.ResolvedResponseFormat.from_pydantic_model Docstring: Create a ResolvedResponseFormat from a Pydantic model. Value: none Annotation: none is Public? : true is Private? : false Parameters: ["cls", "model", "generate_str...
method
__eq__
fenic.core._logical_plan.resolved_types.ResolvedResponseFormat.__eq__
null
null
true
false
94
97
null
bool
null
[ "self", "other" ]
null
ResolvedResponseFormat
Type: method Member Name: __eq__ Qualified Name: fenic.core._logical_plan.resolved_types.ResolvedResponseFormat.__eq__ Docstring: none Value: none Annotation: none is Public? : true is Private? : false Parameters: ["self", "other"] Returns: bool Parent Class: ResolvedResponseFormat
method
__hash__
fenic.core._logical_plan.resolved_types.ResolvedResponseFormat.__hash__
null
null
true
false
99
100
null
int
null
[ "self" ]
null
ResolvedResponseFormat
Type: method Member Name: __hash__ Qualified Name: fenic.core._logical_plan.resolved_types.ResolvedResponseFormat.__hash__ Docstring: none Value: none Annotation: none is Public? : true is Private? : false Parameters: ["self"] Returns: int Parent Class: ResolvedResponseFormat
method
validate_structured_response
fenic.core._logical_plan.resolved_types.ResolvedResponseFormat.validate_structured_response
null
null
true
false
111
112
null
None
null
[ "self", "response" ]
null
ResolvedResponseFormat
Type: method Member Name: validate_structured_response Qualified Name: fenic.core._logical_plan.resolved_types.ResolvedResponseFormat.validate_structured_response Docstring: none Value: none Annotation: none is Public? : true is Private? : false Parameters: ["self", "response"] Returns: None Parent Class: ResolvedRespo...
method
parse_structured_response
fenic.core._logical_plan.resolved_types.ResolvedResponseFormat.parse_structured_response
Validate and parse a structured JSON response using ResolvedResponseFormat's json schema. Args: json_resp: The JSON response string from the LLM (can be None) operator_name: Name of the operation (for logging purposes) Returns: Validated dictionary representation of the model, or None if validation fails
null
true
false
114
151
null
Optional[Dict[str, Any]]
null
[ "self", "json_resp", "operator_name" ]
null
ResolvedResponseFormat
Type: method Member Name: parse_structured_response Qualified Name: fenic.core._logical_plan.resolved_types.ResolvedResponseFormat.parse_structured_response Docstring: Validate and parse a structured JSON response using ResolvedResponseFormat's json schema. Args: json_resp: The JSON response string from the LLM (c...
method
_drop_non_structural_keys
fenic.core._logical_plan.resolved_types.ResolvedResponseFormat._drop_non_structural_keys
null
null
false
true
153
159
null
object
null
[ "self", "node" ]
null
ResolvedResponseFormat
Type: method Member Name: _drop_non_structural_keys Qualified Name: fenic.core._logical_plan.resolved_types.ResolvedResponseFormat._drop_non_structural_keys Docstring: none Value: none Annotation: none is Public? : false is Private? : true Parameters: ["self", "node"] Returns: object Parent Class: ResolvedResponseForma...
method
__init__
fenic.core._logical_plan.resolved_types.ResolvedResponseFormat.__init__
null
null
true
false
0
0
null
None
null
[ "self", "pydantic_model", "json_schema", "prompt_schema_definition", "struct_type" ]
null
ResolvedResponseFormat
Type: method Member Name: __init__ Qualified Name: fenic.core._logical_plan.resolved_types.ResolvedResponseFormat.__init__ Docstring: none Value: none Annotation: none is Public? : true is Private? : false Parameters: ["self", "pydantic_model", "json_schema", "prompt_schema_definition", "struct_type"] Returns: None Par...
module
walker
fenic.core._logical_plan.walker
Utilities for walking logical plans and searching expressions. These helpers provide traversal to find `LogicalExpr` instances contained in a `LogicalPlan` tree. They do not mutate plans or expressions; they only collect references that match a predicate. Traversal strategy: - For each plan node, introspect attribute...
/private/var/folders/w2/dyfkx_354cqghs4b74vb_x380000gn/T/fenic-clone-0.11.0-a2lcuovw/fenic/src/fenic/core/_logical_plan/walker.py
true
false
null
null
null
null
null
null
null
null
Type: module Member Name: walker Qualified Name: fenic.core._logical_plan.walker Docstring: Utilities for walking logical plans and searching expressions. These helpers provide traversal to find `LogicalExpr` instances contained in a `LogicalPlan` tree. They do not mutate plans or expressions; they only collect refere...
function
iter_plan_expressions
fenic.core._logical_plan.walker.iter_plan_expressions
Yield (plan_node, expr) pairs for every LogicalExpr reachable from the plan. For each plan node: - find attribute-attached expression roots - traverse each root's expression tree - recurse into child plan nodes
null
true
false
21
42
null
Generator[Tuple[LogicalPlan, LogicalExpr], None, None]
null
[ "plan" ]
null
null
Type: function Member Name: iter_plan_expressions Qualified Name: fenic.core._logical_plan.walker.iter_plan_expressions Docstring: Yield (plan_node, expr) pairs for every LogicalExpr reachable from the plan. For each plan node: - find attribute-attached expression roots - traverse each root's expression tree - recurse...
function
find_expressions
fenic.core._logical_plan.walker.find_expressions
Collect expressions in the plan tree that satisfy the predicate.
null
true
false
45
51
null
List[LogicalExpr]
null
[ "plan", "predicate" ]
null
null
Type: function Member Name: find_expressions Qualified Name: fenic.core._logical_plan.walker.find_expressions Docstring: Collect expressions in the plan tree that satisfy the predicate. Value: none Annotation: none is Public? : true is Private? : false Parameters: ["plan", "predicate"] Returns: List[LogicalExpr] Parent...
function
_iter_expr_tree
fenic.core._logical_plan.walker._iter_expr_tree
Depth-first traversal of an expression tree using expr.children().
null
false
true
54
66
null
Generator[LogicalExpr, None, None]
null
[ "expr" ]
null
null
Type: function Member Name: _iter_expr_tree Qualified Name: fenic.core._logical_plan.walker._iter_expr_tree Docstring: Depth-first traversal of an expression tree using expr.children(). Value: none Annotation: none is Public? : false is Private? : true Parameters: ["expr"] Returns: Generator[LogicalExpr, None, None] Pa...
module
utils
fenic.core._logical_plan.utils
null
/private/var/folders/w2/dyfkx_354cqghs4b74vb_x380000gn/T/fenic-clone-0.11.0-a2lcuovw/fenic/src/fenic/core/_logical_plan/utils.py
true
false
null
null
null
null
null
null
null
null
Type: module Member Name: utils Qualified Name: fenic.core._logical_plan.utils Docstring: none Value: none Annotation: none is Public? : true is Private? : false Parameters: none Returns: none Parent Class: none
function
parse_model_alias
fenic.core._logical_plan.utils.parse_model_alias
Parse a model alias to extract base model and profile name. Args: model_alias: Model alias in format 'model' or 'model.profile' Returns: Tuple of (base_model_alias, profile_name) If no dot present, profile_name will be None
null
true
false
25
39
null
Tuple[str, Optional[str]]
null
[ "model_alias" ]
null
null
Type: function Member Name: parse_model_alias Qualified Name: fenic.core._logical_plan.utils.parse_model_alias Docstring: Parse a model alias to extract base model and profile name. Args: model_alias: Model alias in format 'model' or 'model.profile' Returns: Tuple of (base_model_alias, profile_name) If no...
function
fetch_model_and_completion_parameters
fenic.core._logical_plan.utils.fetch_model_and_completion_parameters
Fetches the model, provider, and completion parameters for a given model alias for parameter validation. If no model alias is provided, the session's default language model is used.
null
true
false
41
74
null
Tuple[ResolvedModelConfig, ModelProvider, CompletionModelParameters]
null
[ "model_alias", "resolved_session_config" ]
null
null
Type: function Member Name: fetch_model_and_completion_parameters Qualified Name: fenic.core._logical_plan.utils.fetch_model_and_completion_parameters Docstring: Fetches the model, provider, and completion parameters for a given model alias for parameter validation. If no model alias is provided, the session's default...
function
validate_completion_parameters
fenic.core._logical_plan.utils.validate_completion_parameters
Validates that the provided temperature and max_tokens are within the limits allowed by the specified language model. Parameters: model_alias (Optional[ResolvedModelAlias]): ResolvedModelAlias object containing model name and optional profile. Defaults to the session's default if not provided. ...
null
true
false
76
124
null
null
null
[ "model_alias", "resolved_session_config", "temperature", "max_tokens" ]
null
null
Type: function Member Name: validate_completion_parameters Qualified Name: fenic.core._logical_plan.utils.validate_completion_parameters Docstring: Validates that the provided temperature and max_tokens are within the limits allowed by the specified language model. Parameters: model_alias (Optional[ResolvedModelAl...
function
validate_model_support_for_pdf_parsing
fenic.core._logical_plan.utils.validate_model_support_for_pdf_parsing
Validates that the model supports PDF parsing. Parameters: model_alias (Optional[ResolvedModelAlias]): ResolvedModelAlias object containing model name and optional profile. Defaults to the session's default if not provided. resolved_session_config (ResolvedSessionConfig): The resolved s...
null
true
false
127
140
null
null
null
[ "model_alias", "resolved_session_config" ]
null
null
Type: function Member Name: validate_model_support_for_pdf_parsing Qualified Name: fenic.core._logical_plan.utils.validate_model_support_for_pdf_parsing Docstring: Validates that the model supports PDF parsing. Parameters: model_alias (Optional[ResolvedModelAlias]): ResolvedModelAlias object containing mod...
function
validate_scalar_expr
fenic.core._logical_plan.utils.validate_scalar_expr
null
null
true
false
142
152
null
null
null
[ "expr", "function_name" ]
null
null
Type: function Member Name: validate_scalar_expr Qualified Name: fenic.core._logical_plan.utils.validate_scalar_expr Docstring: none Value: none Annotation: none is Public? : true is Private? : false Parameters: ["expr", "function_name"] Returns: none Parent Class: none
module
jinja_validation
fenic.core._logical_plan.jinja_validation
null
/private/var/folders/w2/dyfkx_354cqghs4b74vb_x380000gn/T/fenic-clone-0.11.0-a2lcuovw/fenic/src/fenic/core/_logical_plan/jinja_validation.py
true
false
null
null
null
null
null
null
null
null
Type: module Member Name: jinja_validation Qualified Name: fenic.core._logical_plan.jinja_validation Docstring: none Value: none Annotation: none is Public? : true is Private? : false Parameters: none Returns: none Parent Class: none
attribute
logger
fenic.core._logical_plan.jinja_validation.logger
null
null
true
false
17
17
null
null
logging.getLogger(__name__)
null
null
null
Type: attribute Member Name: logger Qualified Name: fenic.core._logical_plan.jinja_validation.logger Docstring: none Value: logging.getLogger(__name__) Annotation: none is Public? : true is Private? : false Parameters: none Returns: none Parent Class: none
attribute
ALLOWED_JINJA_NODES
fenic.core._logical_plan.jinja_validation.ALLOWED_JINJA_NODES
null
null
true
false
24
35
null
null
(nodes.Template, nodes.Output, nodes.Name, nodes.Getattr, nodes.Getitem, nodes.If, nodes.For, nodes.Not, nodes.TemplateData, nodes.Const)
null
null
null
Type: attribute Member Name: ALLOWED_JINJA_NODES Qualified Name: fenic.core._logical_plan.jinja_validation.ALLOWED_JINJA_NODES Docstring: none Value: (nodes.Template, nodes.Output, nodes.Name, nodes.Getattr, nodes.Getitem, nodes.If, nodes.For, nodes.Not, nodes.TemplateData, nodes.Const) Annotation: none is Public? : tr...
attribute
VALID_LOOP_ATTRIBUTES
fenic.core._logical_plan.jinja_validation.VALID_LOOP_ATTRIBUTES
null
null
true
false
37
41
null
null
{'index', 'index0', 'revindex', 'revindex0', 'first', 'last', 'length', 'depth', 'depth0', 'previtem', 'nextitem'}
null
null
null
Type: attribute Member Name: VALID_LOOP_ATTRIBUTES Qualified Name: fenic.core._logical_plan.jinja_validation.VALID_LOOP_ATTRIBUTES Docstring: none Value: {'index', 'index0', 'revindex', 'revindex0', 'first', 'last', 'length', 'depth', 'depth0', 'previtem', 'nextitem'} Annotation: none is Public? : true is Private? : fa...
class
TypeRequirement
fenic.core._logical_plan.jinja_validation.TypeRequirement
Expected data type for a variable based on how it's used in the template.
null
true
false
47
50
null
null
null
null
[ "Enum" ]
null
Type: class Member Name: TypeRequirement Qualified Name: fenic.core._logical_plan.jinja_validation.TypeRequirement Docstring: Expected data type for a variable based on how it's used in the template. Value: none Annotation: none is Public? : true is Private? : false Parameters: none Returns: none Parent Class: none
class
VariableNode
fenic.core._logical_plan.jinja_validation.VariableNode
A variable in the Jinja template with its expected data type.
null
true
false
52
75
null
null
null
null
[]
null
Type: class Member Name: VariableNode Qualified Name: fenic.core._logical_plan.jinja_validation.VariableNode Docstring: A variable in the Jinja template with its expected data type. Value: none Annotation: none is Public? : true is Private? : false Parameters: none Returns: none Parent Class: none
method
set_requirement
fenic.core._logical_plan.jinja_validation.VariableNode.set_requirement
Set the type requirement, validating consistency with previous uses.
null
true
false
59
69
null
None
null
[ "self", "req", "line_no" ]
null
VariableNode
Type: method Member Name: set_requirement Qualified Name: fenic.core._logical_plan.jinja_validation.VariableNode.set_requirement Docstring: Set the type requirement, validating consistency with previous uses. Value: none Annotation: none is Public? : true is Private? : false Parameters: ["self", "req", "line_no"] Retur...
method
get_or_create_child
fenic.core._logical_plan.jinja_validation.VariableNode.get_or_create_child
Get or create a child node for nested fields like user.name or items[*].
null
true
false
71
75
null
VariableNode
null
[ "self", "name" ]
null
VariableNode
Type: method Member Name: get_or_create_child Qualified Name: fenic.core._logical_plan.jinja_validation.VariableNode.get_or_create_child Docstring: Get or create a child node for nested fields like user.name or items[*]. Value: none Annotation: none is Public? : true is Private? : false Parameters: ["self", "name"] Ret...
method
__init__
fenic.core._logical_plan.jinja_validation.VariableNode.__init__
null
null
true
false
0
0
null
None
null
[ "self", "requirement", "children", "line_no" ]
null
VariableNode
Type: method Member Name: __init__ Qualified Name: fenic.core._logical_plan.jinja_validation.VariableNode.__init__ Docstring: none Value: none Annotation: none is Public? : true is Private? : false Parameters: ["self", "requirement", "children", "line_no"] Returns: None Parent Class: VariableNode
class
LoopDefinition
fenic.core._logical_plan.jinja_validation.LoopDefinition
A loop variable definition mapping the variable name to the array being iterated.
null
true
false
77
81
null
null
null
null
[]
null
Type: class Member Name: LoopDefinition Qualified Name: fenic.core._logical_plan.jinja_validation.LoopDefinition Docstring: A loop variable definition mapping the variable name to the array being iterated. Value: none Annotation: none is Public? : true is Private? : false Parameters: none Returns: none Parent Class: no...
method
__init__
fenic.core._logical_plan.jinja_validation.LoopDefinition.__init__
null
null
true
false
0
0
null
None
null
[ "self", "var_name", "array_path" ]
null
LoopDefinition
Type: method Member Name: __init__ Qualified Name: fenic.core._logical_plan.jinja_validation.LoopDefinition.__init__ Docstring: none Value: none Annotation: none is Public? : true is Private? : false Parameters: ["self", "var_name", "array_path"] Returns: None Parent Class: LoopDefinition
class
ReferenceAccessContext
fenic.core._logical_plan.jinja_validation.ReferenceAccessContext
How a variable is used in the template.
null
true
false
83
87
null
null
null
null
[ "Enum" ]
null
Type: class Member Name: ReferenceAccessContext Qualified Name: fenic.core._logical_plan.jinja_validation.ReferenceAccessContext Docstring: How a variable is used in the template. Value: none Annotation: none is Public? : true is Private? : false Parameters: none Returns: none Parent Class: none
class
TemplateReference
fenic.core._logical_plan.jinja_validation.TemplateReference
A resolved variable access or output marker in the template. Attributes: var_path: Variable path as a list (e.g., ["user", "name"] for user.name). Empty list [] indicates output without schema variable access (constants, loop.index). context: How this is used - OUTPUT (displayed), CONDITION (if state...
null
true
false
89
102
null
null
null
null
[]
null
Type: class Member Name: TemplateReference Qualified Name: fenic.core._logical_plan.jinja_validation.TemplateReference Docstring: A resolved variable access or output marker in the template. Attributes: var_path: Variable path as a list (e.g., ["user", "name"] for user.name). Empty list [] indicates outp...
method
__init__
fenic.core._logical_plan.jinja_validation.TemplateReference.__init__
null
null
true
false
0
0
null
None
null
[ "self", "var_path", "context", "line_no" ]
null
TemplateReference
Type: method Member Name: __init__ Qualified Name: fenic.core._logical_plan.jinja_validation.TemplateReference.__init__ Docstring: none Value: none Annotation: none is Public? : true is Private? : false Parameters: ["self", "var_path", "context", "line_no"] Returns: None Parent Class: TemplateReference
class
ReferenceWithDeps
fenic.core._logical_plan.jinja_validation.ReferenceWithDeps
A variable access with its control flow dependencies.
null
true
false
104
108
null
null
null
null
[]
null
Type: class Member Name: ReferenceWithDeps Qualified Name: fenic.core._logical_plan.jinja_validation.ReferenceWithDeps Docstring: A variable access with its control flow dependencies. Value: none Annotation: none is Public? : true is Private? : false Parameters: none Returns: none Parent Class: none
method
__init__
fenic.core._logical_plan.jinja_validation.ReferenceWithDeps.__init__
null
null
true
false
0
0
null
None
null
[ "self", "access", "control_dependencies" ]
null
ReferenceWithDeps
Type: method Member Name: __init__ Qualified Name: fenic.core._logical_plan.jinja_validation.ReferenceWithDeps.__init__ Docstring: none Value: none Annotation: none is Public? : true is Private? : false Parameters: ["self", "access", "control_dependencies"] Returns: None Parent Class: ReferenceWithDeps
class
LoopStack
fenic.core._logical_plan.jinja_validation.LoopStack
Manages loop variable scoping during template traversal.
null
true
false
110
137
null
null
null
null
[]
null
Type: class Member Name: LoopStack Qualified Name: fenic.core._logical_plan.jinja_validation.LoopStack Docstring: Manages loop variable scoping during template traversal. Value: none Annotation: none is Public? : true is Private? : false Parameters: none Returns: none Parent Class: none
method
__init__
fenic.core._logical_plan.jinja_validation.LoopStack.__init__
null
null
true
false
113
114
null
null
null
[ "self" ]
null
LoopStack
Type: method Member Name: __init__ Qualified Name: fenic.core._logical_plan.jinja_validation.LoopStack.__init__ Docstring: none Value: none Annotation: none is Public? : true is Private? : false Parameters: ["self"] Returns: none Parent Class: LoopStack
method
push_loop_var
fenic.core._logical_plan.jinja_validation.LoopStack.push_loop_var
Push a new loop variable (may shadow existing ones with the same name).
null
true
false
116
118
null
None
null
[ "self", "var_name", "array_path" ]
null
LoopStack
Type: method Member Name: push_loop_var Qualified Name: fenic.core._logical_plan.jinja_validation.LoopStack.push_loop_var Docstring: Push a new loop variable (may shadow existing ones with the same name). Value: none Annotation: none is Public? : true is Private? : false Parameters: ["self", "var_name", "array_path"] R...
method
pop_loop_var
fenic.core._logical_plan.jinja_validation.LoopStack.pop_loop_var
Pop the most recent loop variable.
null
true
false
120
122
null
None
null
[ "self" ]
null
LoopStack
Type: method Member Name: pop_loop_var Qualified Name: fenic.core._logical_plan.jinja_validation.LoopStack.pop_loop_var Docstring: Pop the most recent loop variable. Value: none Annotation: none is Public? : true is Private? : false Parameters: ["self"] Returns: None Parent Class: LoopStack
method
resolve_variable
fenic.core._logical_plan.jinja_validation.LoopStack.resolve_variable
Resolve a variable name to its array path, or None if not a loop variable.
null
true
false
124
133
null
Optional[List[str]]
null
[ "self", "var_name" ]
null
LoopStack
Type: method Member Name: resolve_variable Qualified Name: fenic.core._logical_plan.jinja_validation.LoopStack.resolve_variable Docstring: Resolve a variable name to its array path, or None if not a loop variable. Value: none Annotation: none is Public? : true is Private? : false Parameters: ["self", "var_name"] Return...
method
is_in_loop
fenic.core._logical_plan.jinja_validation.LoopStack.is_in_loop
Check if a variable is defined in any loop.
null
true
false
135
137
null
bool
null
[ "self" ]
null
LoopStack
Type: method Member Name: is_in_loop Qualified Name: fenic.core._logical_plan.jinja_validation.LoopStack.is_in_loop Docstring: Check if a variable is defined in any loop. Value: none Annotation: none is Public? : true is Private? : false Parameters: ["self"] Returns: bool Parent Class: LoopStack
class
VariableTree
fenic.core._logical_plan.jinja_validation.VariableTree
Root of the schema tree containing all top-level variables.
null
true
false
139
580
null
null
null
null
[]
null
Type: class Member Name: VariableTree Qualified Name: fenic.core._logical_plan.jinja_validation.VariableTree Docstring: Root of the schema tree containing all top-level variables. Value: none Annotation: none is Public? : true is Private? : false Parameters: none Returns: none Parent Class: none
method
from_jinja_template
fenic.core._logical_plan.jinja_validation.VariableTree.from_jinja_template
Validate a Jinja template and extract its variable schema. Analyzes a Jinja template to determine what data structure it expects, including variable types (arrays, objects, booleans) and nested field requirements. Enforces security restrictions by only allowing safe template constructs. Args: template: A Jinja te...
null
true
false
144
184
null
VariableTree
null
[ "cls", "template" ]
null
VariableTree
Type: method Member Name: from_jinja_template Qualified Name: fenic.core._logical_plan.jinja_validation.VariableTree.from_jinja_template Docstring: Validate a Jinja template and extract its variable schema. Analyzes a Jinja template to determine what data structure it expects, including variable types (arrays, objects...
method
filter_used_expressions
fenic.core._logical_plan.jinja_validation.VariableTree.filter_used_expressions
Filters expressions to only those used in the template, validating all template variables are defined. Args: exprs: List of expression objects to filter Returns: List of expressions that are actually used in the template, in order of appearance Raises: ValidationError: If a template variable doesn't have...
null
true
false
186
223
null
List[Union[ColumnExpr, AliasExpr]]
null
[ "self", "exprs" ]
null
VariableTree
Type: method Member Name: filter_used_expressions Qualified Name: fenic.core._logical_plan.jinja_validation.VariableTree.filter_used_expressions Docstring: Filters expressions to only those used in the template, validating all template variables are defined. Args: exprs: List of expression objects to filter Retur...
method
validate_jinja_variable
fenic.core._logical_plan.jinja_validation.VariableTree.validate_jinja_variable
Recursively validates that the structure and type requirements of a Jinja template variable match the actual column schema. This ensures that: - For-loop variables are backed by ArrayType columns. - Struct field access is valid and only used on StructType columns. Args: variable_name: The name of the top-leve...
null
true
false
225
283
null
None
null
[ "self", "variable_name", "data_type" ]
null
VariableTree
Type: method Member Name: validate_jinja_variable Qualified Name: fenic.core._logical_plan.jinja_validation.VariableTree.validate_jinja_variable Docstring: Recursively validates that the structure and type requirements of a Jinja template variable match the actual column schema. This ensures that: - For-loop variabl...
method
_get_or_create_variable
fenic.core._logical_plan.jinja_validation.VariableTree._get_or_create_variable
Get or create a top-level variable node.
null
false
true
286
290
null
VariableNode
null
[ "self", "name" ]
null
VariableTree
Type: method Member Name: _get_or_create_variable Qualified Name: fenic.core._logical_plan.jinja_validation.VariableTree._get_or_create_variable Docstring: Get or create a top-level variable node. Value: none Annotation: none is Public? : false is Private? : true Parameters: ["self", "name"] Returns: VariableNode Paren...
method
_parse_template
fenic.core._logical_plan.jinja_validation.VariableTree._parse_template
Parse template string into AST with parent references.
null
false
true
297
307
null
nodes.Node
null
[ "template" ]
null
VariableTree
Type: method Member Name: _parse_template Qualified Name: fenic.core._logical_plan.jinja_validation.VariableTree._parse_template Docstring: Parse template string into AST with parent references. Value: none Annotation: none is Public? : false is Private? : true Parameters: ["template"] Returns: nodes.Node Parent Class:...
method
_validate_template
fenic.core._logical_plan.jinja_validation.VariableTree._validate_template
Validate that template only contains allowed, safe constructs.
null
false
true
309
341
null
None
null
[ "ast" ]
null
VariableTree
Type: method Member Name: _validate_template Qualified Name: fenic.core._logical_plan.jinja_validation.VariableTree._validate_template Docstring: Validate that template only contains allowed, safe constructs. Value: none Annotation: none is Public? : false is Private? : true Parameters: ["ast"] Returns: None Parent Cla...
method
_collect_variable_accesses
fenic.core._logical_plan.jinja_validation.VariableTree._collect_variable_accesses
Collect all variable accesses with proper scoping resolution.
null
false
true
346
350
null
List[ReferenceWithDeps]
null
[ "ast" ]
null
VariableTree
Type: method Member Name: _collect_variable_accesses Qualified Name: fenic.core._logical_plan.jinja_validation.VariableTree._collect_variable_accesses Docstring: Collect all variable accesses with proper scoping resolution. Value: none Annotation: none is Public? : false is Private? : true Parameters: ["ast"] Returns: ...
method
_traverse_and_collect
fenic.core._logical_plan.jinja_validation.VariableTree._traverse_and_collect
Traverse AST and collect variable accesses with resolved paths.
null
false
true
352
369
null
List[ReferenceWithDeps]
null
[ "node", "scope", "control_context" ]
null
VariableTree
Type: method Member Name: _traverse_and_collect Qualified Name: fenic.core._logical_plan.jinja_validation.VariableTree._traverse_and_collect Docstring: Traverse AST and collect variable accesses with resolved paths. Value: none Annotation: none is Public? : false is Private? : true Parameters: ["node", "scope", "contro...
method
_handle_for_loop
fenic.core._logical_plan.jinja_validation.VariableTree._handle_for_loop
Handle for loop: record iteration and update scope.
null
false
true
371
400
null
List[ReferenceWithDeps]
null
[ "node", "scope", "control_context", "line_no" ]
null
VariableTree
Type: method Member Name: _handle_for_loop Qualified Name: fenic.core._logical_plan.jinja_validation.VariableTree._handle_for_loop Docstring: Handle for loop: record iteration and update scope. Value: none Annotation: none is Public? : false is Private? : true Parameters: ["node", "scope", "control_context", "line_no"]...
method
_handle_conditional
fenic.core._logical_plan.jinja_validation.VariableTree._handle_conditional
Handle if statement: record condition variable.
null
false
true
402
418
null
List[ReferenceWithDeps]
null
[ "node", "scope", "control_context", "line_no" ]
null
VariableTree
Type: method Member Name: _handle_conditional Qualified Name: fenic.core._logical_plan.jinja_validation.VariableTree._handle_conditional Docstring: Handle if statement: record condition variable. Value: none Annotation: none is Public? : false is Private? : true Parameters: ["node", "scope", "control_context", "line_no...
method
_handle_output
fenic.core._logical_plan.jinja_validation.VariableTree._handle_output
Handle output expressions: record variables being displayed.
null
false
true
420
454
null
List[ReferenceWithDeps]
null
[ "node", "scope", "control_context", "line_no" ]
null
VariableTree
Type: method Member Name: _handle_output Qualified Name: fenic.core._logical_plan.jinja_validation.VariableTree._handle_output Docstring: Handle output expressions: record variables being displayed. Value: none Annotation: none is Public? : false is Private? : true Parameters: ["node", "scope", "control_context", "line...
method
_extract_variable_path
fenic.core._logical_plan.jinja_validation.VariableTree._extract_variable_path
Extract variable path as list of keys/fields from AST node.
null
false
true
460
493
null
Optional[List[str]]
null
[ "node", "scope" ]
null
VariableTree
Type: method Member Name: _extract_variable_path Qualified Name: fenic.core._logical_plan.jinja_validation.VariableTree._extract_variable_path Docstring: Extract variable path as list of keys/fields from AST node. Value: none Annotation: none is Public? : false is Private? : true Parameters: ["node", "scope"] Returns: ...
method
_resolve_variable_path
fenic.core._logical_plan.jinja_validation.VariableTree._resolve_variable_path
Resolve variable path using current loop scope.
null
false
true
495
508
null
List[str]
null
[ "path", "scope" ]
null
VariableTree
Type: method Member Name: _resolve_variable_path Qualified Name: fenic.core._logical_plan.jinja_validation.VariableTree._resolve_variable_path Docstring: Resolve variable path using current loop scope. Value: none Annotation: none is Public? : false is Private? : true Parameters: ["path", "scope"] Returns: List[str] Pa...
method
_extract_output_dependencies
fenic.core._logical_plan.jinja_validation.VariableTree._extract_output_dependencies
Remove all variables that are not required to evaluate the output.
null
false
true
514
528
null
List[TemplateReference]
null
[ "all_accesses" ]
null
VariableTree
Type: method Member Name: _extract_output_dependencies Qualified Name: fenic.core._logical_plan.jinja_validation.VariableTree._extract_output_dependencies Docstring: Remove all variables that are not required to evaluate the output. Value: none Annotation: none is Public? : false is Private? : true Parameters: ["all_ac...
method
_build_schema_tree
fenic.core._logical_plan.jinja_validation.VariableTree._build_schema_tree
Build the final schema tree from filtered variable accesses.
null
false
true
530
549
null
VariableTree
null
[ "cls", "accesses" ]
null
VariableTree
Type: method Member Name: _build_schema_tree Qualified Name: fenic.core._logical_plan.jinja_validation.VariableTree._build_schema_tree Docstring: Build the final schema tree from filtered variable accesses. Value: none Annotation: none is Public? : false is Private? : true Parameters: ["cls", "accesses"] Returns: Varia...
method
_add_path_to_tree
fenic.core._logical_plan.jinja_validation.VariableTree._add_path_to_tree
Add a resolved path to the schema tree with proper type requirements.
null
false
true
551
580
null
None
null
[ "tree", "path", "leaf_requirement", "line_no" ]
null
VariableTree
Type: method Member Name: _add_path_to_tree Qualified Name: fenic.core._logical_plan.jinja_validation.VariableTree._add_path_to_tree Docstring: Add a resolved path to the schema tree with proper type requirements. Value: none Annotation: none is Public? : false is Private? : true Parameters: ["tree", "path", "leaf_requ...
method
__init__
fenic.core._logical_plan.jinja_validation.VariableTree.__init__
null
null
true
false
0
0
null
None
null
[ "self", "variables" ]
null
VariableTree
Type: method Member Name: __init__ Qualified Name: fenic.core._logical_plan.jinja_validation.VariableTree.__init__ Docstring: none Value: none Annotation: none is Public? : true is Private? : false Parameters: ["self", "variables"] Returns: None Parent Class: VariableTree
function
_format_path
fenic.core._logical_plan.jinja_validation._format_path
null
null
false
true
582
589
null
str
null
[ "path" ]
null
null
Type: function Member Name: _format_path Qualified Name: fenic.core._logical_plan.jinja_validation._format_path Docstring: none Value: none Annotation: none is Public? : false is Private? : true Parameters: ["path"] Returns: str Parent Class: none
module
optimizer
fenic.core._logical_plan.optimizer
Optimizer module for optimizing logical plans. This module contains the logic for optimizing logical query plans. These classes are not part of the public API and should not be used directly.
/private/var/folders/w2/dyfkx_354cqghs4b74vb_x380000gn/T/fenic-clone-0.11.0-a2lcuovw/fenic/src/fenic/core/_logical_plan/optimizer/__init__.py
true
false
null
null
null
null
null
null
null
null
Type: module Member Name: optimizer Qualified Name: fenic.core._logical_plan.optimizer Docstring: Optimizer module for optimizing logical plans. This module contains the logic for optimizing logical query plans. These classes are not part of the public API and should not be used directly. Value: none Annotation: none ...
attribute
all
fenic.core._logical_plan.optimizer.all
null
null
true
false
26
33
null
null
['LogicalPlanOptimizerRule', 'MergeFiltersRule', 'NotFilterPushdownRule', 'SemanticFilterRewriteRule', 'OptimizationResult', 'LogicalPlanOptimizer']
null
null
null
Type: attribute Member Name: all Qualified Name: fenic.core._logical_plan.optimizer.all Docstring: none Value: ['LogicalPlanOptimizerRule', 'MergeFiltersRule', 'NotFilterPushdownRule', 'SemanticFilterRewriteRule', 'OptimizationResult', 'LogicalPlanOptimizer'] Annotation: none is Public? : true is Private? : false Param...
module
semantic_filter_rewrite_rule
fenic.core._logical_plan.optimizer.semantic_filter_rewrite_rule
null
/private/var/folders/w2/dyfkx_354cqghs4b74vb_x380000gn/T/fenic-clone-0.11.0-a2lcuovw/fenic/src/fenic/core/_logical_plan/optimizer/semantic_filter_rewrite_rule.py
true
false
null
null
null
null
null
null
null
null
Type: module Member Name: semantic_filter_rewrite_rule Qualified Name: fenic.core._logical_plan.optimizer.semantic_filter_rewrite_rule Docstring: none Value: none Annotation: none is Public? : true is Private? : false Parameters: none Returns: none Parent Class: none
class
SemanticFilterRewriteRule
fenic.core._logical_plan.optimizer.semantic_filter_rewrite_rule.SemanticFilterRewriteRule
Optimization rule to reorder filter predicates by evaluation cost to minimize expensive LLM calls. This rule decomposes `AND` conditions and reorders predicates so that cheaper ones run first. It ensures that standard (non-LLM) filters are applied before filters involving LLM function calls, which helps avoid unnecess...
null
true
false
18
143
null
null
null
null
[ "LogicalPlanOptimizerRule" ]
null
Type: class Member Name: SemanticFilterRewriteRule Qualified Name: fenic.core._logical_plan.optimizer.semantic_filter_rewrite_rule.SemanticFilterRewriteRule Docstring: Optimization rule to reorder filter predicates by evaluation cost to minimize expensive LLM calls. This rule decomposes `AND` conditions and reorders p...
method
apply
fenic.core._logical_plan.optimizer.semantic_filter_rewrite_rule.SemanticFilterRewriteRule.apply
null
null
true
false
42
43
null
OptimizationResult
null
[ "self", "logical_plan", "session_state" ]
null
SemanticFilterRewriteRule
Type: method Member Name: apply Qualified Name: fenic.core._logical_plan.optimizer.semantic_filter_rewrite_rule.SemanticFilterRewriteRule.apply Docstring: none Value: none Annotation: none is Public? : true is Private? : false Parameters: ["self", "logical_plan", "session_state"] Returns: OptimizationResult Parent Clas...
method
optimize_node
fenic.core._logical_plan.optimizer.semantic_filter_rewrite_rule.SemanticFilterRewriteRule.optimize_node
null
null
true
false
45
62
null
OptimizationResult
null
[ "self", "node", "session_state" ]
null
SemanticFilterRewriteRule
Type: method Member Name: optimize_node Qualified Name: fenic.core._logical_plan.optimizer.semantic_filter_rewrite_rule.SemanticFilterRewriteRule.optimize_node Docstring: none Value: none Annotation: none is Public? : true is Private? : false Parameters: ["self", "node", "session_state"] Returns: OptimizationResult Par...
method
optimize_filter
fenic.core._logical_plan.optimizer.semantic_filter_rewrite_rule.SemanticFilterRewriteRule.optimize_filter
null
null
true
false
64
94
null
OptimizationResult
null
[ "self", "node", "session_state" ]
null
SemanticFilterRewriteRule
Type: method Member Name: optimize_filter Qualified Name: fenic.core._logical_plan.optimizer.semantic_filter_rewrite_rule.SemanticFilterRewriteRule.optimize_filter Docstring: none Value: none Annotation: none is Public? : true is Private? : false Parameters: ["self", "node", "session_state"] Returns: OptimizationResult...
method
partition_predicates
fenic.core._logical_plan.optimizer.semantic_filter_rewrite_rule.SemanticFilterRewriteRule.partition_predicates
null
null
true
false
99
118
null
Tuple[List[LogicalExpr], List[LogicalExpr]]
null
[ "self", "predicate" ]
null
SemanticFilterRewriteRule
Type: method Member Name: partition_predicates Qualified Name: fenic.core._logical_plan.optimizer.semantic_filter_rewrite_rule.SemanticFilterRewriteRule.partition_predicates Docstring: none Value: none Annotation: none is Public? : true is Private? : false Parameters: ["self", "predicate"] Returns: Tuple[List[LogicalEx...
method
_make_and_expr
fenic.core._logical_plan.optimizer.semantic_filter_rewrite_rule.SemanticFilterRewriteRule._make_and_expr
Combine multiple predicates with AND operators.
null
false
true
120
131
null
LogicalExpr
null
[ "predicates" ]
null
SemanticFilterRewriteRule
Type: method Member Name: _make_and_expr Qualified Name: fenic.core._logical_plan.optimizer.semantic_filter_rewrite_rule.SemanticFilterRewriteRule._make_and_expr Docstring: Combine multiple predicates with AND operators. Value: none Annotation: none is Public? : false is Private? : true Parameters: ["predicates"] Retur...
method
count_semantic_predicate_expressions
fenic.core._logical_plan.optimizer.semantic_filter_rewrite_rule.SemanticFilterRewriteRule.count_semantic_predicate_expressions
Count the number of semantic predicate expressions in the expression tree.
null
true
false
133
139
null
int
null
[ "expr" ]
null
SemanticFilterRewriteRule
Type: method Member Name: count_semantic_predicate_expressions Qualified Name: fenic.core._logical_plan.optimizer.semantic_filter_rewrite_rule.SemanticFilterRewriteRule.count_semantic_predicate_expressions Docstring: Count the number of semantic predicate expressions in the expression tree. Value: none Annotation: none...
method
is_and_expr
fenic.core._logical_plan.optimizer.semantic_filter_rewrite_rule.SemanticFilterRewriteRule.is_and_expr
null
null
true
false
141
143
null
bool
null
[ "expr" ]
null
SemanticFilterRewriteRule
Type: method Member Name: is_and_expr Qualified Name: fenic.core._logical_plan.optimizer.semantic_filter_rewrite_rule.SemanticFilterRewriteRule.is_and_expr Docstring: none Value: none Annotation: none is Public? : true is Private? : false Parameters: ["expr"] Returns: bool Parent Class: SemanticFilterRewriteRule
module
not_filter_pushdown_rule
fenic.core._logical_plan.optimizer.not_filter_pushdown_rule
null
/private/var/folders/w2/dyfkx_354cqghs4b74vb_x380000gn/T/fenic-clone-0.11.0-a2lcuovw/fenic/src/fenic/core/_logical_plan/optimizer/not_filter_pushdown_rule.py
true
false
null
null
null
null
null
null
null
null
Type: module Member Name: not_filter_pushdown_rule Qualified Name: fenic.core._logical_plan.optimizer.not_filter_pushdown_rule Docstring: none Value: none Annotation: none is Public? : true is Private? : false Parameters: none Returns: none Parent Class: none
class
NotFilterPushdownRule
fenic.core._logical_plan.optimizer.not_filter_pushdown_rule.NotFilterPushdownRule
Optimization rule that selectively pushes NOT operators inward using De Morgan's laws. This transformation only applies optimizations that increase AND expressions: - NOT(A OR B) becomes NOT(A) AND NOT(B) - NOT(NOT(A)) becomes A The rule deliberately avoids converting NOT(A AND B) to OR expressions since our optimiza...
null
true
false
16
114
null
null
null
null
[ "LogicalPlanOptimizerRule" ]
null
Type: class Member Name: NotFilterPushdownRule Qualified Name: fenic.core._logical_plan.optimizer.not_filter_pushdown_rule.NotFilterPushdownRule Docstring: Optimization rule that selectively pushes NOT operators inward using De Morgan's laws. This transformation only applies optimizations that increase AND expressions...
method
apply
fenic.core._logical_plan.optimizer.not_filter_pushdown_rule.NotFilterPushdownRule.apply
null
null
true
false
30
31
null
OptimizationResult
null
[ "self", "logical_plan", "session_state" ]
null
NotFilterPushdownRule
Type: method Member Name: apply Qualified Name: fenic.core._logical_plan.optimizer.not_filter_pushdown_rule.NotFilterPushdownRule.apply Docstring: none Value: none Annotation: none is Public? : true is Private? : false Parameters: ["self", "logical_plan", "session_state"] Returns: OptimizationResult Parent Class: NotFi...
method
optimize_node
fenic.core._logical_plan.optimizer.not_filter_pushdown_rule.NotFilterPushdownRule.optimize_node
null
null
true
false
33
53
null
OptimizationResult
null
[ "self", "node", "session_state" ]
null
NotFilterPushdownRule
Type: method Member Name: optimize_node Qualified Name: fenic.core._logical_plan.optimizer.not_filter_pushdown_rule.NotFilterPushdownRule.optimize_node Docstring: none Value: none Annotation: none is Public? : true is Private? : false Parameters: ["self", "node", "session_state"] Returns: OptimizationResult Parent Clas...
method
optimize_filter
fenic.core._logical_plan.optimizer.not_filter_pushdown_rule.NotFilterPushdownRule.optimize_filter
null
null
true
false
55
68
null
OptimizationResult
null
[ "self", "node", "session_state" ]
null
NotFilterPushdownRule
Type: method Member Name: optimize_filter Qualified Name: fenic.core._logical_plan.optimizer.not_filter_pushdown_rule.NotFilterPushdownRule.optimize_filter Docstring: none Value: none Annotation: none is Public? : true is Private? : false Parameters: ["self", "node", "session_state"] Returns: OptimizationResult Parent ...
method
push_not_inward
fenic.core._logical_plan.optimizer.not_filter_pushdown_rule.NotFilterPushdownRule.push_not_inward
Recursively push NOT operators inward but only in ways that increase AND expressions. Specifically, converts NOT(OR) to AND but leaves NOT(AND) intact.
null
true
false
70
110
null
LogicalExpr
null
[ "self", "expr" ]
null
NotFilterPushdownRule
Type: method Member Name: push_not_inward Qualified Name: fenic.core._logical_plan.optimizer.not_filter_pushdown_rule.NotFilterPushdownRule.push_not_inward Docstring: Recursively push NOT operators inward but only in ways that increase AND expressions. Specifically, converts NOT(OR) to AND but leaves NOT(AND) intact. ...
method
is_or_expr
fenic.core._logical_plan.optimizer.not_filter_pushdown_rule.NotFilterPushdownRule.is_or_expr
null
null
true
false
112
114
null
bool
null
[ "expr" ]
null
NotFilterPushdownRule
Type: method Member Name: is_or_expr Qualified Name: fenic.core._logical_plan.optimizer.not_filter_pushdown_rule.NotFilterPushdownRule.is_or_expr Docstring: none Value: none Annotation: none is Public? : true is Private? : false Parameters: ["expr"] Returns: bool Parent Class: NotFilterPushdownRule
module
merge_filters_rule
fenic.core._logical_plan.optimizer.merge_filters_rule
null
/private/var/folders/w2/dyfkx_354cqghs4b74vb_x380000gn/T/fenic-clone-0.11.0-a2lcuovw/fenic/src/fenic/core/_logical_plan/optimizer/merge_filters_rule.py
true
false
null
null
null
null
null
null
null
null
Type: module Member Name: merge_filters_rule Qualified Name: fenic.core._logical_plan.optimizer.merge_filters_rule Docstring: none Value: none Annotation: none is Public? : true is Private? : false Parameters: none Returns: none Parent Class: none
class
MergeFiltersRule
fenic.core._logical_plan.optimizer.merge_filters_rule.MergeFiltersRule
Optimization rule that merges consecutive filter operations into a single filter. This rule identifies consecutive filter operations and combines their predicates into a single filter operation so the combined predicates can be better optimized by SemanticPredicateReorderRule.
null
true
false
11
52
null
null
null
null
[ "LogicalPlanOptimizerRule" ]
null
Type: class Member Name: MergeFiltersRule Qualified Name: fenic.core._logical_plan.optimizer.merge_filters_rule.MergeFiltersRule Docstring: Optimization rule that merges consecutive filter operations into a single filter. This rule identifies consecutive filter operations and combines their predicates into a single fi...
method
apply
fenic.core._logical_plan.optimizer.merge_filters_rule.MergeFiltersRule.apply
null
null
true
false
18
20
null
OptimizationResult
null
[ "self", "logical_plan", "session_state" ]
null
MergeFiltersRule
Type: method Member Name: apply Qualified Name: fenic.core._logical_plan.optimizer.merge_filters_rule.MergeFiltersRule.apply Docstring: none Value: none Annotation: none is Public? : true is Private? : false Parameters: ["self", "logical_plan", "session_state"] Returns: OptimizationResult Parent Class: MergeFiltersRule
method
optimize_node
fenic.core._logical_plan.optimizer.merge_filters_rule.MergeFiltersRule.optimize_node
null
null
true
false
22
39
null
OptimizationResult
null
[ "self", "node", "session_state" ]
null
MergeFiltersRule
Type: method Member Name: optimize_node Qualified Name: fenic.core._logical_plan.optimizer.merge_filters_rule.MergeFiltersRule.optimize_node Docstring: none Value: none Annotation: none is Public? : true is Private? : false Parameters: ["self", "node", "session_state"] Returns: OptimizationResult Parent Class: MergeFil...
method
merge_filter
fenic.core._logical_plan.optimizer.merge_filters_rule.MergeFiltersRule.merge_filter
null
null
true
false
41
52
null
OptimizationResult
null
[ "self", "node", "session_state" ]
null
MergeFiltersRule
Type: method Member Name: merge_filter Qualified Name: fenic.core._logical_plan.optimizer.merge_filters_rule.MergeFiltersRule.merge_filter Docstring: none Value: none Annotation: none is Public? : true is Private? : false Parameters: ["self", "node", "session_state"] Returns: OptimizationResult Parent Class: MergeFilte...
module
base
fenic.core._logical_plan.optimizer.base
null
/private/var/folders/w2/dyfkx_354cqghs4b74vb_x380000gn/T/fenic-clone-0.11.0-a2lcuovw/fenic/src/fenic/core/_logical_plan/optimizer/base.py
true
false
null
null
null
null
null
null
null
null
Type: module Member Name: base Qualified Name: fenic.core._logical_plan.optimizer.base Docstring: none Value: none Annotation: none is Public? : true is Private? : false Parameters: none Returns: none Parent Class: none