类 MysqlxCursor.Open.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<MysqlxCursor.Open.Builder>
-
- com.mysql.cj.x.protobuf.MysqlxCursor.Open.Builder
-
- 所有已实现的接口:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,MysqlxCursor.OpenOrBuilder,Cloneable
- 封闭类:
- MysqlxCursor.Open
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::Ok
Protobuf typeMysqlx.Cursor.Open
-
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 MysqlxCursor.Open.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)MysqlxCursor.Openbuild()MysqlxCursor.OpenbuildPartial()MysqlxCursor.Open.Builderclear()MysqlxCursor.Open.BuilderclearCursorId()client-side assigned cursor ID; the ID is going to represent the new cursor and assigned to it the statementMysqlxCursor.Open.BuilderclearFetchRows()number of rows that should be retrieved from sequential cursorMysqlxCursor.Open.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)MysqlxCursor.Open.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)MysqlxCursor.Open.BuilderclearStmt()statement for which the resultset is going to be iterated through by the cursorMysqlxCursor.Open.Builderclone()intgetCursorId()client-side assigned cursor ID; the ID is going to represent the new cursor and assigned to it the statementMysqlxCursor.OpengetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()longgetFetchRows()number of rows that should be retrieved from sequential cursorMysqlxCursor.Open.OneOfMessagegetStmt()statement for which the resultset is going to be iterated through by the cursorMysqlxCursor.Open.OneOfMessage.BuildergetStmtBuilder()statement for which the resultset is going to be iterated through by the cursorMysqlxCursor.Open.OneOfMessageOrBuildergetStmtOrBuilder()statement for which the resultset is going to be iterated through by the cursorbooleanhasCursorId()client-side assigned cursor ID; the ID is going to represent the new cursor and assigned to it the statementbooleanhasFetchRows()number of rows that should be retrieved from sequential cursorbooleanhasStmt()statement for which the resultset is going to be iterated through by the cursorprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()MysqlxCursor.Open.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)MysqlxCursor.Open.BuildermergeFrom(com.google.protobuf.Message other)MysqlxCursor.Open.BuildermergeFrom(MysqlxCursor.Open other)MysqlxCursor.Open.BuildermergeStmt(MysqlxCursor.Open.OneOfMessage value)statement for which the resultset is going to be iterated through by the cursorMysqlxCursor.Open.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)MysqlxCursor.Open.BuildersetCursorId(int value)client-side assigned cursor ID; the ID is going to represent the new cursor and assigned to it the statementMysqlxCursor.Open.BuildersetFetchRows(long value)number of rows that should be retrieved from sequential cursorMysqlxCursor.Open.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)MysqlxCursor.Open.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)MysqlxCursor.Open.BuildersetStmt(MysqlxCursor.Open.OneOfMessage value)statement for which the resultset is going to be iterated through by the cursorMysqlxCursor.Open.BuildersetStmt(MysqlxCursor.Open.OneOfMessage.Builder builderForValue)statement for which the resultset is going to be iterated through by the cursorMysqlxCursor.Open.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
从类继承的方法 com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
从类继承的方法 com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
-
-
-
方法详细资料
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- 指定者:
internalGetFieldAccessorTable在类中com.google.protobuf.GeneratedMessageV3.Builder<MysqlxCursor.Open.Builder>
-
clear
public MysqlxCursor.Open.Builder clear()
- 指定者:
clear在接口中com.google.protobuf.Message.Builder- 指定者:
clear在接口中com.google.protobuf.MessageLite.Builder- 覆盖:
clear在类中com.google.protobuf.GeneratedMessageV3.Builder<MysqlxCursor.Open.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- 指定者:
getDescriptorForType在接口中com.google.protobuf.Message.Builder- 指定者:
getDescriptorForType在接口中com.google.protobuf.MessageOrBuilder- 覆盖:
getDescriptorForType在类中com.google.protobuf.GeneratedMessageV3.Builder<MysqlxCursor.Open.Builder>
-
getDefaultInstanceForType
public MysqlxCursor.Open getDefaultInstanceForType()
- 指定者:
getDefaultInstanceForType在接口中com.google.protobuf.MessageLiteOrBuilder- 指定者:
getDefaultInstanceForType在接口中com.google.protobuf.MessageOrBuilder
-
build
public MysqlxCursor.Open build()
- 指定者:
build在接口中com.google.protobuf.Message.Builder- 指定者:
build在接口中com.google.protobuf.MessageLite.Builder
-
buildPartial
public MysqlxCursor.Open buildPartial()
- 指定者:
buildPartial在接口中com.google.protobuf.Message.Builder- 指定者:
buildPartial在接口中com.google.protobuf.MessageLite.Builder
-
clone
public MysqlxCursor.Open.Builder clone()
- 指定者:
clone在接口中com.google.protobuf.Message.Builder- 指定者:
clone在接口中com.google.protobuf.MessageLite.Builder- 覆盖:
clone在类中com.google.protobuf.GeneratedMessageV3.Builder<MysqlxCursor.Open.Builder>
-
setField
public MysqlxCursor.Open.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- 指定者:
setField在接口中com.google.protobuf.Message.Builder- 覆盖:
setField在类中com.google.protobuf.GeneratedMessageV3.Builder<MysqlxCursor.Open.Builder>
-
clearField
public MysqlxCursor.Open.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- 指定者:
clearField在接口中com.google.protobuf.Message.Builder- 覆盖:
clearField在类中com.google.protobuf.GeneratedMessageV3.Builder<MysqlxCursor.Open.Builder>
-
clearOneof
public MysqlxCursor.Open.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- 指定者:
clearOneof在接口中com.google.protobuf.Message.Builder- 覆盖:
clearOneof在类中com.google.protobuf.GeneratedMessageV3.Builder<MysqlxCursor.Open.Builder>
-
setRepeatedField
public MysqlxCursor.Open.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- 指定者:
setRepeatedField在接口中com.google.protobuf.Message.Builder- 覆盖:
setRepeatedField在类中com.google.protobuf.GeneratedMessageV3.Builder<MysqlxCursor.Open.Builder>
-
addRepeatedField
public MysqlxCursor.Open.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- 指定者:
addRepeatedField在接口中com.google.protobuf.Message.Builder- 覆盖:
addRepeatedField在类中com.google.protobuf.GeneratedMessageV3.Builder<MysqlxCursor.Open.Builder>
-
mergeFrom
public MysqlxCursor.Open.Builder mergeFrom(com.google.protobuf.Message other)
- 指定者:
mergeFrom在接口中com.google.protobuf.Message.Builder- 覆盖:
mergeFrom在类中com.google.protobuf.AbstractMessage.Builder<MysqlxCursor.Open.Builder>
-
mergeFrom
public MysqlxCursor.Open.Builder mergeFrom(MysqlxCursor.Open other)
-
isInitialized
public final boolean isInitialized()
- 指定者:
isInitialized在接口中com.google.protobuf.MessageLiteOrBuilder- 覆盖:
isInitialized在类中com.google.protobuf.GeneratedMessageV3.Builder<MysqlxCursor.Open.Builder>
-
mergeFrom
public MysqlxCursor.Open.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- 指定者:
mergeFrom在接口中com.google.protobuf.Message.Builder- 指定者:
mergeFrom在接口中com.google.protobuf.MessageLite.Builder- 覆盖:
mergeFrom在类中com.google.protobuf.AbstractMessage.Builder<MysqlxCursor.Open.Builder>- 抛出:
IOException
-
hasCursorId
public 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在接口中MysqlxCursor.OpenOrBuilder- 返回:
- Whether the cursorId field is set.
-
getCursorId
public 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在接口中MysqlxCursor.OpenOrBuilder- 返回:
- The cursorId.
-
setCursorId
public 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.- 返回:
- This builder for chaining.
-
clearCursorId
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;- 返回:
- This builder for chaining.
-
hasStmt
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在接口中MysqlxCursor.OpenOrBuilder- 返回:
- Whether the stmt field is set.
-
getStmt
public 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在接口中MysqlxCursor.OpenOrBuilder- 返回:
- The stmt.
-
setStmt
public 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;
-
setStmt
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;
-
mergeStmt
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;
-
clearStmt
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;
-
getStmtBuilder
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;
-
getStmtOrBuilder
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在接口中MysqlxCursor.OpenOrBuilder
-
hasFetchRows
public boolean hasFetchRows()
number of rows that should be retrieved from sequential cursor
optional uint64 fetch_rows = 5;- 指定者:
hasFetchRows在接口中MysqlxCursor.OpenOrBuilder- 返回:
- Whether the fetchRows field is set.
-
getFetchRows
public long getFetchRows()
number of rows that should be retrieved from sequential cursor
optional uint64 fetch_rows = 5;- 指定者:
getFetchRows在接口中MysqlxCursor.OpenOrBuilder- 返回:
- The fetchRows.
-
setFetchRows
public 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.- 返回:
- This builder for chaining.
-
clearFetchRows
public MysqlxCursor.Open.Builder clearFetchRows()
number of rows that should be retrieved from sequential cursor
optional uint64 fetch_rows = 5;- 返回:
- This builder for chaining.
-
setUnknownFields
public final MysqlxCursor.Open.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- 指定者:
setUnknownFields在接口中com.google.protobuf.Message.Builder- 覆盖:
setUnknownFields在类中com.google.protobuf.GeneratedMessageV3.Builder<MysqlxCursor.Open.Builder>
-
mergeUnknownFields
public final MysqlxCursor.Open.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- 指定者:
mergeUnknownFields在接口中com.google.protobuf.Message.Builder- 覆盖:
mergeUnknownFields在类中com.google.protobuf.GeneratedMessageV3.Builder<MysqlxCursor.Open.Builder>
-
-