public static final class MysqlxCrud.Insert extends com.google.protobuf.GeneratedMessageV3 implements MysqlxCrud.InsertOrBuilder
Insert documents/rows into a collection/table @returns @ref Mysqlx::ResultsetProtobuf type
Mysqlx.Crud.Insert| Modifier and Type | Class and Description |
|---|---|
static class |
MysqlxCrud.Insert.Builder
Insert documents/rows into a collection/table
@returns @ref Mysqlx::Resultset
|
static class |
MysqlxCrud.Insert.TypedRow
set of fields to insert as a one row
|
static interface |
MysqlxCrud.Insert.TypedRowOrBuilder |
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| Modifier and Type | Field and Description |
|---|---|
static int |
ARGS_FIELD_NUMBER |
static int |
COLLECTION_FIELD_NUMBER |
static int |
DATA_MODEL_FIELD_NUMBER |
static com.google.protobuf.Parser<MysqlxCrud.Insert> |
PARSER
Deprecated.
|
static int |
PROJECTION_FIELD_NUMBER |
static int |
ROW_FIELD_NUMBER |
static int |
UPSERT_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
MysqlxDatatypes.Scalar |
getArgs(int index)
values for parameters used in row expressions
|
int |
getArgsCount()
values for parameters used in row expressions
|
java.util.List<MysqlxDatatypes.Scalar> |
getArgsList()
values for parameters used in row expressions
|
MysqlxDatatypes.ScalarOrBuilder |
getArgsOrBuilder(int index)
values for parameters used in row expressions
|
java.util.List<? extends MysqlxDatatypes.ScalarOrBuilder> |
getArgsOrBuilderList()
values for parameters used in row expressions
|
MysqlxCrud.Collection |
getCollection()
collection to insert into
|
MysqlxCrud.CollectionOrBuilder |
getCollectionOrBuilder()
collection to insert into
|
MysqlxCrud.DataModel |
getDataModel()
data model that the operations refer to
|
static MysqlxCrud.Insert |
getDefaultInstance() |
MysqlxCrud.Insert |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Parser<MysqlxCrud.Insert> |
getParserForType() |
MysqlxCrud.Column |
getProjection(int index)
name of the columns to insert data into
(empty if data_model is DOCUMENT)
|
int |
getProjectionCount()
name of the columns to insert data into
(empty if data_model is DOCUMENT)
|
java.util.List<MysqlxCrud.Column> |
getProjectionList()
name of the columns to insert data into
(empty if data_model is DOCUMENT)
|
MysqlxCrud.ColumnOrBuilder |
getProjectionOrBuilder(int index)
name of the columns to insert data into
(empty if data_model is DOCUMENT)
|
java.util.List<? extends MysqlxCrud.ColumnOrBuilder> |
getProjectionOrBuilderList()
name of the columns to insert data into
(empty if data_model is DOCUMENT)
|
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)
|
int |
getRowCount()
set of rows to insert into the collection/table (a single expression
with a JSON document literal or an OBJECT expression)
|
java.util.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.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)
|
java.util.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)
|
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
getUpsert()
true if this should be treated as an Upsert
(that is, update on duplicate key)
|
boolean |
hasCollection()
collection to insert into
|
boolean |
hasDataModel()
data model that the operations refer to
|
int |
hashCode() |
boolean |
hasUpsert()
true if this should be treated as an Upsert
(that is, update on duplicate key)
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static MysqlxCrud.Insert.Builder |
newBuilder() |
static MysqlxCrud.Insert.Builder |
newBuilder(MysqlxCrud.Insert prototype) |
MysqlxCrud.Insert.Builder |
newBuilderForType() |
protected MysqlxCrud.Insert.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected java.lang.Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static MysqlxCrud.Insert |
parseDelimitedFrom(java.io.InputStream input) |
static MysqlxCrud.Insert |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static MysqlxCrud.Insert |
parseFrom(byte[] data) |
static MysqlxCrud.Insert |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static MysqlxCrud.Insert |
parseFrom(java.nio.ByteBuffer data) |
static MysqlxCrud.Insert |
parseFrom(java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static MysqlxCrud.Insert |
parseFrom(com.google.protobuf.ByteString data) |
static MysqlxCrud.Insert |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static MysqlxCrud.Insert |
parseFrom(com.google.protobuf.CodedInputStream input) |
static MysqlxCrud.Insert |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static MysqlxCrud.Insert |
parseFrom(java.io.InputStream input) |
static MysqlxCrud.Insert |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<MysqlxCrud.Insert> |
parser() |
MysqlxCrud.Insert.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, 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, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int COLLECTION_FIELD_NUMBER
public static final int DATA_MODEL_FIELD_NUMBER
public static final int PROJECTION_FIELD_NUMBER
public static final int ROW_FIELD_NUMBER
public static final int ARGS_FIELD_NUMBER
public static final int UPSERT_FIELD_NUMBER
@Deprecated public static final com.google.protobuf.Parser<MysqlxCrud.Insert> PARSER
protected java.lang.Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public boolean hasCollection()
collection to insert into
required .Mysqlx.Crud.Collection collection = 1;hasCollection in interface MysqlxCrud.InsertOrBuilderpublic MysqlxCrud.Collection getCollection()
collection to insert into
required .Mysqlx.Crud.Collection collection = 1;getCollection in interface MysqlxCrud.InsertOrBuilderpublic MysqlxCrud.CollectionOrBuilder getCollectionOrBuilder()
collection to insert into
required .Mysqlx.Crud.Collection collection = 1;getCollectionOrBuilder in interface MysqlxCrud.InsertOrBuilderpublic boolean hasDataModel()
data model that the operations refer to
optional .Mysqlx.Crud.DataModel data_model = 2;hasDataModel in interface MysqlxCrud.InsertOrBuilderpublic MysqlxCrud.DataModel getDataModel()
data model that the operations refer to
optional .Mysqlx.Crud.DataModel data_model = 2;getDataModel in interface MysqlxCrud.InsertOrBuilderpublic java.util.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 in interface MysqlxCrud.InsertOrBuilderpublic java.util.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;getProjectionOrBuilderList in interface MysqlxCrud.InsertOrBuilderpublic int getProjectionCount()
name of the columns to insert data into (empty if data_model is DOCUMENT)
repeated .Mysqlx.Crud.Column projection = 3;getProjectionCount in interface MysqlxCrud.InsertOrBuilderpublic 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 in interface MysqlxCrud.InsertOrBuilderpublic 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;getProjectionOrBuilder in interface MysqlxCrud.InsertOrBuilderpublic java.util.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 in interface MysqlxCrud.InsertOrBuilderpublic java.util.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;getRowOrBuilderList in interface MysqlxCrud.InsertOrBuilderpublic 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 in interface MysqlxCrud.InsertOrBuilderpublic 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 in interface MysqlxCrud.InsertOrBuilderpublic 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 in interface MysqlxCrud.InsertOrBuilderpublic java.util.List<MysqlxDatatypes.Scalar> getArgsList()
values for parameters used in row expressions
repeated .Mysqlx.Datatypes.Scalar args = 5;getArgsList in interface MysqlxCrud.InsertOrBuilderpublic java.util.List<? extends MysqlxDatatypes.ScalarOrBuilder> getArgsOrBuilderList()
values for parameters used in row expressions
repeated .Mysqlx.Datatypes.Scalar args = 5;getArgsOrBuilderList in interface MysqlxCrud.InsertOrBuilderpublic int getArgsCount()
values for parameters used in row expressions
repeated .Mysqlx.Datatypes.Scalar args = 5;getArgsCount in interface MysqlxCrud.InsertOrBuilderpublic MysqlxDatatypes.Scalar getArgs(int index)
values for parameters used in row expressions
repeated .Mysqlx.Datatypes.Scalar args = 5;getArgs in interface MysqlxCrud.InsertOrBuilderpublic MysqlxDatatypes.ScalarOrBuilder getArgsOrBuilder(int index)
values for parameters used in row expressions
repeated .Mysqlx.Datatypes.Scalar args = 5;getArgsOrBuilder in interface MysqlxCrud.InsertOrBuilderpublic boolean hasUpsert()
true if this should be treated as an Upsert (that is, update on duplicate key)
optional bool upsert = 6 [default = false];hasUpsert in interface MysqlxCrud.InsertOrBuilderpublic boolean getUpsert()
true if this should be treated as an Upsert (that is, update on duplicate key)
optional bool upsert = 6 [default = false];getUpsert in interface MysqlxCrud.InsertOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3java.io.IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(java.lang.Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static MysqlxCrud.Insert parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static MysqlxCrud.Insert parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static MysqlxCrud.Insert parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static MysqlxCrud.Insert parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static MysqlxCrud.Insert parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static MysqlxCrud.Insert parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static MysqlxCrud.Insert parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static MysqlxCrud.Insert parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static MysqlxCrud.Insert parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static MysqlxCrud.Insert parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static MysqlxCrud.Insert parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static MysqlxCrud.Insert parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic MysqlxCrud.Insert.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static MysqlxCrud.Insert.Builder newBuilder()
public static MysqlxCrud.Insert.Builder newBuilder(MysqlxCrud.Insert prototype)
public MysqlxCrud.Insert.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected MysqlxCrud.Insert.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static MysqlxCrud.Insert getDefaultInstance()
public static com.google.protobuf.Parser<MysqlxCrud.Insert> parser()
public com.google.protobuf.Parser<MysqlxCrud.Insert> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public MysqlxCrud.Insert getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder