public 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 Integer |
limit |
protected static org.slf4j.Logger |
LOGGER |
protected QueryConstructorApi |
queryConstructorApi |
protected StorageConnectorApi |
storageConnectorApi |
| Constructor and Description |
|---|
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 |
limit(int n)
Limit the number of rows returned by the query.
|
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 Integer limit
protected static final org.slf4j.Logger LOGGER
protected QueryConstructorApi queryConstructorApi
protected StorageConnectorApi storageConnectorApi
public 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 timeFeatureStoreExceptionParseExceptionpublic T asOf(String wallclockTime, String excludeUntil) throws FeatureStoreException, ParseException
wallclockTime - point in timeexcludeUntil - point in timeFeatureStoreExceptionParseExceptionpublic T pullChanges(String wallclockStartTime, String wallclockEndTime) throws FeatureStoreException, ParseException
wallclockStartTime - start date.wallclockEndTime - end date.FeatureStoreExceptionParseExceptionpublic T filter(FilterLogic filter)
public T limit(int n)
n - maximum number of rows to returnpublic boolean isTimeTravel()
Copyright © 2026. All rights reserved.