Uses of Class
com.ocient.jdbc.XGConnection
Packages that use XGConnection
-
Uses of XGConnection in com.ocient.jdbc
Fields in com.ocient.jdbc declared as XGConnectionMethods in com.ocient.jdbc that return XGConnectionModifier and TypeMethodDescriptionXGConnection.forkConnection(XGConnectionInfo.Hint hint, boolean hint_bypassLoadBalancerOnHandshakeOnly) Forks a new XGConnection based on the current connection, with optional hints for connection type.static XGConnectionXGConnection.TEST_createConnection(XGConnectionInfo info, Map<String, SimplexTransportFactory<? extends SimplexTransport<io.netty.buffer.ByteBuf, io.netty.buffer.ByteBuf>>> transportFactories) static XGConnectionXGConnection.TEST_createConnection(String user, String pwd, String ip, int portNum, String url, String database, String protocolVersion, XGConnection.Tls tls, CaselessProperties hint_properties, Map<String, SimplexTransportFactory<? extends SimplexTransport<io.netty.buffer.ByteBuf, io.netty.buffer.ByteBuf>>> transportFactories) Methods in com.ocient.jdbc that return types with arguments of type XGConnectionModifier and TypeMethodDescriptionXGConnectionFactory.create(XGConnectionInfo info) Returns aCompletionStageofCompletableFutures.SQLResultwhich completes when the connection is successfully established, or completes exceptionally if the connection cannot be established.XGConnection.forkConnectionAsync(XGConnectionInfo.Hint hint, boolean hint_bypassLoadBalancerOnHandshakeOnly) XGConnection.leaseConnection(XGConnectionInfo info) Leases a connection to the database specified byinfo.org.apache.commons.pool2.PooledObject<XGConnection> XGConnection.XGConnectionFactory.makeObject(XGConnectionInfo info) Methods in com.ocient.jdbc with parameters of type XGConnectionModifier and TypeMethodDescriptionXGResultSet.initResultSet(XGConnection conn, int fetchSize, XGStatement stmt, int parallelism, XGConnectionFactory channelFactory, RowTransformerFactory rowTransformerFactory, SortMode sortMode, Map<String, Integer> streamProperties) Initializes a newXGResultSetobject and returns a CompletionStage that completes when the result set's metadata has been retrieved from the server and completes with an exceptionalCompletableFutures.SQLResulton failure.XGResultSet.initResultSetMetadata(XGConnection conn, int fetchSize, XGStatement stmt, ClientWireProtocol.ResultSet data, XGResultSet.Option... options) Initializes a newXGResultSetobject and returns a CompletionStage that completes when the result set's metadata has been retrieved from the server and completes with an exceptionalCompletableFutures.SQLResulton failure.static XGPreparedStatementXGPreparedStatement.newXGPreparedStatement(XGConnection conn, String sql, boolean force, boolean oneShotForce) Deprecated.static XGPreparedStatementXGPreparedStatement.newXGPreparedStatement(XGConnection conn, String sql, int type, int concur, boolean force, boolean oneShotForce) Deprecated.static XGPreparedStatementXGPreparedStatement.newXGPreparedStatement(XGConnection conn, String sql, int type, int concur, int hold, boolean force, boolean oneShotForce) Deprecated.static XGStatementXGStatement.newXGStatement(XGConnection conn) Deprecated.static XGStatementXGStatement.newXGStatement(XGConnection conn, boolean force, boolean oneShotForce) Deprecated.static XGStatementXGStatement.newXGStatement(XGConnection conn, int type, int concur, boolean force, boolean oneShotForce) Deprecated.static XGStatementXGStatement.newXGStatement(XGConnection conn, int type, int concur, int hold, boolean force, boolean oneShotForce) Deprecated.Method parameters in com.ocient.jdbc with type arguments of type XGConnectionModifier and TypeMethodDescriptionvoidXGConnection.XGConnectionFactory.activateObject(XGConnectionInfo info, org.apache.commons.pool2.PooledObject<XGConnection> pooledObject) voidXGConnection.XGConnectionFactory.destroyObject(XGConnectionInfo info, org.apache.commons.pool2.PooledObject<XGConnection> pooledObject) voidXGConnection.XGConnectionFactory.passivateObject(XGConnectionInfo info, org.apache.commons.pool2.PooledObject<XGConnection> pooledObject) booleanXGConnection.XGConnectionFactory.validateObject(XGConnectionInfo info, org.apache.commons.pool2.PooledObject<XGConnection> pooledObject) Constructors in com.ocient.jdbc with parameters of type XGConnectionModifierConstructorDescriptionXGArray(int numElements, byte type, XGConnection conn, XGStatement stmt) XGPreparedStatement(XGConnection conn, String sql) XGPreparedStatement(XGConnection conn, String sql, int arg1, int arg2) XGPreparedStatement(XGConnection conn, String sql, int arg1, int arg2, int arg3) XGResultSet(XGConnection conn, XGResultSet.OcientResultSetMetadata md, List<List<Object>> rs, XGStatement stmt, RowTransformerFactory rowTransformerFactory, XGResultSet.Option... options) Constructs a new XGResultSet object with the given parameters.XGStatement(XGConnection conn) XGStatement(XGConnection conn, int type, int concur) XGStatement(XGConnection conn, int type, int concur, int hold) XGStatement(XGConnection conn, XGConnectionFactory connFactory) Constructor parameters in com.ocient.jdbc with type arguments of type XGConnectionModifierConstructorDescriptionXGConnectionFactory(Function<XGConnectionInfo, XGConnection> superFactory)