@@ -176,8 +176,8 @@ public <T> T read() throws FeatureStoreException, IOException {
176
176
*
177
177
* @param name name of the tag
178
178
* @param value value of the tag. The value of a tag can be any valid json - primitives, arrays or json objects.
179
- * @throws FeatureStoreException FeatureStoreException
180
- * @throws IOException IOException
179
+ * @throws FeatureStoreException If Client is not connected to Hopsworks,
180
+ * @throws IOException Generic IO exception.
181
181
*/
182
182
public void addTag (String name , Object value ) throws FeatureStoreException , IOException {
183
183
featureGroupBaseEngine .addTag (this , name , value );
@@ -187,8 +187,8 @@ public void addTag(String name, Object value) throws FeatureStoreException, IOEx
187
187
* Get all tags of the feature group.
188
188
*
189
189
* @return map of tag name and values. The value of a tag can be any valid json - primitives, arrays or json objects
190
- * @throws FeatureStoreException FeatureStoreException
191
- * @throws IOException IOException
190
+ * @throws FeatureStoreException If Client is not connected to Hopsworks,
191
+ * @throws IOException Generic IO exception.
192
192
*/
193
193
@ JsonIgnore
194
194
public Map <String , Object > getTags () throws FeatureStoreException , IOException {
@@ -212,8 +212,8 @@ public Object getTag(String name) throws FeatureStoreException, IOException {
212
212
* Delete a tag of the feature group.
213
213
*
214
214
* @param name name of the tag to be deleted
215
- * @throws FeatureStoreException FeatureStoreException
216
- * @throws IOException IOException
215
+ * @throws FeatureStoreException If Client is not connected to Hopsworks,
216
+ * @throws IOException Generic IO exception.
217
217
*/
218
218
public void deleteTag (String name ) throws FeatureStoreException , IOException {
219
219
featureGroupBaseEngine .deleteTag (this , name );
@@ -223,8 +223,8 @@ public void deleteTag(String name) throws FeatureStoreException, IOException {
223
223
* Update the description of the feature group.
224
224
*
225
225
* @param description feature group description.
226
- * @throws FeatureStoreException FeatureStoreException
227
- * @throws IOException IOException
226
+ * @throws FeatureStoreException If Client is not connected to Hopsworks,
227
+ * @throws IOException Generic IO exception.
228
228
*/
229
229
public void updateDescription (String description ) throws FeatureStoreException , IOException {
230
230
featureGroupBaseEngine .updateDescription (this , description , this .getClass ());
@@ -235,8 +235,8 @@ public void updateDescription(String description) throws FeatureStoreException,
235
235
*
236
236
* @param featureName Name of the feature
237
237
* @param description Description of the feature
238
- * @throws FeatureStoreException FeatureStoreException
239
- * @throws IOException IOException
238
+ * @throws FeatureStoreException If Client is not connected to Hopsworks,
239
+ * @throws IOException Generic IO exception.
240
240
*/
241
241
public void updateFeatureDescription (String featureName , String description )
242
242
throws FeatureStoreException , IOException {
@@ -250,9 +250,10 @@ public void updateFeatureDescription(String featureName, String description)
250
250
* Currently only feature description updates are supported.
251
251
*
252
252
* @param features List of Feature metadata objects
253
- * @throws FeatureStoreException FeatureStoreException
254
- * @throws IOException IOException
255
- * @throws ParseException ParseException
253
+ * @throws FeatureStoreException If Client is not connected to Hopsworks, unable to identify date format and/or
254
+ * no commit information was found for this feature group;
255
+ * @throws IOException Generic IO exception.
256
+ * @throws ParseException In case it's unable to parse date string to date type.
256
257
*/
257
258
public void updateFeatures (List <Feature > features ) throws FeatureStoreException , IOException , ParseException {
258
259
featureGroupBaseEngine .appendFeatures (this , features , this .getClass ());
@@ -263,9 +264,10 @@ public void updateFeatures(List<Feature> features) throws FeatureStoreException,
263
264
* Currently only feature description updates are supported.
264
265
*
265
266
* @param feature Feature metadata object
266
- * @throws FeatureStoreException FeatureStoreException
267
- * @throws IOException IOException
268
- * @throws ParseException ParseException
267
+ * @throws FeatureStoreException If Client is not connected to Hopsworks, unable to identify date format and/or
268
+ * no commit information was found for this feature group;
269
+ * @throws IOException Generic IO exception.
270
+ * @throws ParseException In case it's unable to parse date string to date type.
269
271
*/
270
272
public void updateFeatures (Feature feature ) throws FeatureStoreException , IOException , ParseException {
271
273
featureGroupBaseEngine .appendFeatures (this , Collections .singletonList (feature ), this .getClass ());
@@ -276,9 +278,10 @@ public void updateFeatures(Feature feature) throws FeatureStoreException, IOExce
276
278
* It is only possible to append features to a feature group. Removing features is considered a breaking change.
277
279
*
278
280
* @param features list of Feature metadata objects
279
- * @throws FeatureStoreException FeatureStoreException
280
- * @throws IOException IOException
281
- * @throws ParseException ParseException
281
+ * @throws FeatureStoreException If Client is not connected to Hopsworks, unable to identify date format and/or
282
+ * no commit information was found for this feature group;
283
+ * @throws IOException Generic IO exception.
284
+ * @throws ParseException In case it's unable to parse date string to date type.
282
285
*/
283
286
public void appendFeatures (List <Feature > features ) throws FeatureStoreException , IOException , ParseException {
284
287
featureGroupBaseEngine .appendFeatures (this , new ArrayList <>(features ), this .getClass ());
@@ -289,9 +292,10 @@ public void appendFeatures(List<Feature> features) throws FeatureStoreException,
289
292
* It is only possible to append features to a feature group. Removing features is considered a breaking change.
290
293
*
291
294
* @param features List of Feature metadata objects
292
- * @throws FeatureStoreException FeatureStoreException
293
- * @throws IOException IOException
294
- * @throws ParseException ParseException
295
+ * @throws FeatureStoreException If Client is not connected to Hopsworks, unable to identify date format and/or
296
+ * no commit information was found for this feature group;
297
+ * @throws IOException Generic IO exception.
298
+ * @throws ParseException In case it's unable to parse date string to date type.
295
299
*/
296
300
public void appendFeatures (Feature features ) throws FeatureStoreException , IOException , ParseException {
297
301
List <Feature > featureList = new ArrayList <>();
@@ -304,8 +308,8 @@ public void appendFeatures(Feature features) throws FeatureStoreException, IOExc
304
308
* Change the `enabled`, `histograms`, `correlations` or `columns` attributes and persist
305
309
* the changes by calling this method.
306
310
*
307
- * @throws FeatureStoreException FeatureStoreException
308
- * @throws IOException IOException
311
+ * @throws FeatureStoreException If Client is not connected to Hopsworks,
312
+ * @throws IOException Generic IO exception.
309
313
*/
310
314
public void updateStatisticsConfig () throws FeatureStoreException , IOException {
311
315
featureGroupBaseEngine .updateStatisticsConfig (this , this .getClass ());
@@ -315,8 +319,8 @@ public void updateStatisticsConfig() throws FeatureStoreException, IOException {
315
319
* Recompute the statistics for the feature group and save them to the feature store.
316
320
*
317
321
* @return statistics object of computed statistics
318
- * @throws FeatureStoreException FeatureStoreException
319
- * @throws IOException IOException
322
+ * @throws FeatureStoreException If Client is not connected to Hopsworks,
323
+ * @throws IOException Generic IO exception.
320
324
*/
321
325
public Statistics computeStatistics () throws FeatureStoreException , IOException {
322
326
if (statisticsConfig .getEnabled ()) {
@@ -332,8 +336,8 @@ public Statistics computeStatistics() throws FeatureStoreException, IOException
332
336
* Get the last statistics commit for the feature group.
333
337
*
334
338
* @return statistics object of latest commit
335
- * @throws FeatureStoreException FeatureStoreException
336
- * @throws IOException IOException
339
+ * @throws FeatureStoreException If Client is not connected to Hopsworks,
340
+ * @throws IOException Generic IO exception.
337
341
*/
338
342
@ JsonIgnore
339
343
public Statistics getStatistics () throws FeatureStoreException , IOException {
@@ -345,8 +349,8 @@ public Statistics getStatistics() throws FeatureStoreException, IOException {
345
349
*
346
350
* @param commitTime commit time in the format "YYYYMMDDhhmmss"
347
351
* @return statistics object for the commit time
348
- * @throws FeatureStoreException FeatureStoreException
349
- * @throws IOException IOException
352
+ * @throws FeatureStoreException If Client is not connected to Hopsworks and/or unable to identify date format.
353
+ * @throws IOException Generic IO exception.
350
354
*/
351
355
@ JsonIgnore
352
356
public Statistics getStatistics (String commitTime ) throws FeatureStoreException , IOException {
@@ -371,8 +375,8 @@ public void unloadSubject() {
371
375
*
372
376
* @param filter Filter metadata object
373
377
* @return Query object
374
- * @throws FeatureStoreException FeatureStoreException
375
- * @throws IOException IOException
378
+ * @throws FeatureStoreException If Client is not connected to Hopsworks.
379
+ * @throws IOException Generic IO exception.
376
380
*/
377
381
public Query filter (Filter filter ) throws FeatureStoreException , IOException {
378
382
return this .selectAll ().filter (filter );
@@ -383,8 +387,8 @@ public Query filter(Filter filter) throws FeatureStoreException, IOException {
383
387
*
384
388
* @param filter Filter metadata object
385
389
* @return Query object
386
- * @throws FeatureStoreException FeatureStoreException
387
- * @throws IOException IOException
390
+ * @throws FeatureStoreException If Client is not connected to Hopsworks.
391
+ * @throws IOException Generic IO exception.
388
392
*/
389
393
public Query filter (FilterLogic filter ) throws FeatureStoreException , IOException {
390
394
return this .selectAll ().filter (filter );
@@ -395,7 +399,7 @@ public Query filter(FilterLogic filter) throws FeatureStoreException, IOExceptio
395
399
*
396
400
* @param name feature name
397
401
* @return Feature metadata object
398
- * @throws FeatureStoreException FeatureStoreException
402
+ * @throws FeatureStoreException If Client is not connected to Hopsworks.
399
403
*/
400
404
@ JsonIgnore
401
405
public Feature getFeature (String name ) throws FeatureStoreException {
0 commit comments