public class FeatureGroupUtils extends Object
| Constructor and Description |
|---|
FeatureGroupUtils() |
public <S> List<Feature> parseFeatureGroupSchema(S datasetGeneric, TimeTravelFormat timeTravelFormat) throws FeatureStoreException
FeatureStoreExceptionpublic <S> S convertToDefaultDataframe(S datasetGeneric)
throws FeatureStoreException
FeatureStoreExceptionpublic String getTableName(FeatureGroupBase offlineFeatureGroup)
public String getOnlineTableName(FeatureGroup offlineFeatureGroup)
public scala.collection.Seq<String> getPartitionColumns(FeatureGroupBase offlineFeatureGroup)
public scala.collection.Seq<String> getPrimaryColumns(FeatureGroupBase offlineFeatureGroup)
public String getFgName(FeatureGroupBase featureGroup)
public static Date getDateFromDateString(String inputDate) throws FeatureStoreException, ParseException
FeatureStoreExceptionParseExceptionpublic static Long getTimeStampFromDateString(String inputDate) throws FeatureStoreException, ParseException
FeatureStoreExceptionParseExceptionpublic String constructCheckpointPath(FeatureGroup featureGroup, String queryName, String queryPrefix) throws FeatureStoreException
FeatureStoreExceptionpublic Map<String,String> getKafkaConfig(FeatureGroupBase featureGroup, Map<String,String> writeOptions) throws FeatureStoreException, IOException
FeatureStoreExceptionIOExceptionpublic Map<Long,Map<String,String>> commitDetails(FeatureGroupBase featureGroupBase, Integer limit) throws IOException, FeatureStoreException, ParseException
public Map<Long,Map<String,String>> commitDetailsByWallclockTime(FeatureGroupBase featureGroup, String wallclockTime, Integer limit) throws IOException, FeatureStoreException, ParseException
public <S> FeatureGroupCommit commitDelete(FeatureGroupBase featureGroupBase, S genericDataset, Map<String,String> writeOptions) throws IOException, FeatureStoreException, ParseException
public Subject getSubject(FeatureGroupBase featureGroup) throws FeatureStoreException, IOException
FeatureStoreExceptionIOExceptionpublic String checkpointDirPath(String queryName, String onlineTopicName) throws FeatureStoreException
FeatureStoreExceptionpublic String getFeatureAvroSchema(String featureName, org.apache.avro.Schema schema) throws FeatureStoreException, IOException
FeatureStoreExceptionIOExceptionpublic String getEncodedAvroSchema(org.apache.avro.Schema schema, List<String> complexFeatures) throws FeatureStoreException, IOException
FeatureStoreExceptionIOExceptionpublic org.apache.avro.Schema getDeserializedAvroSchema(String avroSchema) throws FeatureStoreException, IOException
FeatureStoreExceptionIOExceptionpublic void verifyAttributeKeyNames(FeatureGroupBase featureGroup, List<String> partitionKeyNames, String precombineKeyName) throws FeatureStoreException
FeatureStoreExceptionCopyright © 2023. All rights reserved.