public abstract class QueryBase<T extends QueryBase<T,T2,T3>,T2 extends FeatureGroupBase,T3> extends Object
Modifier and Type | Field and Description |
---|---|
protected FilterLogic |
filter |
protected Boolean |
hiveEngine |
protected List<Join<T>> |
joins |
protected FeatureGroupBase |
leftFeatureGroup |
protected Long |
leftFeatureGroupEndTime |
protected Long |
leftFeatureGroupStartTime |
protected List<Feature> |
leftFeatures |
protected static org.slf4j.Logger |
LOGGER |
protected QueryConstructorApi |
queryConstructorApi |
protected StorageConnectorApi |
storageConnectorApi |
Modifier | Constructor and Description |
---|---|
protected |
QueryBase(FeatureGroupBase leftFeatureGroup,
List<Feature> leftFeatures) |
Modifier and Type | Method and Description |
---|---|
T |
appendFeature(Feature feature) |
T |
asOf(String wallclockTime)
Perform time travel on the given Query.
|
T |
asOf(String wallclockTime,
String excludeUntil)
Perform time travel on the given Query.
|
T |
filter(Filter filter) |
T |
filter(FilterLogic filter) |
boolean |
isTimeTravel() |
T |
join(T subquery) |
T |
join(T subquery,
JoinType joinType) |
T |
join(T subquery,
JoinType joinType,
String prefix) |
T |
join(T subquery,
List<String> on) |
T |
join(T subquery,
List<String> on,
JoinType joinType) |
T |
join(T subquery,
List<String> on,
JoinType joinType,
String prefix) |
T |
join(T subquery,
List<String> leftOn,
List<String> rightOn) |
T |
join(T subquery,
List<String> leftOn,
List<String> rightOn,
JoinType joinType) |
T |
join(T subquery,
List<String> leftOn,
List<String> rightOn,
JoinType joinType,
String prefix) |
T |
join(T subquery,
List<String> leftOn,
List<String> rightOn,
String prefix) |
T |
join(T subquery,
String prefix) |
T |
joinFeatures(T subquery,
List<Feature> on) |
T |
joinFeatures(T subquery,
List<Feature> on,
JoinType joinType) |
T |
joinFeatures(T subquery,
List<Feature> on,
JoinType joinType,
String prefix) |
T |
joinFeatures(T subquery,
List<Feature> leftOn,
List<Feature> rightOn) |
T |
joinFeatures(T subquery,
List<Feature> leftOn,
List<Feature> rightOn,
JoinType joinType) |
T |
joinFeatures(T subquery,
List<Feature> leftOn,
List<Feature> rightOn,
JoinType joinType,
String prefix) |
T |
joinFeatures(T subquery,
List<Feature> leftOn,
List<Feature> rightOn,
String prefix) |
T |
joinFeatures(T subquery,
List<Feature> on,
String prefix) |
T |
pullChanges(String wallclockStartTime,
String wallclockEndTime)
Deprecated.
use asOf(wallclockEndTime, wallclockStartTime) instead
|
protected void |
setLeftFeatureGroup(T2 leftFeatureGroup) |
<T2> String |
sql(Storage storage,
Class<T2> fsQueryType) |
protected FeatureGroupBase leftFeatureGroup
protected Long leftFeatureGroupStartTime
protected Long leftFeatureGroupEndTime
protected FilterLogic filter
protected Boolean hiveEngine
protected static final org.slf4j.Logger LOGGER
protected QueryConstructorApi queryConstructorApi
protected StorageConnectorApi storageConnectorApi
protected QueryBase(FeatureGroupBase leftFeatureGroup, List<Feature> leftFeatures)
protected void setLeftFeatureGroup(T2 leftFeatureGroup)
public T join(T subquery, List<String> leftOn, List<String> rightOn, JoinType joinType, String prefix)
public T joinFeatures(T subquery, List<Feature> leftOn, List<Feature> rightOn, String prefix)
public T joinFeatures(T subquery, List<Feature> leftOn, List<Feature> rightOn, JoinType joinType)
public T joinFeatures(T subquery, List<Feature> leftOn, List<Feature> rightOn, JoinType joinType, String prefix)
public T asOf(String wallclockTime) throws FeatureStoreException, ParseException
wallclockTime
- point in timeFeatureStoreException
ParseException
public T asOf(String wallclockTime, String excludeUntil) throws FeatureStoreException, ParseException
wallclockTime
- point in timeexcludeUntil
- point in timeFeatureStoreException
ParseException
public T pullChanges(String wallclockStartTime, String wallclockEndTime) throws FeatureStoreException, ParseException
wallclockStartTime
- start date.wallclockEndTime
- end date.FeatureStoreException
ParseException
public T filter(FilterLogic filter)
public boolean isTimeTravel()
Copyright © 2025. All rights reserved.