PulsarExtension

The extension to support platon pulsar

Methods
static void closeSession(Session session)
Close the given session
static void closeSession(Session session) throws Exception
Close the given session
Parameters:
session - The session to close
static SessionInterface createSession(ConnectionInfo ci)
Create a session with the given connection information
static SessionInterface createSession(ConnectionInfo ci) throws Exception
Create a session with the given connection information
Parameters:
ci - The connection information
Returns:
The session
static UserAggregate findAggregate(HashMap aggregates, String name)
Find an aggregates by name
static UserAggregate findAggregate(HashMap aggregates, String name)
Find an aggregates by name
Parameters:
aggregates - The Aggregates
name - The name to find
Returns:
The UserAggregate matching the name
static FunctionAlias findFunction(ConcurrentHashMap functions, String functionAlias)
Find a functions by alias
static FunctionAlias findFunction(ConcurrentHashMap functions, String functionAlias)
Find a functions by alias
Parameters:
functions - The functions
functionAlias - The function alias to find
Returns:
The function matching the alias
static Class getEngineImplementation()
Get the engine implementation
static Class getEngineImplementation()
Get the engine implementation
Returns:
The actual engine implementation
static void shutdownSessionFactory()
Shutdown the session factory
static void shutdownSessionFactory()
Shutdown the session factory
PulsarExtension()
The default constructor
PulsarExtension()
The default constructor

Fields
static SessionFactory sessionFactory

sessionFactory