Class PostgresDispatcherFactory
java.lang.Object
no.skatteetaten.fastsetting.formueinntekt.felles.documentsql.postgres.PostgresDispatcherFactory
- All Implemented Interfaces:
JdbcDispatcherFactory
-
Field Summary
Fields inherited from interface no.skatteetaten.fastsetting.formueinntekt.felles.documentsql.api.JdbcDispatcherFactory
DELETED, ID, PAYLOAD, REVISION -
Method Summary
Modifier and TypeMethodDescriptionbooleancheckError(boolean exists, int code) <T> JdbcDispatcher<T>create(String name, Map<List<List<PathElement>>, Map<List<PathElement>, Class<?>>> views, NameResolver nameResolver, TableResolver<T> tableResolver) static PostgresDispatcherFactoryofJson()static PostgresDispatcherFactoryofXml()static PostgresDispatcherFactorywithMeta(boolean meta) withOnCreation(Function<String, Collection<String>> onCreation) withOnDrop(Function<String, Collection<String>> onDrop) withSynonym(boolean synonym) withTypeResolver(Function<Class<?>, String> typeResolver) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface no.skatteetaten.fastsetting.formueinntekt.felles.documentsql.api.JdbcDispatcherFactory
create, getBaseTable
-
Method Details
-
ofXml
-
ofXml
-
ofJson
-
withTypeResolver
-
withMeta
-
withSynonym
-
withOnCreation
- Specified by:
withOnCreationin interfaceJdbcDispatcherFactory
-
withOnDrop
- Specified by:
withOnDropin interfaceJdbcDispatcherFactory
-
create
public <T> JdbcDispatcher<T> create(String name, Map<List<List<PathElement>>, Map<List<PathElement>, Class<?>>> views, NameResolver nameResolver, TableResolver<T> tableResolver) - Specified by:
createin interfaceJdbcDispatcherFactory
-
checkError
public boolean checkError(boolean exists, int code) - Specified by:
checkErrorin interfaceJdbcDispatcherFactory
-