Package com.mysql.cj.x.protobuf
Class MysqlxPrepare.Execute
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.mysql.cj.x.protobuf.MysqlxPrepare.Execute
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,MysqlxPrepare.ExecuteOrBuilder,java.io.Serializable
- Enclosing class:
- MysqlxPrepare
public static final class MysqlxPrepare.Execute extends com.google.protobuf.GeneratedMessageV3 implements MysqlxPrepare.ExecuteOrBuilder
Execute already prepared statement
.. uml::
client -> server: Execute
alt Success
... Resultsets...
client <- server: StmtExecuteOk
else Failure
client <- server: Error
end
:param stmt_id: client side assigned statement id, must be already prepared
:param args_list: Arguments to bind to the prepared statement
:param compact_metadata: send only type information for :protobuf:msg:`Mysqlx.Resultset::ColumnMetadata`, skipping names and others
:Returns: :protobuf:msg:`Mysqlx.Ok::`
Protobuf type Mysqlx.Prepare.Execute- See Also:
- Serialized Form
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMysqlxPrepare.Execute.BuilderExecute already prepared statement ..Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter -
Field Summary
Fields Modifier and Type Field Description static intARGS_FIELD_NUMBERstatic intCOMPACT_METADATA_FIELD_NUMBERstatic com.google.protobuf.Parser<MysqlxPrepare.Execute>PARSERDeprecated.static intSTMT_ID_FIELD_NUMBER -
Method Summary
Modifier and Type Method Description booleanequals(java.lang.Object obj)MysqlxDatatypes.AnygetArgs(int index)repeated .Mysqlx.Datatypes.Any args = 2;intgetArgsCount()repeated .Mysqlx.Datatypes.Any args = 2;java.util.List<MysqlxDatatypes.Any>getArgsList()repeated .Mysqlx.Datatypes.Any args = 2;MysqlxDatatypes.AnyOrBuildergetArgsOrBuilder(int index)repeated .Mysqlx.Datatypes.Any args = 2;java.util.List<? extends MysqlxDatatypes.AnyOrBuilder>getArgsOrBuilderList()repeated .Mysqlx.Datatypes.Any args = 2;booleangetCompactMetadata()optional bool compact_metadata = 3 [default = false];static MysqlxPrepare.ExecutegetDefaultInstance()MysqlxPrepare.ExecutegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Parser<MysqlxPrepare.Execute>getParserForType()intgetSerializedSize()intgetStmtId()required uint32 stmt_id = 1;com.google.protobuf.UnknownFieldSetgetUnknownFields()booleanhasCompactMetadata()optional bool compact_metadata = 3 [default = false];inthashCode()booleanhasStmtId()required uint32 stmt_id = 1;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static MysqlxPrepare.Execute.BuildernewBuilder()static MysqlxPrepare.Execute.BuildernewBuilder(MysqlxPrepare.Execute prototype)MysqlxPrepare.Execute.BuildernewBuilderForType()protected MysqlxPrepare.Execute.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected java.lang.ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static MysqlxPrepare.ExecuteparseDelimitedFrom(java.io.InputStream input)static MysqlxPrepare.ExecuteparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static MysqlxPrepare.ExecuteparseFrom(byte[] data)static MysqlxPrepare.ExecuteparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static MysqlxPrepare.ExecuteparseFrom(com.google.protobuf.ByteString data)static MysqlxPrepare.ExecuteparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static MysqlxPrepare.ExecuteparseFrom(com.google.protobuf.CodedInputStream input)static MysqlxPrepare.ExecuteparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static MysqlxPrepare.ExecuteparseFrom(java.io.InputStream input)static MysqlxPrepare.ExecuteparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static MysqlxPrepare.ExecuteparseFrom(java.nio.ByteBuffer data)static MysqlxPrepare.ExecuteparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<MysqlxPrepare.Execute>parser()MysqlxPrepare.Execute.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Field Details
-
STMT_ID_FIELD_NUMBER
public static final int STMT_ID_FIELD_NUMBER- See Also:
- Constant Field Values
-
ARGS_FIELD_NUMBER
public static final int ARGS_FIELD_NUMBER- See Also:
- Constant Field Values
-
COMPACT_METADATA_FIELD_NUMBER
public static final int COMPACT_METADATA_FIELD_NUMBER- See Also:
- Constant Field Values
-
PARSER
Deprecated.
-
-
Method Details
-
newInstance
protected java.lang.Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
hasStmtId
public boolean hasStmtId()required uint32 stmt_id = 1;- Specified by:
hasStmtIdin interfaceMysqlxPrepare.ExecuteOrBuilder- Returns:
- Whether the stmtId field is set.
-
getStmtId
public int getStmtId()required uint32 stmt_id = 1;- Specified by:
getStmtIdin interfaceMysqlxPrepare.ExecuteOrBuilder- Returns:
- The stmtId.
-
getArgsList
repeated .Mysqlx.Datatypes.Any args = 2;- Specified by:
getArgsListin interfaceMysqlxPrepare.ExecuteOrBuilder
-
getArgsOrBuilderList
repeated .Mysqlx.Datatypes.Any args = 2;- Specified by:
getArgsOrBuilderListin interfaceMysqlxPrepare.ExecuteOrBuilder
-
getArgsCount
public int getArgsCount()repeated .Mysqlx.Datatypes.Any args = 2;- Specified by:
getArgsCountin interfaceMysqlxPrepare.ExecuteOrBuilder
-
getArgs
repeated .Mysqlx.Datatypes.Any args = 2;- Specified by:
getArgsin interfaceMysqlxPrepare.ExecuteOrBuilder
-
getArgsOrBuilder
repeated .Mysqlx.Datatypes.Any args = 2;- Specified by:
getArgsOrBuilderin interfaceMysqlxPrepare.ExecuteOrBuilder
-
hasCompactMetadata
public boolean hasCompactMetadata()optional bool compact_metadata = 3 [default = false];- Specified by:
hasCompactMetadatain interfaceMysqlxPrepare.ExecuteOrBuilder- Returns:
- Whether the compactMetadata field is set.
-
getCompactMetadata
public boolean getCompactMetadata()optional bool compact_metadata = 3 [default = false];- Specified by:
getCompactMetadatain interfaceMysqlxPrepare.ExecuteOrBuilder- Returns:
- The compactMetadata.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
java.io.IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(java.lang.Object obj)- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static MysqlxPrepare.Execute parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MysqlxPrepare.Execute parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MysqlxPrepare.Execute parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MysqlxPrepare.Execute parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MysqlxPrepare.Execute parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MysqlxPrepare.Execute parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static MysqlxPrepare.Execute parseFrom(java.io.InputStream input) throws java.io.IOException- Throws:
java.io.IOException
-
parseFrom
public static MysqlxPrepare.Execute parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException- Throws:
java.io.IOException
-
parseDelimitedFrom
public static MysqlxPrepare.Execute parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException- Throws:
java.io.IOException
-
parseDelimitedFrom
public static MysqlxPrepare.Execute parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException- Throws:
java.io.IOException
-
parseFrom
public static MysqlxPrepare.Execute parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException- Throws:
java.io.IOException
-
parseFrom
public static MysqlxPrepare.Execute parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException- Throws:
java.io.IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected MysqlxPrepare.Execute.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-