org.postgresql.jdbc2.ArrayAssistantRegistry Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of fdb-sql-layer-jdbc Show documentation
Show all versions of fdb-sql-layer-jdbc Show documentation
The FoundationDB SQL Layer Driver for JDBC4
package org.postgresql.jdbc2;
import java.util.HashMap;
import java.util.Map;
/**
* Array assistants register here
*
* @author Minglei Tu
*/
public class ArrayAssistantRegistry {
private static Map arrayAssistantMap = new HashMap();
public static ArrayAssistant getAssistant(int oid) {
return (ArrayAssistant) arrayAssistantMap.get(new Integer(oid));
}
////
public static void register(int oid, ArrayAssistant assistant) {
arrayAssistantMap.put(new Integer(oid), assistant);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy