public class FeatureStore extends Object
| Constructor and Description |
|---|
FeatureStore() |
public FeatureGroup getFeatureGroup(@NonNull @NonNull String name, @NonNull @NonNull Integer version) throws FeatureStoreException, IOException
name - the name of the feature groupversion - the version of the feature groupFeatureStoreException - FeatureStoreExceptionIOException - IOExceptionpublic FeatureGroup getFeatureGroup(String name) throws FeatureStoreException, IOException
name - the name of the feature groupFeatureStoreException - FeatureStoreExceptionIOException - IOExceptionpublic scala.collection.Seq<FeatureGroup> getFeatureGroups(@NonNull @NonNull String name) throws FeatureStoreException, IOException
name - the name of the feature groupFeatureStoreException - FeatureStoreExceptionIOException - IOExceptionpublic StreamFeatureGroup 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 - FeatureStoreExceptionIOException - IOExceptionpublic StreamFeatureGroup getStreamFeatureGroup(String name) throws FeatureStoreException, IOException
name - the name of the feature groupFeatureStoreException - FeatureStoreExceptionIOException - IOExceptionpublic ExternalFeatureGroup 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 - FeatureStoreExceptionIOException - IOExceptionpublic ExternalFeatureGroup getExternalFeatureGroup(String name) throws FeatureStoreException, IOException
name - the name of the feature groupFeatureStoreException - FeatureStoreExceptionIOException - IOExceptionpublic scala.collection.Seq<ExternalFeatureGroup> getExternalFeatureGroups(@NonNull @NonNull String name) throws FeatureStoreException, IOException
name - the name of the feature groupFeatureStoreException - FeatureStoreExceptionIOException - IOException@Deprecated public ExternalFeatureGroup getOnDemandFeatureGroup(@NonNull @NonNull String name, @NonNull @NonNull Integer version) throws FeatureStoreException, IOException
FeatureStoreExceptionIOException@Deprecated public ExternalFeatureGroup getOnDemandFeatureGroup(String name) throws FeatureStoreException, IOException
FeatureStoreExceptionIOException@Deprecated public scala.collection.Seq<ExternalFeatureGroup> getOnDemandFeatureGroups(@NonNull @NonNull String name) throws FeatureStoreException, IOException
FeatureStoreExceptionIOExceptionpublic StorageConnector getStorageConnector(String name) throws FeatureStoreException, IOException
FeatureStoreExceptionIOExceptionpublic StorageConnector.JdbcConnector getJdbcConnector(String name) throws FeatureStoreException, IOException
FeatureStoreExceptionIOExceptionpublic StorageConnector.S3Connector getS3Connector(String name) throws FeatureStoreException, IOException
FeatureStoreExceptionIOExceptionpublic StorageConnector.HopsFsConnector getHopsFsConnector(String name) throws FeatureStoreException, IOException
FeatureStoreExceptionIOExceptionpublic StorageConnector.RedshiftConnector getRedshiftConnector(String name) throws FeatureStoreException, IOException
FeatureStoreExceptionIOExceptionpublic StorageConnector.SnowflakeConnector getSnowflakeConnector(String name) throws FeatureStoreException, IOException
FeatureStoreExceptionIOExceptionpublic StorageConnector.AdlsConnector getAdlsConnector(String name) throws FeatureStoreException, IOException
FeatureStoreExceptionIOExceptionpublic StorageConnector.KafkaConnector getKafkaConnector(String name) throws FeatureStoreException, IOException
FeatureStoreExceptionIOExceptionpublic StorageConnector.BigqueryConnector getBigqueryConnector(String name) throws FeatureStoreException, IOException
FeatureStoreExceptionIOExceptionpublic StorageConnector.JdbcConnector getOnlineStorageConnector() throws FeatureStoreException, IOException
FeatureStoreExceptionIOExceptionpublic StorageConnector.GcsConnector getGcsConnector(String name) throws FeatureStoreException, IOException
FeatureStoreExceptionIOExceptionpublic FeatureGroup.FeatureGroupBuilder createFeatureGroup()
public FeatureGroup getOrCreateFeatureGroup(String name, Integer version) throws IOException, FeatureStoreException
IOExceptionFeatureStoreExceptionpublic FeatureGroup getOrCreateFeatureGroup(String name, Integer version, List<String> primaryKeys, boolean onlineEnabled, String eventTime) throws IOException, FeatureStoreException
IOExceptionFeatureStoreExceptionpublic FeatureGroup getOrCreateFeatureGroup(String name, Integer version, List<String> primaryKeys, List<String> partitionKeys, boolean onlineEnabled, String eventTime) throws IOException, FeatureStoreException
IOExceptionFeatureStoreExceptionpublic FeatureGroup 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
IOExceptionFeatureStoreExceptionpublic StreamFeatureGroup.StreamFeatureGroupBuilder createStreamFeatureGroup()
public StreamFeatureGroup getOrCreateStreamFeatureGroup(String name, Integer version) throws IOException, FeatureStoreException
IOExceptionFeatureStoreExceptionpublic StreamFeatureGroup getOrCreateStreamFeatureGroup(String name, Integer version, List<String> primaryKeys, boolean onlineEnabled, String eventTime) throws IOException, FeatureStoreException
IOExceptionFeatureStoreExceptionpublic StreamFeatureGroup getOrCreateStreamFeatureGroup(String name, Integer version, List<String> primaryKeys, List<String> partitionKeys, boolean onlineEnabled, String eventTime) throws IOException, FeatureStoreException
IOExceptionFeatureStoreExceptionpublic StreamFeatureGroup getOrCreateStreamFeatureGroup(String name, Integer version, String description, List<String> primaryKeys, List<String> partitionKeys, String hudiPrecombineKey, boolean onlineEnabled, StatisticsConfig statisticsConfig, String eventTime) throws IOException, FeatureStoreException
IOExceptionFeatureStoreExceptionpublic ExternalFeatureGroup.ExternalFeatureGroupBuilder createExternalFeatureGroup()
@Deprecated public ExternalFeatureGroup.ExternalFeatureGroupBuilder createOnDemandFeatureGroup()
public FeatureView.FeatureViewBuilder createFeatureView()
public FeatureView getOrCreateFeatureView(String name, Query query, Integer version) throws FeatureStoreException, IOException
name - name of the feature viewquery - Query objectversion - version of the feature viewFeatureStoreException - FeatureStoreExceptionIOException - IOExceptionpublic FeatureView getOrCreateFeatureView(String name, Query query, Integer version, String description, List<String> labels) throws FeatureStoreException, IOException
name - name of the feature viewquery - Query objectversion - version of the feature viewdescription - description of the feature viewlabels - list of label featuresFeatureStoreException - FeatureStoreExceptionIOException - IOExceptionpublic FeatureView getFeatureView(@NonNull @NonNull String name, @NonNull @NonNull Integer version) throws FeatureStoreException, IOException
name - name of the feature viewversion - version to getFeatureStoreException - FeatureStoreExceptionIOException - IOExceptionpublic FeatureView getFeatureView(String name) throws FeatureStoreException, IOException
name - name of the feature viewFeatureStoreException - FeatureStoreExceptionIOException - IOExceptionpublic TrainingDataset.TrainingDatasetBuilder createTrainingDataset()
public TrainingDataset getTrainingDataset(@NonNull @NonNull String name, @NonNull @NonNull Integer version) throws FeatureStoreException, IOException
name - name of the training datasetversion - version to getFeatureStoreException - FeatureStoreExceptionIOException - IOExceptionpublic TrainingDataset getTrainingDataset(String name) throws FeatureStoreException, IOException
name - name of the training datasetFeatureStoreException - FeatureStoreExceptionIOException - IOExceptionpublic scala.collection.Seq<TrainingDataset> getTrainingDatasets(@NonNull @NonNull String name) throws FeatureStoreException, IOException
name - name of the training datasetFeatureStoreException - FeatureStoreExceptionIOException - IOExceptionpublic Integer getId()
public void setId(Integer id)
public String getName()
public void setName(String name)
public Integer getProjectId()
public void setProjectId(Integer projectId)
Copyright © 2023. All rights reserved.