public static final class MysqlxCursor.Open.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<MysqlxCursor.Open.Builder> implements MysqlxCursor.OpenOrBuilder
Open a cursor @startuml client -> server: Open alt Success ... none or partial Resultsets or full Resultsets ... client <- server: StmtExecuteOk else Failure client <- server: Error end alt @enduml @returns @ref Mysqlx::OkProtobuf type
Mysqlx.Cursor.Open| Modifier and Type | Method and Description |
|---|---|
MysqlxCursor.Open.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
MysqlxCursor.Open |
build() |
MysqlxCursor.Open |
buildPartial() |
MysqlxCursor.Open.Builder |
clear() |
MysqlxCursor.Open.Builder |
clearCursorId()
client-side assigned cursor ID; the ID is going to represent
the new cursor and assigned to it the statement
|
MysqlxCursor.Open.Builder |
clearFetchRows()
number of rows that should be retrieved from sequential cursor
|
MysqlxCursor.Open.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
MysqlxCursor.Open.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
MysqlxCursor.Open.Builder |
clearStmt()
statement for which the resultset is going to be iterated through by the cursor
|
MysqlxCursor.Open.Builder |
clone() |
int |
getCursorId()
client-side assigned cursor ID; the ID is going to represent
the new cursor and assigned to it the statement
|
MysqlxCursor.Open |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
long |
getFetchRows()
number of rows that should be retrieved from sequential cursor
|
MysqlxCursor.Open.OneOfMessage |
getStmt()
statement for which the resultset is going to be iterated through by the cursor
|
MysqlxCursor.Open.OneOfMessage.Builder |
getStmtBuilder()
statement for which the resultset is going to be iterated through by the cursor
|
MysqlxCursor.Open.OneOfMessageOrBuilder |
getStmtOrBuilder()
statement for which the resultset is going to be iterated through by the cursor
|
boolean |
hasCursorId()
client-side assigned cursor ID; the ID is going to represent
the new cursor and assigned to it the statement
|
boolean |
hasFetchRows()
number of rows that should be retrieved from sequential cursor
|
boolean |
hasStmt()
statement for which the resultset is going to be iterated through by the cursor
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
MysqlxCursor.Open.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
MysqlxCursor.Open.Builder |
mergeFrom(com.google.protobuf.Message other) |
MysqlxCursor.Open.Builder |
mergeFrom(MysqlxCursor.Open other) |
MysqlxCursor.Open.Builder |
mergeStmt(MysqlxCursor.Open.OneOfMessage value)
statement for which the resultset is going to be iterated through by the cursor
|
MysqlxCursor.Open.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
MysqlxCursor.Open.Builder |
setCursorId(int value)
client-side assigned cursor ID; the ID is going to represent
the new cursor and assigned to it the statement
|
MysqlxCursor.Open.Builder |
setFetchRows(long value)
number of rows that should be retrieved from sequential cursor
|
MysqlxCursor.Open.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
MysqlxCursor.Open.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
MysqlxCursor.Open.Builder |
setStmt(MysqlxCursor.Open.OneOfMessage.Builder builderForValue)
statement for which the resultset is going to be iterated through by the cursor
|
MysqlxCursor.Open.Builder |
setStmt(MysqlxCursor.Open.OneOfMessage value)
statement for which the resultset is going to be iterated through by the cursor
|
MysqlxCursor.Open.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<MysqlxCursor.Open.Builder>public MysqlxCursor.Open.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<MysqlxCursor.Open.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<MysqlxCursor.Open.Builder>public MysqlxCursor.Open getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic MysqlxCursor.Open build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic MysqlxCursor.Open buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic MysqlxCursor.Open.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<MysqlxCursor.Open.Builder>public MysqlxCursor.Open.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<MysqlxCursor.Open.Builder>public MysqlxCursor.Open.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<MysqlxCursor.Open.Builder>public MysqlxCursor.Open.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<MysqlxCursor.Open.Builder>public MysqlxCursor.Open.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<MysqlxCursor.Open.Builder>public MysqlxCursor.Open.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<MysqlxCursor.Open.Builder>public MysqlxCursor.Open.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<MysqlxCursor.Open.Builder>public MysqlxCursor.Open.Builder mergeFrom(MysqlxCursor.Open other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<MysqlxCursor.Open.Builder>public MysqlxCursor.Open.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<MysqlxCursor.Open.Builder>java.io.IOExceptionpublic boolean hasCursorId()
client-side assigned cursor ID; the ID is going to represent the new cursor and assigned to it the statement
required uint32 cursor_id = 1;hasCursorId in interface MysqlxCursor.OpenOrBuilderpublic int getCursorId()
client-side assigned cursor ID; the ID is going to represent the new cursor and assigned to it the statement
required uint32 cursor_id = 1;getCursorId in interface MysqlxCursor.OpenOrBuilderpublic MysqlxCursor.Open.Builder setCursorId(int value)
client-side assigned cursor ID; the ID is going to represent the new cursor and assigned to it the statement
required uint32 cursor_id = 1;value - The cursorId to set.public MysqlxCursor.Open.Builder clearCursorId()
client-side assigned cursor ID; the ID is going to represent the new cursor and assigned to it the statement
required uint32 cursor_id = 1;public boolean hasStmt()
statement for which the resultset is going to be iterated through by the cursor
required .Mysqlx.Cursor.Open.OneOfMessage stmt = 4;hasStmt in interface MysqlxCursor.OpenOrBuilderpublic MysqlxCursor.Open.OneOfMessage getStmt()
statement for which the resultset is going to be iterated through by the cursor
required .Mysqlx.Cursor.Open.OneOfMessage stmt = 4;getStmt in interface MysqlxCursor.OpenOrBuilderpublic MysqlxCursor.Open.Builder setStmt(MysqlxCursor.Open.OneOfMessage value)
statement for which the resultset is going to be iterated through by the cursor
required .Mysqlx.Cursor.Open.OneOfMessage stmt = 4;public MysqlxCursor.Open.Builder setStmt(MysqlxCursor.Open.OneOfMessage.Builder builderForValue)
statement for which the resultset is going to be iterated through by the cursor
required .Mysqlx.Cursor.Open.OneOfMessage stmt = 4;public MysqlxCursor.Open.Builder mergeStmt(MysqlxCursor.Open.OneOfMessage value)
statement for which the resultset is going to be iterated through by the cursor
required .Mysqlx.Cursor.Open.OneOfMessage stmt = 4;public MysqlxCursor.Open.Builder clearStmt()
statement for which the resultset is going to be iterated through by the cursor
required .Mysqlx.Cursor.Open.OneOfMessage stmt = 4;public MysqlxCursor.Open.OneOfMessage.Builder getStmtBuilder()
statement for which the resultset is going to be iterated through by the cursor
required .Mysqlx.Cursor.Open.OneOfMessage stmt = 4;public MysqlxCursor.Open.OneOfMessageOrBuilder getStmtOrBuilder()
statement for which the resultset is going to be iterated through by the cursor
required .Mysqlx.Cursor.Open.OneOfMessage stmt = 4;getStmtOrBuilder in interface MysqlxCursor.OpenOrBuilderpublic boolean hasFetchRows()
number of rows that should be retrieved from sequential cursor
optional uint64 fetch_rows = 5;hasFetchRows in interface MysqlxCursor.OpenOrBuilderpublic long getFetchRows()
number of rows that should be retrieved from sequential cursor
optional uint64 fetch_rows = 5;getFetchRows in interface MysqlxCursor.OpenOrBuilderpublic MysqlxCursor.Open.Builder setFetchRows(long value)
number of rows that should be retrieved from sequential cursor
optional uint64 fetch_rows = 5;value - The fetchRows to set.public MysqlxCursor.Open.Builder clearFetchRows()
number of rows that should be retrieved from sequential cursor
optional uint64 fetch_rows = 5;public final MysqlxCursor.Open.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<MysqlxCursor.Open.Builder>public final MysqlxCursor.Open.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<MysqlxCursor.Open.Builder>