Uses of Class
dk.cloudcreate.essentials.components.foundation.postgresql.ListenNotify.SqlOperation
-
Packages that use ListenNotify.SqlOperation Package Description dk.cloudcreate.essentials.components.foundation.postgresql -
-
Uses of ListenNotify.SqlOperation in dk.cloudcreate.essentials.components.foundation.postgresql
Methods in dk.cloudcreate.essentials.components.foundation.postgresql that return ListenNotify.SqlOperation Modifier and Type Method Description ListenNotify.SqlOperationTableChangeNotification. getOperation()static ListenNotify.SqlOperationListenNotify.SqlOperation. valueOf(String name)Returns the enum constant of this type with the specified name.static ListenNotify.SqlOperation[]ListenNotify.SqlOperation. values()Returns an array containing the constants of this enum type, in the order they are declared.Method parameters in dk.cloudcreate.essentials.components.foundation.postgresql with type arguments of type ListenNotify.SqlOperation Modifier and Type Method Description static voidListenNotify. addChangeNotificationTriggerToTable(org.jdbi.v3.core.Handle handle, String tableName, List<ListenNotify.SqlOperation> triggerOnSqlOperations, String... includeAdditionalTableColumnsInNotificationPayload)Create (or replace an existing) Table change notificationFUNCTIONand an AFTERTRIGGERto the given Table in order to support the classical Postgresql LISTEN/NOTIFY concept.
The NOTIFY/LISTEN channel is defined by theListenNotify.resolveTableChangeChannelName(String)and the payload is a JSON formatted string containing a "table_name" property as well as any additional columns provided in theincludeAdditionalTableColumnsInNotificationPayloadparameter.Constructors in dk.cloudcreate.essentials.components.foundation.postgresql with parameters of type ListenNotify.SqlOperation Constructor Description TableChangeNotification(String tableName, ListenNotify.SqlOperation operation)
-