use of herddb.network.netty.LocalVMChannel in project herddb by diennea.
the class NonMarshallingClientSideConnectionPeer method executeUpdates.
@Override
public List<DMLResult> executeUpdates(String tableSpace, String query, long tx, boolean returnValues, boolean usePreparedStatement, List<List<Object>> batch) throws HDBException, ClientSideMetadataProviderException {
LocalVMChannel channel = (LocalVMChannel) realConnection.ensureOpen();
ServerSideConnectionPeer serverSidePeer = (ServerSideConnectionPeer) channel.getServerSideChannel().getMessagesReceiver();
return serverSidePeer.executeUpdates(tableSpace, query, tx, returnValues, batch);
}
use of herddb.network.netty.LocalVMChannel in project herddb by diennea.
the class NonMarshallingClientSideConnectionPeer method executeScan.
@Override
public ScanResultSet executeScan(String tableSpace, String query, boolean usePreparedStatement, List<Object> params, long tx, int maxRows, int fetchSize, boolean keepReadLocks) throws HDBException, ClientSideMetadataProviderException {
LocalVMChannel channel = (LocalVMChannel) realConnection.ensureOpen();
ServerSideConnectionPeer serverSidePeer = (ServerSideConnectionPeer) channel.getServerSideChannel().getMessagesReceiver();
return serverSidePeer.executeScan(tableSpace, query, usePreparedStatement, params, tx, maxRows, fetchSize, keepReadLocks);
}
use of herddb.network.netty.LocalVMChannel in project herddb by diennea.
the class NonMarshallingClientSideConnectionPeer method commitTransaction.
@Override
public void commitTransaction(String tableSpace, long tx) throws HDBException, ClientSideMetadataProviderException {
LocalVMChannel channel = (LocalVMChannel) realConnection.ensureOpen();
ServerSideConnectionPeer serverSidePeer = (ServerSideConnectionPeer) channel.getServerSideChannel().getMessagesReceiver();
serverSidePeer.commitTransaction(tableSpace, tx);
}
use of herddb.network.netty.LocalVMChannel in project herddb by diennea.
the class NonMarshallingClientSideConnectionPeer method beginTransaction.
@Override
public long beginTransaction(String tableSpace) throws HDBException, ClientSideMetadataProviderException {
LocalVMChannel channel = (LocalVMChannel) realConnection.ensureOpen();
ServerSideConnectionPeer serverSidePeer = (ServerSideConnectionPeer) channel.getServerSideChannel().getMessagesReceiver();
return serverSidePeer.beginTransaction(tableSpace);
}
use of herddb.network.netty.LocalVMChannel in project herddb by diennea.
the class NonMarshallingClientSideConnectionPeer method executeGet.
@Override
public GetResult executeGet(String tableSpace, String query, long tx, boolean usePreparedStatement, List<Object> params) throws HDBException, ClientSideMetadataProviderException {
LocalVMChannel channel = (LocalVMChannel) realConnection.ensureOpen();
ServerSideConnectionPeer serverSidePeer = (ServerSideConnectionPeer) channel.getServerSideChannel().getMessagesReceiver();
return serverSidePeer.executeGet(tableSpace, query, tx, params);
}
Aggregations