예제 #1
0
    def __init__(self, query, on, left_on, right_on, join_type):

        self._query = query
        self._on = util.parse_features(on)
        self._left_on = util.parse_features(left_on)
        self._right_on = util.parse_features(right_on)
        self._join_type = join_type or self.INNER
예제 #2
0
 def __init__(
     self, feature_store_name, feature_store_id, left_feature_group, left_features
 ):
     self._feature_store_name = feature_store_name
     self._feature_store_id = feature_store_id
     self._left_feature_group = left_feature_group
     self._left_features = util.parse_features(left_features)
     self._joins = []
     self._query_constructor_api = query_constructor_api.QueryConstructorApi()
     self._storage_connector_api = storage_connector_api.StorageConnectorApi(
         feature_store_id
     )
예제 #3
0
 def __init__(
     self,
     left_feature_group,
     left_features,
     feature_store_name=None,
     feature_store_id=None,
     left_feature_group_start_time=None,
     left_feature_group_end_time=None,
     joins=None,
     filter=None,
 ):
     self._feature_store_name = feature_store_name
     self._feature_store_id = feature_store_id
     self._left_feature_group = left_feature_group
     self._left_features = util.parse_features(left_features)
     self._left_feature_group_start_time = left_feature_group_start_time
     self._left_feature_group_end_time = left_feature_group_end_time
     self._joins = joins or []
     self._filter = filter
     self._query_constructor_api = query_constructor_api.QueryConstructorApi(
     )
     self._storage_connector_api = storage_connector_api.StorageConnectorApi(
         feature_store_id)
예제 #4
0
 def __init__(
     self,
     left_feature_group,
     left_features,
     feature_store_name=None,
     feature_store_id=None,
     left_feature_group_start_time=None,
     left_feature_group_end_time=None,
     joins=None,
     filter=None,
 ):
     self._feature_store_name = feature_store_name
     self._feature_store_id = feature_store_id
     self._left_feature_group = left_feature_group
     self._left_features = util.parse_features(left_features)
     self._left_feature_group_start_time = left_feature_group_start_time
     self._left_feature_group_end_time = left_feature_group_end_time
     self._joins = joins or []
     self._filter = Logic.from_response_json(filter)
     self._python_engine = True if engine.get_type() == "python" else False
     self._query_constructor_api = query_constructor_api.QueryConstructorApi()
     self._storage_connector_api = storage_connector_api.StorageConnectorApi(
         feature_store_id
     )