类 MysqlxCrud.Insert.Builder

  • 所有已实现的接口:
    com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, MysqlxCrud.InsertOrBuilder, Cloneable
    封闭类:
    MysqlxCrud.Insert

    public static final class MysqlxCrud.Insert.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<MysqlxCrud.Insert.Builder>
    implements MysqlxCrud.InsertOrBuilder
    
    Insert documents/rows into a collection/table
    @returns @ref Mysqlx::Resultset
     
    Protobuf type Mysqlx.Crud.Insert
    • 方法详细资料

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        指定者:
        internalGetFieldAccessorTable 在类中 com.google.protobuf.GeneratedMessageV3.Builder<MysqlxCrud.Insert.Builder>
      • clear

        public MysqlxCrud.Insert.Builder clear()
        指定者:
        clear 在接口中 com.google.protobuf.Message.Builder
        指定者:
        clear 在接口中 com.google.protobuf.MessageLite.Builder
        覆盖:
        clear 在类中 com.google.protobuf.GeneratedMessageV3.Builder<MysqlxCrud.Insert.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<MysqlxCrud.Insert.Builder>
      • getDefaultInstanceForType

        public MysqlxCrud.Insert getDefaultInstanceForType()
        指定者:
        getDefaultInstanceForType 在接口中 com.google.protobuf.MessageLiteOrBuilder
        指定者:
        getDefaultInstanceForType 在接口中 com.google.protobuf.MessageOrBuilder
      • build

        public MysqlxCrud.Insert build()
        指定者:
        build 在接口中 com.google.protobuf.Message.Builder
        指定者:
        build 在接口中 com.google.protobuf.MessageLite.Builder
      • buildPartial

        public MysqlxCrud.Insert buildPartial()
        指定者:
        buildPartial 在接口中 com.google.protobuf.Message.Builder
        指定者:
        buildPartial 在接口中 com.google.protobuf.MessageLite.Builder
      • clone

        public MysqlxCrud.Insert.Builder clone()
        指定者:
        clone 在接口中 com.google.protobuf.Message.Builder
        指定者:
        clone 在接口中 com.google.protobuf.MessageLite.Builder
        覆盖:
        clone 在类中 com.google.protobuf.GeneratedMessageV3.Builder<MysqlxCrud.Insert.Builder>
      • setField

        public MysqlxCrud.Insert.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                  Object value)
        指定者:
        setField 在接口中 com.google.protobuf.Message.Builder
        覆盖:
        setField 在类中 com.google.protobuf.GeneratedMessageV3.Builder<MysqlxCrud.Insert.Builder>
      • clearField

        public MysqlxCrud.Insert.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        指定者:
        clearField 在接口中 com.google.protobuf.Message.Builder
        覆盖:
        clearField 在类中 com.google.protobuf.GeneratedMessageV3.Builder<MysqlxCrud.Insert.Builder>
      • clearOneof

        public MysqlxCrud.Insert.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        指定者:
        clearOneof 在接口中 com.google.protobuf.Message.Builder
        覆盖:
        clearOneof 在类中 com.google.protobuf.GeneratedMessageV3.Builder<MysqlxCrud.Insert.Builder>
      • setRepeatedField

        public MysqlxCrud.Insert.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                          int index,
                                                          Object value)
        指定者:
        setRepeatedField 在接口中 com.google.protobuf.Message.Builder
        覆盖:
        setRepeatedField 在类中 com.google.protobuf.GeneratedMessageV3.Builder<MysqlxCrud.Insert.Builder>
      • addRepeatedField

        public MysqlxCrud.Insert.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                          Object value)
        指定者:
        addRepeatedField 在接口中 com.google.protobuf.Message.Builder
        覆盖:
        addRepeatedField 在类中 com.google.protobuf.GeneratedMessageV3.Builder<MysqlxCrud.Insert.Builder>
      • mergeFrom

        public MysqlxCrud.Insert.Builder mergeFrom​(com.google.protobuf.Message other)
        指定者:
        mergeFrom 在接口中 com.google.protobuf.Message.Builder
        覆盖:
        mergeFrom 在类中 com.google.protobuf.AbstractMessage.Builder<MysqlxCrud.Insert.Builder>
      • isInitialized

        public final boolean isInitialized()
        指定者:
        isInitialized 在接口中 com.google.protobuf.MessageLiteOrBuilder
        覆盖:
        isInitialized 在类中 com.google.protobuf.GeneratedMessageV3.Builder<MysqlxCrud.Insert.Builder>
      • mergeFrom

        public MysqlxCrud.Insert.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<MysqlxCrud.Insert.Builder>
        抛出:
        IOException
      • hasCollection

        public boolean hasCollection()
         collection to insert into 
         
        required .Mysqlx.Crud.Collection collection = 1;
        指定者:
        hasCollection 在接口中 MysqlxCrud.InsertOrBuilder
        返回:
        Whether the collection field is set.
      • clearCollection

        public MysqlxCrud.Insert.Builder clearCollection()
         collection to insert into 
         
        required .Mysqlx.Crud.Collection collection = 1;
      • getCollectionBuilder

        public MysqlxCrud.Collection.Builder getCollectionBuilder()
         collection to insert into 
         
        required .Mysqlx.Crud.Collection collection = 1;
      • hasDataModel

        public boolean hasDataModel()
         data model that the operations refer to 
         
        optional .Mysqlx.Crud.DataModel data_model = 2;
        指定者:
        hasDataModel 在接口中 MysqlxCrud.InsertOrBuilder
        返回:
        Whether the dataModel field is set.
      • setDataModel

        public MysqlxCrud.Insert.Builder setDataModel​(MysqlxCrud.DataModel value)
         data model that the operations refer to 
         
        optional .Mysqlx.Crud.DataModel data_model = 2;
        参数:
        value - The dataModel to set.
        返回:
        This builder for chaining.
      • clearDataModel

        public MysqlxCrud.Insert.Builder clearDataModel()
         data model that the operations refer to 
         
        optional .Mysqlx.Crud.DataModel data_model = 2;
        返回:
        This builder for chaining.
      • getProjectionCount

        public int getProjectionCount()
         name of the columns to insert data into
        (empty if data_model is DOCUMENT) 
         
        repeated .Mysqlx.Crud.Column projection = 3;
        指定者:
        getProjectionCount 在接口中 MysqlxCrud.InsertOrBuilder
      • setProjection

        public MysqlxCrud.Insert.Builder setProjection​(int index,
                                                       MysqlxCrud.Column value)
         name of the columns to insert data into
        (empty if data_model is DOCUMENT) 
         
        repeated .Mysqlx.Crud.Column projection = 3;
      • addProjection

        public MysqlxCrud.Insert.Builder addProjection​(MysqlxCrud.Column value)
         name of the columns to insert data into
        (empty if data_model is DOCUMENT) 
         
        repeated .Mysqlx.Crud.Column projection = 3;
      • addProjection

        public MysqlxCrud.Insert.Builder addProjection​(int index,
                                                       MysqlxCrud.Column value)
         name of the columns to insert data into
        (empty if data_model is DOCUMENT) 
         
        repeated .Mysqlx.Crud.Column projection = 3;
      • clearProjection

        public MysqlxCrud.Insert.Builder clearProjection()
         name of the columns to insert data into
        (empty if data_model is DOCUMENT) 
         
        repeated .Mysqlx.Crud.Column projection = 3;
      • removeProjection

        public MysqlxCrud.Insert.Builder removeProjection​(int index)
         name of the columns to insert data into
        (empty if data_model is DOCUMENT) 
         
        repeated .Mysqlx.Crud.Column projection = 3;
      • getProjectionBuilder

        public MysqlxCrud.Column.Builder getProjectionBuilder​(int index)
         name of the columns to insert data into
        (empty if data_model is DOCUMENT) 
         
        repeated .Mysqlx.Crud.Column projection = 3;
      • addProjectionBuilder

        public MysqlxCrud.Column.Builder addProjectionBuilder()
         name of the columns to insert data into
        (empty if data_model is DOCUMENT) 
         
        repeated .Mysqlx.Crud.Column projection = 3;
      • addProjectionBuilder

        public MysqlxCrud.Column.Builder addProjectionBuilder​(int index)
         name of the columns to insert data into
        (empty if data_model is DOCUMENT) 
         
        repeated .Mysqlx.Crud.Column projection = 3;
      • getProjectionBuilderList

        public List<MysqlxCrud.Column.Builder> getProjectionBuilderList()
         name of the columns to insert data into
        (empty if data_model is DOCUMENT) 
         
        repeated .Mysqlx.Crud.Column projection = 3;
      • getRowCount

        public int getRowCount()
         set of rows to insert into the collection/table (a single expression
        with a JSON document literal or an OBJECT expression) 
         
        repeated .Mysqlx.Crud.Insert.TypedRow row = 4;
        指定者:
        getRowCount 在接口中 MysqlxCrud.InsertOrBuilder
      • getRow

        public MysqlxCrud.Insert.TypedRow getRow​(int index)
         set of rows to insert into the collection/table (a single expression
        with a JSON document literal or an OBJECT expression) 
         
        repeated .Mysqlx.Crud.Insert.TypedRow row = 4;
        指定者:
        getRow 在接口中 MysqlxCrud.InsertOrBuilder
      • setRow

        public MysqlxCrud.Insert.Builder setRow​(int index,
                                                MysqlxCrud.Insert.TypedRow value)
         set of rows to insert into the collection/table (a single expression
        with a JSON document literal or an OBJECT expression) 
         
        repeated .Mysqlx.Crud.Insert.TypedRow row = 4;
      • addRow

        public MysqlxCrud.Insert.Builder addRow​(MysqlxCrud.Insert.TypedRow value)
         set of rows to insert into the collection/table (a single expression
        with a JSON document literal or an OBJECT expression) 
         
        repeated .Mysqlx.Crud.Insert.TypedRow row = 4;
      • addRow

        public MysqlxCrud.Insert.Builder addRow​(int index,
                                                MysqlxCrud.Insert.TypedRow value)
         set of rows to insert into the collection/table (a single expression
        with a JSON document literal or an OBJECT expression) 
         
        repeated .Mysqlx.Crud.Insert.TypedRow row = 4;
      • clearRow

        public MysqlxCrud.Insert.Builder clearRow()
         set of rows to insert into the collection/table (a single expression
        with a JSON document literal or an OBJECT expression) 
         
        repeated .Mysqlx.Crud.Insert.TypedRow row = 4;
      • removeRow

        public MysqlxCrud.Insert.Builder removeRow​(int index)
         set of rows to insert into the collection/table (a single expression
        with a JSON document literal or an OBJECT expression) 
         
        repeated .Mysqlx.Crud.Insert.TypedRow row = 4;
      • getRowBuilder

        public MysqlxCrud.Insert.TypedRow.Builder getRowBuilder​(int index)
         set of rows to insert into the collection/table (a single expression
        with a JSON document literal or an OBJECT expression) 
         
        repeated .Mysqlx.Crud.Insert.TypedRow row = 4;
      • addRowBuilder

        public MysqlxCrud.Insert.TypedRow.Builder addRowBuilder()
         set of rows to insert into the collection/table (a single expression
        with a JSON document literal or an OBJECT expression) 
         
        repeated .Mysqlx.Crud.Insert.TypedRow row = 4;
      • addRowBuilder

        public MysqlxCrud.Insert.TypedRow.Builder addRowBuilder​(int index)
         set of rows to insert into the collection/table (a single expression
        with a JSON document literal or an OBJECT expression) 
         
        repeated .Mysqlx.Crud.Insert.TypedRow row = 4;
      • getRowBuilderList

        public List<MysqlxCrud.Insert.TypedRow.Builder> getRowBuilderList()
         set of rows to insert into the collection/table (a single expression
        with a JSON document literal or an OBJECT expression) 
         
        repeated .Mysqlx.Crud.Insert.TypedRow row = 4;
      • getArgsCount

        public int getArgsCount()
         values for parameters used in row expressions 
         
        repeated .Mysqlx.Datatypes.Scalar args = 5;
        指定者:
        getArgsCount 在接口中 MysqlxCrud.InsertOrBuilder
      • clearArgs

        public MysqlxCrud.Insert.Builder clearArgs()
         values for parameters used in row expressions 
         
        repeated .Mysqlx.Datatypes.Scalar args = 5;
      • removeArgs

        public MysqlxCrud.Insert.Builder removeArgs​(int index)
         values for parameters used in row expressions 
         
        repeated .Mysqlx.Datatypes.Scalar args = 5;
      • getArgsBuilder

        public MysqlxDatatypes.Scalar.Builder getArgsBuilder​(int index)
         values for parameters used in row expressions 
         
        repeated .Mysqlx.Datatypes.Scalar args = 5;
      • addArgsBuilder

        public MysqlxDatatypes.Scalar.Builder addArgsBuilder()
         values for parameters used in row expressions 
         
        repeated .Mysqlx.Datatypes.Scalar args = 5;
      • addArgsBuilder

        public MysqlxDatatypes.Scalar.Builder addArgsBuilder​(int index)
         values for parameters used in row expressions 
         
        repeated .Mysqlx.Datatypes.Scalar args = 5;
      • getArgsBuilderList

        public List<MysqlxDatatypes.Scalar.Builder> getArgsBuilderList()
         values for parameters used in row expressions 
         
        repeated .Mysqlx.Datatypes.Scalar args = 5;
      • hasUpsert

        public boolean hasUpsert()
         true if this should be treated as an Upsert
        (that is, update on duplicate key) 
         
        optional bool upsert = 6 [default = false];
        指定者:
        hasUpsert 在接口中 MysqlxCrud.InsertOrBuilder
        返回:
        Whether the upsert field is set.
      • getUpsert

        public boolean getUpsert()
         true if this should be treated as an Upsert
        (that is, update on duplicate key) 
         
        optional bool upsert = 6 [default = false];
        指定者:
        getUpsert 在接口中 MysqlxCrud.InsertOrBuilder
        返回:
        The upsert.
      • setUpsert

        public MysqlxCrud.Insert.Builder setUpsert​(boolean value)
         true if this should be treated as an Upsert
        (that is, update on duplicate key) 
         
        optional bool upsert = 6 [default = false];
        参数:
        value - The upsert to set.
        返回:
        This builder for chaining.
      • clearUpsert

        public MysqlxCrud.Insert.Builder clearUpsert()
         true if this should be treated as an Upsert
        (that is, update on duplicate key) 
         
        optional bool upsert = 6 [default = false];
        返回:
        This builder for chaining.
      • setUnknownFields

        public final MysqlxCrud.Insert.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        指定者:
        setUnknownFields 在接口中 com.google.protobuf.Message.Builder
        覆盖:
        setUnknownFields 在类中 com.google.protobuf.GeneratedMessageV3.Builder<MysqlxCrud.Insert.Builder>
      • mergeUnknownFields

        public final MysqlxCrud.Insert.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        指定者:
        mergeUnknownFields 在接口中 com.google.protobuf.Message.Builder
        覆盖:
        mergeUnknownFields 在类中 com.google.protobuf.GeneratedMessageV3.Builder<MysqlxCrud.Insert.Builder>