Class FunctionCall
java.lang.Object
io.r2dbc.postgresql.message.frontend.FunctionCall
- All Implemented Interfaces:
FrontendMessage
The FunctionCall message.
-
Nested Class Summary
Nested classes/interfaces inherited from interface FrontendMessage
FrontendMessage.DirectEncoder -
Constructor Summary
ConstructorsConstructorDescriptionFunctionCall(List<io.r2dbc.postgresql.message.Format> argumentFormats, List<io.netty.buffer.ByteBuf> arguments, int functionId, io.r2dbc.postgresql.message.Format resultFormat) Create a new message. -
Method Summary
-
Constructor Details
-
FunctionCall
public FunctionCall(List<io.r2dbc.postgresql.message.Format> argumentFormats, List<io.netty.buffer.ByteBuf> arguments, int functionId, io.r2dbc.postgresql.message.Format resultFormat) Create a new message.- Parameters:
argumentFormats- the argument formatsarguments- the value of the arguments, in the format indicated by the associated formatfunctionId- the object ID of the function to callresultFormat- the format code for the function result- Throws:
IllegalArgumentException- ifargumentFormats,arguments, orresultFormatisnull
-
-
Method Details
-
encode
Description copied from interface:FrontendMessageEncode a message into aByteBuf.- Specified by:
encodein interfaceFrontendMessage- Parameters:
byteBufAllocator- the byteBufAllocator to use to get aByteBufto write into- Returns:
- a
Publisherthat produces theByteBufcontaining the encoded message
-
equals
-
hashCode
-
toString
-