public abstract class FeatureStoreBase<T2 extends QueryBase> extends Object
Modifier and Type | Field and Description |
---|---|
protected static Integer |
DEFAULT_VERSION |
protected FeatureGroupApi |
featureGroupApi |
protected static org.slf4j.Logger |
LOGGER |
protected StorageConnectorApi |
storageConnectorApi |
protected TrainingDatasetApi |
trainingDatasetApi |
Constructor and Description |
---|
FeatureStoreBase() |
Modifier and Type | Method and Description |
---|---|
abstract Object |
createExternalFeatureGroup() |
abstract Object |
createFeatureGroup() |
abstract Object |
createFeatureView() |
abstract Object |
createStreamFeatureGroup() |
abstract Object |
getAdlsConnector(String name) |
abstract Object |
getBigqueryConnector(String name) |
abstract Object |
getExternalFeatureGroup(String name)
Get a external feature group object with default version `1` from the feature store.
|
abstract Object |
getExternalFeatureGroup(@NonNull String name,
@NonNull Integer version)
Get a external feature group object from the feature store.
|
abstract Object |
getExternalFeatureGroups(@NonNull String name) |
abstract Object |
getFeatureGroups(@NonNull String name) |
abstract Object |
getFeatureView(String name) |
abstract Object |
getFeatureView(@NonNull String name,
@NonNull Integer version) |
abstract Object |
getGcsConnector(String name) |
abstract Object |
getHopsFsConnector(String name) |
abstract Object |
getJdbcConnector(String name) |
abstract Object |
getKafkaConnector(String name) |
abstract Object |
getOnlineStorageConnector() |
abstract Object |
getOrCreateFeatureGroup(String name,
Integer version) |
abstract Object |
getOrCreateFeatureGroup(String name,
Integer version,
List<String> primaryKeys,
boolean onlineEnabled,
String eventTime) |
abstract Object |
getOrCreateFeatureGroup(String name,
Integer version,
List<String> primaryKeys,
List<String> partitionKeys,
boolean onlineEnabled,
String eventTime) |
abstract Object |
getOrCreateFeatureGroup(String name,
Integer version,
String description,
List<String> primaryKeys,
List<String> partitionKeys,
String hudiPrecombineKey,
boolean onlineEnabled,
TimeTravelFormat timeTravelFormat,
StatisticsConfig statisticsConfig,
String eventTime) |
abstract Object |
getOrCreateFeatureView(String name,
T2 query,
Integer version) |
abstract Object |
getOrCreateFeatureView(String name,
T2 query,
Integer version,
String description,
List<String> labels) |
abstract Object |
getOrCreateStreamFeatureGroup(String name,
Integer version) |
abstract Object |
getOrCreateStreamFeatureGroup(String name,
Integer version,
List<String> primaryKeys,
boolean onlineEnabled,
String eventTime) |
abstract Object |
getOrCreateStreamFeatureGroup(String name,
Integer version,
List<String> primaryKeys,
List<String> partitionKeys,
boolean onlineEnabled,
String eventTime) |
abstract Object |
getOrCreateStreamFeatureGroup(String name,
Integer version,
String description,
List<String> primaryKeys,
List<String> partitionKeys,
String hudiPrecombineKey,
boolean onlineEnabled,
StatisticsConfig statisticsConfig,
String eventTime) |
abstract Object |
getRedshiftConnector(String name) |
abstract Object |
getS3Connector(String name) |
abstract Object |
getSnowflakeConnector(String name) |
abstract StorageConnector |
getStorageConnector(String name)
Get a list of all versions of an external feature group from the feature store.
|
abstract Object |
getStreamFeatureGroup(String name)
Get a feature group object with default version `1` from the feature store.
|
abstract Object |
getStreamFeatureGroup(@NonNull String name,
@NonNull Integer version)
Get a feature group object from the feature store.
|
abstract TrainingDatasetBase |
getTrainingDataset(String name)
Get a training dataset object with the default version `1` from the selected feature store.
|
abstract TrainingDatasetBase |
getTrainingDataset(@NonNull String name,
@NonNull Integer version)
Get a training dataset object from the selected feature store.
|
abstract Object |
getTrainingDatasets(@NonNull String name)
Get all versions of a training dataset object from the selected feature store.
|
abstract Object |
sql(String query) |
String |
toString() |
protected FeatureGroupApi featureGroupApi
protected TrainingDatasetApi trainingDatasetApi
protected StorageConnectorApi storageConnectorApi
protected static final org.slf4j.Logger LOGGER
protected static final Integer DEFAULT_VERSION
public abstract Object createFeatureGroup()
public abstract Object getFeatureGroups(@NonNull @NonNull String name) throws FeatureStoreException, IOException
FeatureStoreException
IOException
public abstract Object getOrCreateFeatureGroup(String name, Integer version) throws IOException, FeatureStoreException
IOException
FeatureStoreException
public abstract Object getOrCreateFeatureGroup(String name, Integer version, List<String> primaryKeys, List<String> partitionKeys, boolean onlineEnabled, String eventTime) throws IOException, FeatureStoreException
IOException
FeatureStoreException
public abstract Object getOrCreateFeatureGroup(String name, Integer version, List<String> primaryKeys, boolean onlineEnabled, String eventTime) throws IOException, FeatureStoreException
IOException
FeatureStoreException
public abstract Object getOrCreateFeatureGroup(String name, Integer version, String description, List<String> primaryKeys, List<String> partitionKeys, String hudiPrecombineKey, boolean onlineEnabled, TimeTravelFormat timeTravelFormat, StatisticsConfig statisticsConfig, String eventTime) throws IOException, FeatureStoreException
IOException
FeatureStoreException
public abstract Object getStreamFeatureGroup(@NonNull @NonNull String name, @NonNull @NonNull Integer version) throws FeatureStoreException, IOException
name
- the name of the feature groupversion
- the version of the feature groupFeatureStoreException
IOException
public abstract Object getStreamFeatureGroup(String name) throws FeatureStoreException, IOException
name
- the name of the feature groupFeatureStoreException
IOException
public abstract Object createStreamFeatureGroup()
public abstract Object getOrCreateStreamFeatureGroup(String name, Integer version) throws IOException, FeatureStoreException
IOException
FeatureStoreException
public abstract Object getOrCreateStreamFeatureGroup(String name, Integer version, List<String> primaryKeys, boolean onlineEnabled, String eventTime) throws IOException, FeatureStoreException
IOException
FeatureStoreException
public abstract Object getOrCreateStreamFeatureGroup(String name, Integer version, List<String> primaryKeys, List<String> partitionKeys, boolean onlineEnabled, String eventTime) throws IOException, FeatureStoreException
IOException
FeatureStoreException
public abstract Object getOrCreateStreamFeatureGroup(String name, Integer version, String description, List<String> primaryKeys, List<String> partitionKeys, String hudiPrecombineKey, boolean onlineEnabled, StatisticsConfig statisticsConfig, String eventTime) throws IOException, FeatureStoreException
IOException
FeatureStoreException
public abstract Object createExternalFeatureGroup()
public abstract Object createFeatureView()
public abstract Object getFeatureView(String name) throws FeatureStoreException, IOException
FeatureStoreException
IOException
public abstract Object getFeatureView(@NonNull @NonNull String name, @NonNull @NonNull Integer version) throws FeatureStoreException, IOException
FeatureStoreException
IOException
public abstract Object getOrCreateFeatureView(String name, T2 query, Integer version) throws FeatureStoreException, IOException
FeatureStoreException
IOException
public abstract Object getOrCreateFeatureView(String name, T2 query, Integer version, String description, List<String> labels) throws FeatureStoreException, IOException
FeatureStoreException
IOException
public abstract Object getExternalFeatureGroup(@NonNull @NonNull String name, @NonNull @NonNull Integer version) throws FeatureStoreException, IOException
name
- the name of the feature groupversion
- the version of the feature groupFeatureStoreException
IOException
public abstract Object getExternalFeatureGroup(String name) throws FeatureStoreException, IOException
name
- the name of the feature groupFeatureStoreException
IOException
public abstract StorageConnector getStorageConnector(String name) throws FeatureStoreException, IOException
name
- the name of the feature groupFeatureStoreException
IOException
public abstract Object getHopsFsConnector(String name) throws FeatureStoreException, IOException
FeatureStoreException
IOException
public abstract Object getExternalFeatureGroups(@NonNull @NonNull String name) throws FeatureStoreException, IOException
FeatureStoreException
IOException
public abstract Object getJdbcConnector(String name) throws FeatureStoreException, IOException
FeatureStoreException
IOException
public abstract Object getS3Connector(String name) throws FeatureStoreException, IOException
FeatureStoreException
IOException
public abstract Object getRedshiftConnector(String name) throws FeatureStoreException, IOException
FeatureStoreException
IOException
public abstract Object getSnowflakeConnector(String name) throws FeatureStoreException, IOException
FeatureStoreException
IOException
public abstract Object getAdlsConnector(String name) throws FeatureStoreException, IOException
FeatureStoreException
IOException
public abstract Object getKafkaConnector(String name) throws FeatureStoreException, IOException
FeatureStoreException
IOException
public abstract Object getBigqueryConnector(String name) throws FeatureStoreException, IOException
FeatureStoreException
IOException
public abstract Object getOnlineStorageConnector() throws FeatureStoreException, IOException
FeatureStoreException
IOException
public abstract Object getGcsConnector(String name) throws FeatureStoreException, IOException
FeatureStoreException
IOException
public abstract TrainingDatasetBase getTrainingDataset(@NonNull @NonNull String name, @NonNull @NonNull Integer version) throws FeatureStoreException, IOException
name
- name of the training datasetversion
- version to getFeatureStoreException
IOException
public abstract TrainingDatasetBase getTrainingDataset(String name) throws FeatureStoreException, IOException
name
- name of the training datasetFeatureStoreException
IOException
public abstract Object getTrainingDatasets(@NonNull @NonNull String name) throws FeatureStoreException, IOException
name
- name of the training datasetFeatureStoreException
IOException
Copyright © 2023. All rights reserved.