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, validateTrainValidationTestSplit
public void addTag(String name, Object value) throws FeatureStoreException, IOException
FeatureViewBase
addTag
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 objectsFeatureStoreException
IOException
public Map<String,Object> getTags() throws FeatureStoreException, IOException
FeatureViewBase
getTags
in class FeatureViewBase<FeatureView,FeatureStore,com.logicalclocks.hsfs.beam.constructor.Query,org.apache.beam.sdk.values.PCollection<Object>>
FeatureStoreException
IOException
public Object getTag(String name) throws FeatureStoreException, IOException
FeatureViewBase
getTag
in class FeatureViewBase<FeatureView,FeatureStore,com.logicalclocks.hsfs.beam.constructor.Query,org.apache.beam.sdk.values.PCollection<Object>>
name
- name of the tagFeatureStoreException
IOException
public void deleteTag(String name) throws FeatureStoreException, IOException
FeatureViewBase
deleteTag
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 deletedFeatureStoreException
IOException
public void addTrainingDatasetTag(Integer version, String name, Object value) throws FeatureStoreException, IOException
FeatureViewBase
addTrainingDatasetTag
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 objectsFeatureStoreException
IOException
public Map<String,Object> getTrainingDatasetTags(Integer version) throws FeatureStoreException, IOException
FeatureViewBase
getTrainingDatasetTags
in class FeatureViewBase<FeatureView,FeatureStore,com.logicalclocks.hsfs.beam.constructor.Query,org.apache.beam.sdk.values.PCollection<Object>>
FeatureStoreException
IOException
public Object getTrainingDatasetTag(Integer version, String name) throws FeatureStoreException, IOException
FeatureViewBase
getTrainingDatasetTag
in class FeatureViewBase<FeatureView,FeatureStore,com.logicalclocks.hsfs.beam.constructor.Query,org.apache.beam.sdk.values.PCollection<Object>>
name
- name of the tagFeatureStoreException
IOException
public void deleteTrainingDatasetTag(Integer version, String name) throws FeatureStoreException, IOException
FeatureViewBase
deleteTrainingDatasetTag
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 deletedFeatureStoreException
IOException
public void delete() throws FeatureStoreException, IOException
delete
in class FeatureViewBase<FeatureView,FeatureStore,com.logicalclocks.hsfs.beam.constructor.Query,org.apache.beam.sdk.values.PCollection<Object>>
FeatureStoreException
IOException
public 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>>
FeatureStoreException
IOException
public 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>>
FeatureStoreException
IOException
public 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>>
FeatureStoreException
IOException
ParseException
public 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>>
FeatureStoreException
IOException
ParseException
public 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>>
FeatureStoreException
IOException
ParseException
public 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>>
FeatureStoreException
IOException
ParseException
public 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>>
FeatureStoreException
IOException
ParseException
public 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>>
IOException
FeatureStoreException
ParseException
public 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>>
IOException
FeatureStoreException
ParseException
public 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>>
IOException
FeatureStoreException
ParseException
public 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>>
FeatureStoreException
IOException
public void purgeAllTrainingData() throws FeatureStoreException, IOException
purgeAllTrainingData
in class FeatureViewBase<FeatureView,FeatureStore,com.logicalclocks.hsfs.beam.constructor.Query,org.apache.beam.sdk.values.PCollection<Object>>
FeatureStoreException
IOException
public 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>>
FeatureStoreException
IOException
public void deleteAllTrainingDatasets() throws FeatureStoreException, IOException
deleteAllTrainingDatasets
in class FeatureViewBase<FeatureView,FeatureStore,com.logicalclocks.hsfs.beam.constructor.Query,org.apache.beam.sdk.values.PCollection<Object>>
FeatureStoreException
IOException
Copyright © 2025. All rights reserved.