public final class RpcRequest extends Object implements io.r2dbc.mssql.message.ClientMessage, TokenStream
| Modifier and Type | Class and Description |
|---|---|
static class |
RpcRequest.Builder
Builder for
RpcRequest. |
static class |
RpcRequest.OptionFlags
RPC option flags.
|
| Modifier and Type | Field and Description |
|---|---|
static short |
Sp_Cursor
Requests positioned updates.
|
static short |
Sp_CursorClose
Closes and de-allocates the cursor, as well as releases all associated resources; that is, it drops the temporary table used in support of KEYSET or STATIC cursor.
|
static short |
Sp_CursorExecute
Creates and populates a cursor based upon the execution plan created by
Sp_CursorPrepare. |
static short |
Sp_CursorFetch
Fetches a buffer of one or more rows from the database.
|
static short |
Sp_CursorOpen
Opens a cursor.
|
static short |
Sp_CursorOption
Sets cursor options or returns cursor information created by the
Sp_CursorOpen stored procedure. |
static short |
Sp_CursorPrepare
Compiles the cursor statement or batch into an execution plan, but does not create the cursor.
|
static short |
Sp_CursorPrepExec
Compiles a plan for the submitted cursor statement or batch, then creates and populates the cursor.
|
static short |
Sp_CursorUnprepare
Discards the execution plan developed in the sp_cursorprepare stored procedure.
|
static short |
Sp_Execute
Executes a prepared Transact-SQL statement using a specified handle and optional parameter value.
|
static short |
Sp_ExecuteSql
Executes a Transact-SQL statement or batch that can be reused many times, or one that has been built dynamically.
|
static short |
Sp_Prepare
Prepares a parameterized Transact-SQL statement and returns a statement handle for execution.
|
static short |
Sp_PrepExec
Prepares and executes a parameterized Transact-SQL statement.
|
static short |
Sp_PrepExecRpc
Prepares and executes a parameterized stored procedure call that has been specified using an RPC identifier.
|
static short |
Sp_Unprepare
Discards the execution plan created by the sp_prepare stored procedure.
|
| Modifier and Type | Method and Description |
|---|---|
static RpcRequest.Builder |
builder()
Creates a new
RpcRequest.Builder to build a RpcRequest. |
org.reactivestreams.Publisher<TdsFragment> |
encode(io.netty.buffer.ByteBufAllocator allocator,
int packetSize)
Encode a message into a
data buffer. |
boolean |
equals(Object o) |
String |
getName() |
Integer |
getProcId() |
String |
getProcName() |
int |
hashCode() |
String |
toString() |
public static final short Sp_Cursor
public static final short Sp_CursorOpen
public static final short Sp_CursorPrepare
Sp_CursorExecute.public static final short Sp_CursorExecute
Sp_CursorPrepare. This procedure, coupled with Sp_CursorPrepare, has the same function as
Sp_CursorOpen, but is split into two phases.public static final short Sp_CursorPrepExec
Sp_CursorPrepare and
Sp_CursorExecute.public static final short Sp_CursorUnprepare
public static final short Sp_CursorFetch
public static final short Sp_CursorOption
Sp_CursorOpen stored procedure.public static final short Sp_CursorClose
public static final short Sp_ExecuteSql
public static final short Sp_Prepare
public static final short Sp_Execute
public static final short Sp_PrepExec
Sp_PrepExec combines the functions of Sp_Prepare and Sp_Execute.public static final short Sp_PrepExecRpc
public static final short Sp_Unprepare
public static RpcRequest.Builder builder()
RpcRequest.Builder to build a RpcRequest.RpcRequest.Builder to build a RpcRequest.public org.reactivestreams.Publisher<TdsFragment> encode(io.netty.buffer.ByteBufAllocator allocator, int packetSize)
io.r2dbc.mssql.message.ClientMessagedata buffer. Can encode either to a scalar TdsFragment or a Publisher of TdsFragment.encode in interface io.r2dbc.mssql.message.ClientMessageallocator - the ByteBufAllocator to use to get a data buffer to write into.packetSize - packet size hint.TdsFragment or a Publisher that produces the TdsFragment containing the encoded message.public Integer getProcId()
public String getName()
getName in interface TokenStreamTokenStream.Copyright © 2023. All rights reserved.