public static final class MysqlxCursor.Fetch.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<MysqlxCursor.Fetch.Builder> implements MysqlxCursor.FetchOrBuilder
Fetch next portion of data from a cursor
.. uml::
client -> server: Fetch
alt Success
... none or partial Resultsets or full Resultsets ...
client <- server: StmtExecuteOk
else
client <- server: Error
end
:param cursor_id: client side assigned cursor id, must be already open
:param fetch_rows: number of rows which should be retrieved from sequential cursor
Protobuf type Mysqlx.Cursor.Fetch| Modifier and Type | Method and Description |
|---|---|
MysqlxCursor.Fetch.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
MysqlxCursor.Fetch |
build() |
MysqlxCursor.Fetch |
buildPartial() |
MysqlxCursor.Fetch.Builder |
clear() |
MysqlxCursor.Fetch.Builder |
clearCursorId()
required uint32 cursor_id = 1; |
MysqlxCursor.Fetch.Builder |
clearFetchRows()
optional uint64 fetch_rows = 5; |
MysqlxCursor.Fetch.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
MysqlxCursor.Fetch.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
MysqlxCursor.Fetch.Builder |
clone() |
int |
getCursorId()
required uint32 cursor_id = 1; |
MysqlxCursor.Fetch |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
long |
getFetchRows()
optional uint64 fetch_rows = 5; |
boolean |
hasCursorId()
required uint32 cursor_id = 1; |
boolean |
hasFetchRows()
optional uint64 fetch_rows = 5; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
MysqlxCursor.Fetch.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
MysqlxCursor.Fetch.Builder |
mergeFrom(com.google.protobuf.Message other) |
MysqlxCursor.Fetch.Builder |
mergeFrom(MysqlxCursor.Fetch other) |
MysqlxCursor.Fetch.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
MysqlxCursor.Fetch.Builder |
setCursorId(int value)
required uint32 cursor_id = 1; |
MysqlxCursor.Fetch.Builder |
setFetchRows(long value)
optional uint64 fetch_rows = 5; |
MysqlxCursor.Fetch.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
MysqlxCursor.Fetch.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
MysqlxCursor.Fetch.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.Fetch.Builder>public MysqlxCursor.Fetch.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.Fetch.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.Fetch.Builder>public MysqlxCursor.Fetch getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic MysqlxCursor.Fetch build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic MysqlxCursor.Fetch buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic MysqlxCursor.Fetch.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.Fetch.Builder>public MysqlxCursor.Fetch.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.Fetch.Builder>public MysqlxCursor.Fetch.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<MysqlxCursor.Fetch.Builder>public MysqlxCursor.Fetch.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<MysqlxCursor.Fetch.Builder>public MysqlxCursor.Fetch.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.Fetch.Builder>public MysqlxCursor.Fetch.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.Fetch.Builder>public MysqlxCursor.Fetch.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<MysqlxCursor.Fetch.Builder>public MysqlxCursor.Fetch.Builder mergeFrom(MysqlxCursor.Fetch other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<MysqlxCursor.Fetch.Builder>public MysqlxCursor.Fetch.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.Fetch.Builder>java.io.IOExceptionpublic boolean hasCursorId()
required uint32 cursor_id = 1;hasCursorId in interface MysqlxCursor.FetchOrBuilderpublic int getCursorId()
required uint32 cursor_id = 1;getCursorId in interface MysqlxCursor.FetchOrBuilderpublic MysqlxCursor.Fetch.Builder setCursorId(int value)
required uint32 cursor_id = 1;value - The cursorId to set.public MysqlxCursor.Fetch.Builder clearCursorId()
required uint32 cursor_id = 1;public boolean hasFetchRows()
optional uint64 fetch_rows = 5;hasFetchRows in interface MysqlxCursor.FetchOrBuilderpublic long getFetchRows()
optional uint64 fetch_rows = 5;getFetchRows in interface MysqlxCursor.FetchOrBuilderpublic MysqlxCursor.Fetch.Builder setFetchRows(long value)
optional uint64 fetch_rows = 5;value - The fetchRows to set.public MysqlxCursor.Fetch.Builder clearFetchRows()
optional uint64 fetch_rows = 5;public final MysqlxCursor.Fetch.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<MysqlxCursor.Fetch.Builder>public final MysqlxCursor.Fetch.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<MysqlxCursor.Fetch.Builder>