com.aliyun.openservices.paifeaturestore.datasource.HologresFactory Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of paifeaturestore-sdk Show documentation
Show all versions of paifeaturestore-sdk Show documentation
SDK for PAI-FeatureStore service
The newest version!
package com.aliyun.openservices.paifeaturestore.datasource;
import java.util.HashMap;
import java.util.Map;
public class HologresFactory {
private static Map hologresMap = new HashMap<>();
public static void register(String name, Hologres hologres) {
if (!hologresMap.containsKey(name)) {
hologresMap.put(name, hologres);
}
}
public static Hologres get(String name) {
return hologresMap.get(name);
}
}