public class FeatureView extends FeatureViewBase<FeatureView,FeatureStore,com.logicalclocks.hsfs.flink.constructor.Query,org.apache.flink.streaming.api.datastream.DataStream<?>>
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 s,
Object o)
Add name/value tag to the feature view.
|
void |
addTrainingDatasetTag(Integer integer,
String s,
Object o)
Add name/value tag to the training dataset.
|
void |
clean(FeatureStore featureStore,
String s,
Integer integer) |
void |
delete() |
void |
deleteAllTrainingDatasets() |
void |
deleteTag(String s)
Delete a tag of the feature view.
|
void |
deleteTrainingDataset(Integer integer) |
void |
deleteTrainingDatasetTag(Integer integer,
String s)
Delete a tag of the training dataset.
|
org.apache.flink.streaming.api.datastream.DataStream<Object> |
getBatchData() |
org.apache.flink.streaming.api.datastream.DataStream<Object> |
getBatchData(String s,
String s1) |
org.apache.flink.streaming.api.datastream.DataStream<Object> |
getBatchData(String s,
String s1,
Map<String,String> map) |
String |
getBatchQuery() |
String |
getBatchQuery(String s,
String s1) |
Object |
getTag(String s)
Get a single tag value of the feature view.
|
Map<String,Object> |
getTags()
Get all tags of the feature view.
|
Object |
getTrainingData(Integer integer,
Map<String,String> map) |
Object |
getTrainingDatasetTag(Integer integer,
String s)
Get a single tag value of the training dataset.
|
Map<String,Object> |
getTrainingDatasetTags(Integer integer)
Get all tags of the training dataset.
|
Object |
getTrainTestSplit(Integer integer,
Map<String,String> map) |
Object |
getTrainValidationTestSplit(Integer integer,
Map<String,String> map) |
void |
purgeAllTrainingData() |
void |
purgeTrainingData(Integer integer) |
FeatureView |
update(FeatureView featureView) |
getFeatureVector, getFeatureVector, getFeatureVectors, getFeatureVectors, getPrimaryKeys, initBatchScoring, initServing, initServing, validateTrainTestSplit, validateTrainValidationTestSplitpublic void addTag(String s, Object o) throws FeatureStoreException, IOException
FeatureViewBaseaddTag in class FeatureViewBase<FeatureView,FeatureStore,com.logicalclocks.hsfs.flink.constructor.Query,org.apache.flink.streaming.api.datastream.DataStream<?>>s - name of the tago - 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.flink.constructor.Query,org.apache.flink.streaming.api.datastream.DataStream<?>>FeatureStoreExceptionIOExceptionpublic Object getTag(String s) throws FeatureStoreException, IOException
FeatureViewBasegetTag in class FeatureViewBase<FeatureView,FeatureStore,com.logicalclocks.hsfs.flink.constructor.Query,org.apache.flink.streaming.api.datastream.DataStream<?>>s - name of the tagFeatureStoreExceptionIOExceptionpublic void deleteTag(String s) throws FeatureStoreException, IOException
FeatureViewBasedeleteTag in class FeatureViewBase<FeatureView,FeatureStore,com.logicalclocks.hsfs.flink.constructor.Query,org.apache.flink.streaming.api.datastream.DataStream<?>>s - name of the tag to be deletedFeatureStoreExceptionIOExceptionpublic void addTrainingDatasetTag(Integer integer, String s, Object o) throws FeatureStoreException, IOException
FeatureViewBaseaddTrainingDatasetTag in class FeatureViewBase<FeatureView,FeatureStore,com.logicalclocks.hsfs.flink.constructor.Query,org.apache.flink.streaming.api.datastream.DataStream<?>>s - name of the tago - value of the tag. The value of a tag can be any valid json - primitives, arrays or json objectsFeatureStoreExceptionIOExceptionpublic Map<String,Object> getTrainingDatasetTags(Integer integer) throws FeatureStoreException, IOException
FeatureViewBasegetTrainingDatasetTags in class FeatureViewBase<FeatureView,FeatureStore,com.logicalclocks.hsfs.flink.constructor.Query,org.apache.flink.streaming.api.datastream.DataStream<?>>FeatureStoreExceptionIOExceptionpublic Object getTrainingDatasetTag(Integer integer, String s) throws FeatureStoreException, IOException
FeatureViewBasegetTrainingDatasetTag in class FeatureViewBase<FeatureView,FeatureStore,com.logicalclocks.hsfs.flink.constructor.Query,org.apache.flink.streaming.api.datastream.DataStream<?>>s - name of the tagFeatureStoreExceptionIOExceptionpublic void deleteTrainingDatasetTag(Integer integer, String s) throws FeatureStoreException, IOException
FeatureViewBasedeleteTrainingDatasetTag in class FeatureViewBase<FeatureView,FeatureStore,com.logicalclocks.hsfs.flink.constructor.Query,org.apache.flink.streaming.api.datastream.DataStream<?>>s - name of the tag to be deletedFeatureStoreExceptionIOExceptionpublic void delete()
throws FeatureStoreException,
IOException
delete in class FeatureViewBase<FeatureView,FeatureStore,com.logicalclocks.hsfs.flink.constructor.Query,org.apache.flink.streaming.api.datastream.DataStream<?>>FeatureStoreExceptionIOExceptionpublic void clean(FeatureStore featureStore, String s, Integer integer) throws FeatureStoreException, IOException
clean in class FeatureViewBase<FeatureView,FeatureStore,com.logicalclocks.hsfs.flink.constructor.Query,org.apache.flink.streaming.api.datastream.DataStream<?>>FeatureStoreExceptionIOExceptionpublic FeatureView update(FeatureView featureView) throws FeatureStoreException, IOException
update in class FeatureViewBase<FeatureView,FeatureStore,com.logicalclocks.hsfs.flink.constructor.Query,org.apache.flink.streaming.api.datastream.DataStream<?>>FeatureStoreExceptionIOExceptionpublic String getBatchQuery() throws FeatureStoreException, IOException, ParseException
getBatchQuery in class FeatureViewBase<FeatureView,FeatureStore,com.logicalclocks.hsfs.flink.constructor.Query,org.apache.flink.streaming.api.datastream.DataStream<?>>FeatureStoreExceptionIOExceptionParseExceptionpublic String getBatchQuery(String s, String s1) throws FeatureStoreException, IOException, ParseException
getBatchQuery in class FeatureViewBase<FeatureView,FeatureStore,com.logicalclocks.hsfs.flink.constructor.Query,org.apache.flink.streaming.api.datastream.DataStream<?>>FeatureStoreExceptionIOExceptionParseExceptionpublic org.apache.flink.streaming.api.datastream.DataStream<Object> getBatchData() throws FeatureStoreException, IOException, ParseException
getBatchData in class FeatureViewBase<FeatureView,FeatureStore,com.logicalclocks.hsfs.flink.constructor.Query,org.apache.flink.streaming.api.datastream.DataStream<?>>FeatureStoreExceptionIOExceptionParseExceptionpublic org.apache.flink.streaming.api.datastream.DataStream<Object> getBatchData(String s, String s1) throws FeatureStoreException, IOException, ParseException
getBatchData in class FeatureViewBase<FeatureView,FeatureStore,com.logicalclocks.hsfs.flink.constructor.Query,org.apache.flink.streaming.api.datastream.DataStream<?>>FeatureStoreExceptionIOExceptionParseExceptionpublic org.apache.flink.streaming.api.datastream.DataStream<Object> getBatchData(String s, String s1, Map<String,String> map) throws FeatureStoreException, IOException, ParseException
getBatchData in class FeatureViewBase<FeatureView,FeatureStore,com.logicalclocks.hsfs.flink.constructor.Query,org.apache.flink.streaming.api.datastream.DataStream<?>>FeatureStoreExceptionIOExceptionParseExceptionpublic Object getTrainingData(Integer integer, Map<String,String> map) throws IOException, FeatureStoreException, ParseException
getTrainingData in class FeatureViewBase<FeatureView,FeatureStore,com.logicalclocks.hsfs.flink.constructor.Query,org.apache.flink.streaming.api.datastream.DataStream<?>>IOExceptionFeatureStoreExceptionParseExceptionpublic Object getTrainTestSplit(Integer integer, Map<String,String> map) throws IOException, FeatureStoreException, ParseException
getTrainTestSplit in class FeatureViewBase<FeatureView,FeatureStore,com.logicalclocks.hsfs.flink.constructor.Query,org.apache.flink.streaming.api.datastream.DataStream<?>>IOExceptionFeatureStoreExceptionParseExceptionpublic Object getTrainValidationTestSplit(Integer integer, Map<String,String> map) throws IOException, FeatureStoreException, ParseException
getTrainValidationTestSplit in class FeatureViewBase<FeatureView,FeatureStore,com.logicalclocks.hsfs.flink.constructor.Query,org.apache.flink.streaming.api.datastream.DataStream<?>>IOExceptionFeatureStoreExceptionParseExceptionpublic void purgeTrainingData(Integer integer) throws FeatureStoreException, IOException
purgeTrainingData in class FeatureViewBase<FeatureView,FeatureStore,com.logicalclocks.hsfs.flink.constructor.Query,org.apache.flink.streaming.api.datastream.DataStream<?>>FeatureStoreExceptionIOExceptionpublic void purgeAllTrainingData()
throws FeatureStoreException,
IOException
purgeAllTrainingData in class FeatureViewBase<FeatureView,FeatureStore,com.logicalclocks.hsfs.flink.constructor.Query,org.apache.flink.streaming.api.datastream.DataStream<?>>FeatureStoreExceptionIOExceptionpublic void deleteTrainingDataset(Integer integer) throws FeatureStoreException, IOException
deleteTrainingDataset in class FeatureViewBase<FeatureView,FeatureStore,com.logicalclocks.hsfs.flink.constructor.Query,org.apache.flink.streaming.api.datastream.DataStream<?>>FeatureStoreExceptionIOExceptionpublic void deleteAllTrainingDatasets()
throws FeatureStoreException,
IOException
deleteAllTrainingDatasets in class FeatureViewBase<FeatureView,FeatureStore,com.logicalclocks.hsfs.flink.constructor.Query,org.apache.flink.streaming.api.datastream.DataStream<?>>FeatureStoreExceptionIOExceptionCopyright © 2023. All rights reserved.