tecton.OnDemandFeatureView
Summary
A Tecton On-Demand Feature View.
The OnDemandFeatureView should not be instantiated directly and the
tecton.on_demand_feature_view()
decorator is recommended instead.
Attributes
Name | Data Type | Description |
---|---|---|
created_at | Optional[datetime.datetime] | The time that this Tecton object was created or last updated. |
defined_in | Optional[str] | The repo filename where this object was declared. |
description | str | Returns the description of the Tecton object. |
id | str | Returns the unique id of the Tecton object. |
info | A dataclass containing basic info about this Tecton object. | |
join_keys | List[str] | The join key column names. |
name | str | Returns the name of the Tecton object. |
online_serving_index | List[str] | The set of join keys that will be indexed and queryable during online serving. |
owner | Optional[str] | Returns the owner of the Tecton object. |
tags | Dict[str, str] | Returns the tags of the Tecton object. |
transformations | List[specs.TransformationSpec] | The Transformations for this Feature View. |
url | str | Returns a link to the Tecton Web UI. |
wildcard_join_key | Optional[set] | Returns a wildcard join key column name if it exists; Otherwise returns None. |
workspace | Optional[str] | Returns the workspace that this Tecton object belongs to. |
Methods
Name | Description |
---|---|
cancel_materialization_job(...) | Cancels the scheduled or running batch materialization job for this Feature View specified by the job identifier. |
get_feature_columns() | The features produced by this FeatureView. |
get_historical_features(...) | Returns a TectonDataFrame of historical values for this feature view. |
get_materialization_job(...) | Retrieves data about the specified materialization job for this Feature View. |
get_online_features(...) | Returns a single Tecton tecton.FeatureVector from the Online Store. |
list_materialization_jobs() | Retrieves the list of all materialization jobs for this Feature View. |
run(...) | Run the OnDemandFeatureView using mock inputs. |
summary() | Displays a human readable summary. |
test_run(...) | Run the OnDemandFeatureView using mock sources. |
validate() | Validate this Tecton object and its dependencies (if any). |
with_join_key_map(...) | Rebind join keys for a Feature View used in a Feature Service. |
with_name(...) | Rename a Feature View used in a Feature Service. |