public class FeatureGroupUtils extends Object
Constructor and Description |
---|
FeatureGroupUtils() |
public String getTableName(FeatureGroupBase offlineFeatureGroup)
public String getOnlineTableName(FeatureGroupBase offlineFeatureGroup)
public scala.collection.Seq<String> getPartitionColumns(FeatureGroupBase offlineFeatureGroup)
public scala.collection.Seq<String> getPrimaryColumns(FeatureGroupBase offlineFeatureGroup)
public String getFgName(FeatureGroupBase featureGroup)
public String getHiveServerConnection(FeatureGroupBase featureGroup, String connectionString) throws IOException, FeatureStoreException
IOException
FeatureStoreException
public static Date getDateFromDateString(String inputDate) throws FeatureStoreException, ParseException
FeatureStoreException
ParseException
public static Long getTimeStampFromDateString(String inputDate) throws FeatureStoreException, ParseException
FeatureStoreException
ParseException
public Map<Long,Map<String,String>> getCommitDetails(FeatureGroupBase featureGroup, String wallclockTime, Integer limit) throws FeatureStoreException, IOException, ParseException
public String getAvroSchema(FeatureGroupBase featureGroup, FeatureStoreBase featureStoreBase) throws FeatureStoreException, IOException
FeatureStoreException
IOException
public String getFeatureAvroSchema(String featureName, org.apache.avro.Schema schema) throws FeatureStoreException, IOException
FeatureStoreException
IOException
public org.apache.avro.Schema getDeserializedEncodedAvroSchema(org.apache.avro.Schema schema, List<String> complexFeatures) throws FeatureStoreException, IOException
FeatureStoreException
IOException
public String getEncodedAvroSchema(org.apache.avro.Schema schema, List<String> complexFeatures) throws FeatureStoreException, IOException
FeatureStoreException
IOException
public org.apache.avro.Schema getDeserializedAvroSchema(String avroSchema) throws FeatureStoreException, IOException
FeatureStoreException
IOException
public void verifyAttributeKeyNames(FeatureGroupBase featureGroup, List<String> partitionKeyNames, String precombineKeyName) throws FeatureStoreException
FeatureStoreException
public Subject getSubject(FeatureGroupBase featureGroup) throws FeatureStoreException, IOException
FeatureStoreException
IOException
Copyright © 2023. All rights reserved.