Package com.logicalclocks.hsfs.engine
Class Engine<T>
java.lang.Object
com.logicalclocks.hsfs.engine.EngineBase
com.logicalclocks.hsfs.engine.Engine<T>
-
Field Summary
Fields inherited from class com.logicalclocks.hsfs.engine.EngineBase
LOGGER, storageConnectorApi -
Method Summary
Modifier and TypeMethodDescriptionstatic EnginegetKafkaConfig(FeatureGroupBase featureGroup, Map<String, String> writeOptions) writeStream(StreamFeatureGroup streamFeatureGroup, List<T> featureData, Map<String, String> writeOptions)
-
Method Details
-
getInstance
- Throws:
FeatureStoreException
-
writeStream
public List<T> writeStream(StreamFeatureGroup streamFeatureGroup, List<T> featureData, Map<String, String> writeOptions) throws FeatureStoreException, IOException, org.apache.avro.SchemaValidationException, NoSuchFieldException, IllegalAccessException- Throws:
FeatureStoreExceptionIOExceptionorg.apache.avro.SchemaValidationExceptionNoSuchFieldExceptionIllegalAccessException
-
addFile
- Specified by:
addFilein classEngineBase- Throws:
IOExceptionFeatureStoreException
-
getKafkaConfig
public Map<String,String> getKafkaConfig(FeatureGroupBase featureGroup, Map<String, String> writeOptions) throws FeatureStoreException, IOException- Specified by:
getKafkaConfigin classEngineBase- Throws:
FeatureStoreExceptionIOException
-