类 MysqlxCrud.Insert
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.mysql.cj.x.protobuf.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 typeMysqlx.Crud.Insert- 另请参阅:
- 序列化表格
-
-
嵌套类概要
嵌套类 修饰符和类型 类 说明 static classMysqlxCrud.Insert.BuilderInsert documents/rows into a collection/table @returns @ref Mysqlx::Resultsetstatic classMysqlxCrud.Insert.TypedRowset of fields to insert as a one rowstatic interfaceMysqlxCrud.Insert.TypedRowOrBuilder-
从类继承的嵌套类/接口 com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
字段概要
字段 修饰符和类型 字段 说明 static intARGS_FIELD_NUMBERstatic intCOLLECTION_FIELD_NUMBERstatic intDATA_MODEL_FIELD_NUMBERstatic com.google.protobuf.Parser<MysqlxCrud.Insert>PARSER已过时。static intPROJECTION_FIELD_NUMBERstatic intROW_FIELD_NUMBERstatic intUPSERT_FIELD_NUMBER
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 booleanequals(Object obj)MysqlxDatatypes.ScalargetArgs(int index)values for parameters used in row expressionsintgetArgsCount()values for parameters used in row expressionsList<MysqlxDatatypes.Scalar>getArgsList()values for parameters used in row expressionsMysqlxDatatypes.ScalarOrBuildergetArgsOrBuilder(int index)values for parameters used in row expressionsList<? extends MysqlxDatatypes.ScalarOrBuilder>getArgsOrBuilderList()values for parameters used in row expressionsMysqlxCrud.CollectiongetCollection()collection to insert intoMysqlxCrud.CollectionOrBuildergetCollectionOrBuilder()collection to insert intoMysqlxCrud.DataModelgetDataModel()data model that the operations refer tostatic MysqlxCrud.InsertgetDefaultInstance()MysqlxCrud.InsertgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Parser<MysqlxCrud.Insert>getParserForType()MysqlxCrud.ColumngetProjection(int index)name of the columns to insert data into (empty if data_model is DOCUMENT)intgetProjectionCount()name of the columns to insert data into (empty if data_model is DOCUMENT)List<MysqlxCrud.Column>getProjectionList()name of the columns to insert data into (empty if data_model is DOCUMENT)MysqlxCrud.ColumnOrBuildergetProjectionOrBuilder(int index)name of the columns to insert data into (empty if data_model is DOCUMENT)List<? extends MysqlxCrud.ColumnOrBuilder>getProjectionOrBuilderList()name of the columns to insert data into (empty if data_model is DOCUMENT)MysqlxCrud.Insert.TypedRowgetRow(int index)set of rows to insert into the collection/table (a single expression with a JSON document literal or an OBJECT expression)intgetRowCount()set of rows to insert into the collection/table (a single expression with a JSON document literal or an OBJECT expression)List<MysqlxCrud.Insert.TypedRow>getRowList()set of rows to insert into the collection/table (a single expression with a JSON document literal or an OBJECT expression)MysqlxCrud.Insert.TypedRowOrBuildergetRowOrBuilder(int index)set of rows to insert into the collection/table (a single expression with a JSON document literal or an OBJECT expression)List<? extends MysqlxCrud.Insert.TypedRowOrBuilder>getRowOrBuilderList()set of rows to insert into the collection/table (a single expression with a JSON document literal or an OBJECT expression)intgetSerializedSize()com.google.protobuf.UnknownFieldSetgetUnknownFields()booleangetUpsert()true if this should be treated as an Upsert (that is, update on duplicate key)booleanhasCollection()collection to insert intobooleanhasDataModel()data model that the operations refer tointhashCode()booleanhasUpsert()true if this should be treated as an Upsert (that is, update on duplicate key)protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static MysqlxCrud.Insert.BuildernewBuilder()static MysqlxCrud.Insert.BuildernewBuilder(MysqlxCrud.Insert prototype)MysqlxCrud.Insert.BuildernewBuilderForType()protected MysqlxCrud.Insert.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static MysqlxCrud.InsertparseDelimitedFrom(InputStream input)static MysqlxCrud.InsertparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static MysqlxCrud.InsertparseFrom(byte[] data)static MysqlxCrud.InsertparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static MysqlxCrud.InsertparseFrom(com.google.protobuf.ByteString data)static MysqlxCrud.InsertparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static MysqlxCrud.InsertparseFrom(com.google.protobuf.CodedInputStream input)static MysqlxCrud.InsertparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static MysqlxCrud.InsertparseFrom(InputStream input)static MysqlxCrud.InsertparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static MysqlxCrud.InsertparseFrom(ByteBuffer data)static MysqlxCrud.InsertparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<MysqlxCrud.Insert>parser()MysqlxCrud.Insert.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
从类继承的方法 com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
从类继承的方法 com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
-
-
-
字段详细资料
-
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
- 另请参阅:
- 常量字段值
-
PARSER
@Deprecated public static final com.google.protobuf.Parser<MysqlxCrud.Insert> PARSER
已过时。
-
-
方法详细资料
-
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.
-
getCollection
public MysqlxCrud.Collection getCollection()
collection to insert into
required .Mysqlx.Crud.Collection collection = 1;- 指定者:
getCollection在接口中MysqlxCrud.InsertOrBuilder- 返回:
- The collection.
-
getCollectionOrBuilder
public MysqlxCrud.CollectionOrBuilder getCollectionOrBuilder()
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.
-
getDataModel
public MysqlxCrud.DataModel getDataModel()
data model that the operations refer to
optional .Mysqlx.Crud.DataModel data_model = 2;- 指定者:
getDataModel在接口中MysqlxCrud.InsertOrBuilder- 返回:
- The dataModel.
-
getProjectionList
public List<MysqlxCrud.Column> getProjectionList()
name of the columns to insert data into (empty if data_model is DOCUMENT)
repeated .Mysqlx.Crud.Column projection = 3;- 指定者:
getProjectionList在接口中MysqlxCrud.InsertOrBuilder
-
getProjectionOrBuilderList
public List<? extends MysqlxCrud.ColumnOrBuilder> getProjectionOrBuilderList()
name of the columns to insert data into (empty if data_model is DOCUMENT)
repeated .Mysqlx.Crud.Column projection = 3;
-
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
-
getProjection
public MysqlxCrud.Column getProjection(int index)
name of the columns to insert data into (empty if data_model is DOCUMENT)
repeated .Mysqlx.Crud.Column projection = 3;- 指定者:
getProjection在接口中MysqlxCrud.InsertOrBuilder
-
getProjectionOrBuilder
public MysqlxCrud.ColumnOrBuilder getProjectionOrBuilder(int index)
name of the columns to insert data into (empty if data_model is DOCUMENT)
repeated .Mysqlx.Crud.Column projection = 3;
-
getRowList
public List<MysqlxCrud.Insert.TypedRow> getRowList()
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;- 指定者:
getRowList在接口中MysqlxCrud.InsertOrBuilder
-
getRowOrBuilderList
public List<? extends MysqlxCrud.Insert.TypedRowOrBuilder> getRowOrBuilderList()
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
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
-
getRowOrBuilder
public MysqlxCrud.Insert.TypedRowOrBuilder getRowOrBuilder(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;- 指定者:
getRowOrBuilder在接口中MysqlxCrud.InsertOrBuilder
-
getArgsList
public List<MysqlxDatatypes.Scalar> getArgsList()
values for parameters used in row expressions
repeated .Mysqlx.Datatypes.Scalar args = 5;- 指定者:
getArgsList在接口中MysqlxCrud.InsertOrBuilder
-
getArgsOrBuilderList
public List<? extends MysqlxDatatypes.ScalarOrBuilder> getArgsOrBuilderList()
values for parameters used in row expressions
repeated .Mysqlx.Datatypes.Scalar args = 5;
-
getArgsCount
public int getArgsCount()
values for parameters used in row expressions
repeated .Mysqlx.Datatypes.Scalar args = 5;- 指定者:
getArgsCount在接口中MysqlxCrud.InsertOrBuilder
-
getArgs
public MysqlxDatatypes.Scalar getArgs(int index)
values for parameters used in row expressions
repeated .Mysqlx.Datatypes.Scalar args = 5;- 指定者:
getArgs在接口中MysqlxCrud.InsertOrBuilder
-
getArgsOrBuilder
public MysqlxDatatypes.ScalarOrBuilder getArgsOrBuilder(int index)
values for parameters used in row expressions
repeated .Mysqlx.Datatypes.Scalar args = 5;- 指定者:
getArgsOrBuilder在接口中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(InputStream input) throws IOException
- 抛出:
IOException
-
parseFrom
public static MysqlxCrud.Insert parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- 抛出:
IOException
-
parseDelimitedFrom
public static MysqlxCrud.Insert parseDelimitedFrom(InputStream input) throws IOException
- 抛出:
IOException
-
parseDelimitedFrom
public static MysqlxCrud.Insert parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- 抛出:
IOException
-
parseFrom
public static MysqlxCrud.Insert parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- 抛出:
IOException
-
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
-
newBuilder
public static MysqlxCrud.Insert.Builder newBuilder()
-
newBuilder
public static MysqlxCrud.Insert.Builder newBuilder(MysqlxCrud.Insert prototype)
-
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
-
getDefaultInstance
public static MysqlxCrud.Insert getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<MysqlxCrud.Insert> parser()
-
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
-
-