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, validateTrainValidationTestSplit
public void addTag(String s, Object o) throws FeatureStoreException, IOException
FeatureViewBase
addTag
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 objectsFeatureStoreException
IOException
public Map<String,Object> getTags() throws FeatureStoreException, IOException
FeatureViewBase
getTags
in class FeatureViewBase<FeatureView,FeatureStore,com.logicalclocks.hsfs.flink.constructor.Query,org.apache.flink.streaming.api.datastream.DataStream<?>>
FeatureStoreException
IOException
public Object getTag(String s) throws FeatureStoreException, IOException
FeatureViewBase
getTag
in class FeatureViewBase<FeatureView,FeatureStore,com.logicalclocks.hsfs.flink.constructor.Query,org.apache.flink.streaming.api.datastream.DataStream<?>>
s
- name of the tagFeatureStoreException
IOException
public void deleteTag(String s) throws FeatureStoreException, IOException
FeatureViewBase
deleteTag
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 deletedFeatureStoreException
IOException
public void addTrainingDatasetTag(Integer integer, String s, Object o) throws FeatureStoreException, IOException
FeatureViewBase
addTrainingDatasetTag
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 objectsFeatureStoreException
IOException
public Map<String,Object> getTrainingDatasetTags(Integer integer) throws FeatureStoreException, IOException
FeatureViewBase
getTrainingDatasetTags
in class FeatureViewBase<FeatureView,FeatureStore,com.logicalclocks.hsfs.flink.constructor.Query,org.apache.flink.streaming.api.datastream.DataStream<?>>
FeatureStoreException
IOException
public Object getTrainingDatasetTag(Integer integer, String s) throws FeatureStoreException, IOException
FeatureViewBase
getTrainingDatasetTag
in class FeatureViewBase<FeatureView,FeatureStore,com.logicalclocks.hsfs.flink.constructor.Query,org.apache.flink.streaming.api.datastream.DataStream<?>>
s
- name of the tagFeatureStoreException
IOException
public void deleteTrainingDatasetTag(Integer integer, String s) throws FeatureStoreException, IOException
FeatureViewBase
deleteTrainingDatasetTag
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 deletedFeatureStoreException
IOException
public void delete() throws FeatureStoreException, IOException
delete
in class FeatureViewBase<FeatureView,FeatureStore,com.logicalclocks.hsfs.flink.constructor.Query,org.apache.flink.streaming.api.datastream.DataStream<?>>
FeatureStoreException
IOException
public 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<?>>
FeatureStoreException
IOException
public 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<?>>
FeatureStoreException
IOException
public 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<?>>
FeatureStoreException
IOException
ParseException
public 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<?>>
FeatureStoreException
IOException
ParseException
public 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<?>>
FeatureStoreException
IOException
ParseException
public 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<?>>
FeatureStoreException
IOException
ParseException
public 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<?>>
FeatureStoreException
IOException
ParseException
public 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<?>>
IOException
FeatureStoreException
ParseException
public 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<?>>
IOException
FeatureStoreException
ParseException
public 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<?>>
IOException
FeatureStoreException
ParseException
public 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<?>>
FeatureStoreException
IOException
public void purgeAllTrainingData() throws FeatureStoreException, IOException
purgeAllTrainingData
in class FeatureViewBase<FeatureView,FeatureStore,com.logicalclocks.hsfs.flink.constructor.Query,org.apache.flink.streaming.api.datastream.DataStream<?>>
FeatureStoreException
IOException
public 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<?>>
FeatureStoreException
IOException
public void deleteAllTrainingDatasets() throws FeatureStoreException, IOException
deleteAllTrainingDatasets
in class FeatureViewBase<FeatureView,FeatureStore,com.logicalclocks.hsfs.flink.constructor.Query,org.apache.flink.streaming.api.datastream.DataStream<?>>
FeatureStoreException
IOException
Copyright © 2023. All rights reserved.