类 MysqlxCrud.Insert

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

    public static final class MysqlxCrud.Insert
    extends com.google.protobuf.GeneratedMessageV3
    implements MysqlxCrud.InsertOrBuilder
    
    Insert documents/rows into a collection/table
    @returns @ref Mysqlx::Resultset
     
    Protobuf type Mysqlx.Crud.Insert
    另请参阅:
    序列化表格
    • 字段详细资料

      • COLLECTION_FIELD_NUMBER

        public static final int COLLECTION_FIELD_NUMBER
        另请参阅:
        常量字段值
      • DATA_MODEL_FIELD_NUMBER

        public static final int DATA_MODEL_FIELD_NUMBER
        另请参阅:
        常量字段值
      • PROJECTION_FIELD_NUMBER

        public static final int PROJECTION_FIELD_NUMBER
        另请参阅:
        常量字段值
      • ROW_FIELD_NUMBER

        public static final int ROW_FIELD_NUMBER
        另请参阅:
        常量字段值
      • ARGS_FIELD_NUMBER

        public static final int ARGS_FIELD_NUMBER
        另请参阅:
        常量字段值
      • UPSERT_FIELD_NUMBER

        public static final int UPSERT_FIELD_NUMBER
        另请参阅:
        常量字段值
    • 方法详细资料

      • newInstance

        protected Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        覆盖:
        newInstance 在类中 com.google.protobuf.GeneratedMessageV3
      • getUnknownFields

        public final com.google.protobuf.UnknownFieldSet getUnknownFields()
        指定者:
        getUnknownFields 在接口中 com.google.protobuf.MessageOrBuilder
        覆盖:
        getUnknownFields 在类中 com.google.protobuf.GeneratedMessageV3
      • getDescriptor

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

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        指定者:
        internalGetFieldAccessorTable 在类中 com.google.protobuf.GeneratedMessageV3
      • hasCollection

        public boolean hasCollection()
         collection to insert into 
         
        required .Mysqlx.Crud.Collection collection = 1;
        指定者:
        hasCollection 在接口中 MysqlxCrud.InsertOrBuilder
        返回:
        Whether the collection field is set.
      • 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.
      • 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
      • 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
      • getArgsCount

        public int getArgsCount()
         values for parameters used in row expressions 
         
        repeated .Mysqlx.Datatypes.Scalar args = 5;
        指定者:
        getArgsCount 在接口中 MysqlxCrud.InsertOrBuilder
      • 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.
      • isInitialized

        public final boolean isInitialized()
        指定者:
        isInitialized 在接口中 com.google.protobuf.MessageLiteOrBuilder
        覆盖:
        isInitialized 在类中 com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws IOException
        指定者:
        writeTo 在接口中 com.google.protobuf.MessageLite
        覆盖:
        writeTo 在类中 com.google.protobuf.GeneratedMessageV3
        抛出:
        IOException
      • getSerializedSize

        public int getSerializedSize()
        指定者:
        getSerializedSize 在接口中 com.google.protobuf.MessageLite
        覆盖:
        getSerializedSize 在类中 com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(Object obj)
        指定者:
        equals 在接口中 com.google.protobuf.Message
        覆盖:
        equals 在类中 com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        指定者:
        hashCode 在接口中 com.google.protobuf.Message
        覆盖:
        hashCode 在类中 com.google.protobuf.AbstractMessage
      • parseFrom

        public static MysqlxCrud.Insert parseFrom​(ByteBuffer data)
                                           throws com.google.protobuf.InvalidProtocolBufferException
        抛出:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static MysqlxCrud.Insert parseFrom​(ByteBuffer data,
                                                  com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                           throws com.google.protobuf.InvalidProtocolBufferException
        抛出:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static MysqlxCrud.Insert parseFrom​(com.google.protobuf.ByteString data)
                                           throws com.google.protobuf.InvalidProtocolBufferException
        抛出:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static MysqlxCrud.Insert parseFrom​(com.google.protobuf.ByteString data,
                                                  com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                           throws com.google.protobuf.InvalidProtocolBufferException
        抛出:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static MysqlxCrud.Insert parseFrom​(byte[] data)
                                           throws com.google.protobuf.InvalidProtocolBufferException
        抛出:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static MysqlxCrud.Insert parseFrom​(byte[] data,
                                                  com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                           throws com.google.protobuf.InvalidProtocolBufferException
        抛出:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static MysqlxCrud.Insert parseFrom​(com.google.protobuf.CodedInputStream input,
                                                  com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                           throws IOException
        抛出:
        IOException
      • newBuilderForType

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

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

        protected MysqlxCrud.Insert.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        指定者:
        newBuilderForType 在类中 com.google.protobuf.GeneratedMessageV3
      • getParserForType

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

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