Package com.logicalclocks.hsfs
Class Feature
java.lang.Object
com.logicalclocks.hsfs.Feature
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionin(Collection<?> collection) Deprecated.`in` method is deprecated.booleanReturns true if the feature has a complex type.isin(Collection<?> collection) voidtoJson()
-
Constructor Details
-
Feature
-
Feature
-
Feature
-
Feature
-
Feature
-
Feature
public Feature(String name, String type, Boolean primary, Boolean partition) throws FeatureStoreException - Throws:
FeatureStoreException
-
Feature
public Feature(String name, String type, String onlineType, Boolean primary, Boolean partition, String defaultValue, String description) throws FeatureStoreException - Throws:
FeatureStoreException
-
-
Method Details
-
isComplex
public boolean isComplex()Returns true if the feature has a complex type.// get feature store handle FeatureStore fs = ...; // get feature group handle FeatureGroup fg = ...; // get feature Feature ft = fg.getFeature("feature_name"); // check if the feature has a complex type. ft.isComplex();- Returns:
- boolean
-
setName
-
lt
-
lt
-
le
-
le
-
eq
-
eq
-
ne
-
ne
-
gt
-
gt
-
ge
-
ge
-
in
Deprecated.`in` method is deprecated. Use `isin` instead.check if a value exists in a group of values.- Parameters:
collection- collection of values to filter on SqlFilterCondition.IN- Returns:
- Filter object
-
isin
-
like
-
toJson
-