public class Engine<T> extends EngineBase
LOGGER, storageConnectorApi
Modifier and Type | Method and Description |
---|---|
String |
addFile(String filePath) |
static Engine |
getInstance() |
Map<String,String> |
getKafkaConfig(FeatureGroupBase featureGroup,
Map<String,String> writeOptions) |
org.apache.avro.generic.GenericRecord |
pojoToAvroRecord(Object input,
org.apache.avro.Schema deserializedEncodedSchema,
Map<String,org.apache.avro.Schema> complexFeatureSchemas) |
List<T> |
writeStream(StreamFeatureGroup streamFeatureGroup,
List<T> featureData,
Map<String,String> writeOptions) |
public static Engine getInstance() throws FeatureStoreException
FeatureStoreException
public List<T> writeStream(StreamFeatureGroup streamFeatureGroup, List<T> featureData, Map<String,String> writeOptions) throws FeatureStoreException, IOException, org.apache.avro.SchemaValidationException, NoSuchFieldException, IllegalAccessException
FeatureStoreException
IOException
org.apache.avro.SchemaValidationException
NoSuchFieldException
IllegalAccessException
public org.apache.avro.generic.GenericRecord pojoToAvroRecord(Object input, org.apache.avro.Schema deserializedEncodedSchema, Map<String,org.apache.avro.Schema> complexFeatureSchemas) throws NoSuchFieldException, IOException, IllegalAccessException
public String addFile(String filePath) throws IOException, FeatureStoreException
addFile
in class EngineBase
IOException
FeatureStoreException
public Map<String,String> getKafkaConfig(FeatureGroupBase featureGroup, Map<String,String> writeOptions) throws FeatureStoreException, IOException
getKafkaConfig
in class EngineBase
FeatureStoreException
IOException
Copyright © 2025. All rights reserved.