public class FeatureView extends FeatureViewBase<FeatureView,FeatureStore,com.logicalclocks.hsfs.beam.constructor.Query,org.apache.beam.sdk.values.PCollection<Object>>
description, extraFilterVersion, features, featureStore, id, labels, LOGGER, name, query, type, vectorServer, version| Constructor and Description |
|---|
FeatureView() |
| Modifier and Type | Method and Description |
|---|---|
void |
addTag(String name,
Object value)
Add name/value tag to the feature view.
|
void |
addTrainingDatasetTag(Integer version,
String name,
Object value)
Add name/value tag to the training dataset.
|
void |
clean(FeatureStore featureStore,
String featureViewName,
Integer featureViewVersion) |
void |
delete() |
void |
deleteAllTrainingDatasets() |
void |
deleteTag(String name)
Delete a tag of the feature view.
|
void |
deleteTrainingDataset(Integer version) |
void |
deleteTrainingDatasetTag(Integer version,
String name)
Delete a tag of the training dataset.
|
org.apache.beam.sdk.values.PCollection<Object> |
getBatchData() |
org.apache.beam.sdk.values.PCollection<Object> |
getBatchData(String startTime,
String endTime) |
org.apache.beam.sdk.values.PCollection<Object> |
getBatchData(String startTime,
String endTime,
Map<String,String> readOptions) |
String |
getBatchQuery() |
String |
getBatchQuery(String startTime,
String endTime) |
Object |
getTag(String name)
Get a single tag value of the feature view.
|
Map<String,Object> |
getTags()
Get all tags of the feature view.
|
Object |
getTrainingData(Integer version,
Map<String,String> readOptions) |
Object |
getTrainingDatasetTag(Integer version,
String name)
Get a single tag value of the training dataset.
|
Map<String,Object> |
getTrainingDatasetTags(Integer version)
Get all tags of the training dataset.
|
Object |
getTrainTestSplit(Integer version,
Map<String,String> readOptions) |
Object |
getTrainValidationTestSplit(Integer version,
Map<String,String> readOptions) |
void |
purgeAllTrainingData() |
void |
purgeTrainingData(Integer version) |
FeatureView |
update(FeatureView other) |
getFeatureVector, getFeatureVector, getFeatureVectors, getFeatureVectors, getPrimaryKeys, initBatchScoring, initServing, initServing, validateTrainTestSplit, validateTrainValidationTestSplitpublic void addTag(String name, Object value) throws FeatureStoreException, IOException
FeatureViewBaseaddTag in class FeatureViewBase<FeatureView,FeatureStore,com.logicalclocks.hsfs.beam.constructor.Query,org.apache.beam.sdk.values.PCollection<Object>>name - name of the tagvalue - value of the tag. The value of a tag can be any valid json - primitives, arrays or json objectsFeatureStoreExceptionIOExceptionpublic Map<String,Object> getTags() throws FeatureStoreException, IOException
FeatureViewBasegetTags in class FeatureViewBase<FeatureView,FeatureStore,com.logicalclocks.hsfs.beam.constructor.Query,org.apache.beam.sdk.values.PCollection<Object>>FeatureStoreExceptionIOExceptionpublic Object getTag(String name) throws FeatureStoreException, IOException
FeatureViewBasegetTag in class FeatureViewBase<FeatureView,FeatureStore,com.logicalclocks.hsfs.beam.constructor.Query,org.apache.beam.sdk.values.PCollection<Object>>name - name of the tagFeatureStoreExceptionIOExceptionpublic void deleteTag(String name) throws FeatureStoreException, IOException
FeatureViewBasedeleteTag in class FeatureViewBase<FeatureView,FeatureStore,com.logicalclocks.hsfs.beam.constructor.Query,org.apache.beam.sdk.values.PCollection<Object>>name - name of the tag to be deletedFeatureStoreExceptionIOExceptionpublic void addTrainingDatasetTag(Integer version, String name, Object value) throws FeatureStoreException, IOException
FeatureViewBaseaddTrainingDatasetTag in class FeatureViewBase<FeatureView,FeatureStore,com.logicalclocks.hsfs.beam.constructor.Query,org.apache.beam.sdk.values.PCollection<Object>>name - name of the tagvalue - value of the tag. The value of a tag can be any valid json - primitives, arrays or json objectsFeatureStoreExceptionIOExceptionpublic Map<String,Object> getTrainingDatasetTags(Integer version) throws FeatureStoreException, IOException
FeatureViewBasegetTrainingDatasetTags in class FeatureViewBase<FeatureView,FeatureStore,com.logicalclocks.hsfs.beam.constructor.Query,org.apache.beam.sdk.values.PCollection<Object>>FeatureStoreExceptionIOExceptionpublic Object getTrainingDatasetTag(Integer version, String name) throws FeatureStoreException, IOException
FeatureViewBasegetTrainingDatasetTag in class FeatureViewBase<FeatureView,FeatureStore,com.logicalclocks.hsfs.beam.constructor.Query,org.apache.beam.sdk.values.PCollection<Object>>name - name of the tagFeatureStoreExceptionIOExceptionpublic void deleteTrainingDatasetTag(Integer version, String name) throws FeatureStoreException, IOException
FeatureViewBasedeleteTrainingDatasetTag in class FeatureViewBase<FeatureView,FeatureStore,com.logicalclocks.hsfs.beam.constructor.Query,org.apache.beam.sdk.values.PCollection<Object>>name - name of the tag to be deletedFeatureStoreExceptionIOExceptionpublic void delete()
throws FeatureStoreException,
IOException
delete in class FeatureViewBase<FeatureView,FeatureStore,com.logicalclocks.hsfs.beam.constructor.Query,org.apache.beam.sdk.values.PCollection<Object>>FeatureStoreExceptionIOExceptionpublic void clean(FeatureStore featureStore, String featureViewName, Integer featureViewVersion) throws FeatureStoreException, IOException
clean in class FeatureViewBase<FeatureView,FeatureStore,com.logicalclocks.hsfs.beam.constructor.Query,org.apache.beam.sdk.values.PCollection<Object>>FeatureStoreExceptionIOExceptionpublic FeatureView update(FeatureView other) throws FeatureStoreException, IOException
update in class FeatureViewBase<FeatureView,FeatureStore,com.logicalclocks.hsfs.beam.constructor.Query,org.apache.beam.sdk.values.PCollection<Object>>FeatureStoreExceptionIOExceptionpublic String getBatchQuery() throws FeatureStoreException, IOException, ParseException
getBatchQuery in class FeatureViewBase<FeatureView,FeatureStore,com.logicalclocks.hsfs.beam.constructor.Query,org.apache.beam.sdk.values.PCollection<Object>>FeatureStoreExceptionIOExceptionParseExceptionpublic String getBatchQuery(String startTime, String endTime) throws FeatureStoreException, IOException, ParseException
getBatchQuery in class FeatureViewBase<FeatureView,FeatureStore,com.logicalclocks.hsfs.beam.constructor.Query,org.apache.beam.sdk.values.PCollection<Object>>FeatureStoreExceptionIOExceptionParseExceptionpublic org.apache.beam.sdk.values.PCollection<Object> getBatchData() throws FeatureStoreException, IOException, ParseException
getBatchData in class FeatureViewBase<FeatureView,FeatureStore,com.logicalclocks.hsfs.beam.constructor.Query,org.apache.beam.sdk.values.PCollection<Object>>FeatureStoreExceptionIOExceptionParseExceptionpublic org.apache.beam.sdk.values.PCollection<Object> getBatchData(String startTime, String endTime) throws FeatureStoreException, IOException, ParseException
getBatchData in class FeatureViewBase<FeatureView,FeatureStore,com.logicalclocks.hsfs.beam.constructor.Query,org.apache.beam.sdk.values.PCollection<Object>>FeatureStoreExceptionIOExceptionParseExceptionpublic org.apache.beam.sdk.values.PCollection<Object> getBatchData(String startTime, String endTime, Map<String,String> readOptions) throws FeatureStoreException, IOException, ParseException
getBatchData in class FeatureViewBase<FeatureView,FeatureStore,com.logicalclocks.hsfs.beam.constructor.Query,org.apache.beam.sdk.values.PCollection<Object>>FeatureStoreExceptionIOExceptionParseExceptionpublic Object getTrainingData(Integer version, Map<String,String> readOptions) throws IOException, FeatureStoreException, ParseException
getTrainingData in class FeatureViewBase<FeatureView,FeatureStore,com.logicalclocks.hsfs.beam.constructor.Query,org.apache.beam.sdk.values.PCollection<Object>>IOExceptionFeatureStoreExceptionParseExceptionpublic Object getTrainTestSplit(Integer version, Map<String,String> readOptions) throws IOException, FeatureStoreException, ParseException
getTrainTestSplit in class FeatureViewBase<FeatureView,FeatureStore,com.logicalclocks.hsfs.beam.constructor.Query,org.apache.beam.sdk.values.PCollection<Object>>IOExceptionFeatureStoreExceptionParseExceptionpublic Object getTrainValidationTestSplit(Integer version, Map<String,String> readOptions) throws IOException, FeatureStoreException, ParseException
getTrainValidationTestSplit in class FeatureViewBase<FeatureView,FeatureStore,com.logicalclocks.hsfs.beam.constructor.Query,org.apache.beam.sdk.values.PCollection<Object>>IOExceptionFeatureStoreExceptionParseExceptionpublic void purgeTrainingData(Integer version) throws FeatureStoreException, IOException
purgeTrainingData in class FeatureViewBase<FeatureView,FeatureStore,com.logicalclocks.hsfs.beam.constructor.Query,org.apache.beam.sdk.values.PCollection<Object>>FeatureStoreExceptionIOExceptionpublic void purgeAllTrainingData()
throws FeatureStoreException,
IOException
purgeAllTrainingData in class FeatureViewBase<FeatureView,FeatureStore,com.logicalclocks.hsfs.beam.constructor.Query,org.apache.beam.sdk.values.PCollection<Object>>FeatureStoreExceptionIOExceptionpublic void deleteTrainingDataset(Integer version) throws FeatureStoreException, IOException
deleteTrainingDataset in class FeatureViewBase<FeatureView,FeatureStore,com.logicalclocks.hsfs.beam.constructor.Query,org.apache.beam.sdk.values.PCollection<Object>>FeatureStoreExceptionIOExceptionpublic void deleteAllTrainingDatasets()
throws FeatureStoreException,
IOException
deleteAllTrainingDatasets in class FeatureViewBase<FeatureView,FeatureStore,com.logicalclocks.hsfs.beam.constructor.Query,org.apache.beam.sdk.values.PCollection<Object>>FeatureStoreExceptionIOExceptionCopyright © 2025. All rights reserved.