接口 MysqlxCrud.InsertOrBuilder
-
- 所有超级接口:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- 所有已知实现类:
MysqlxCrud.Insert,MysqlxCrud.Insert.Builder
- 封闭类:
- MysqlxCrud
public static interface MysqlxCrud.InsertOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 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 toMysqlxCrud.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)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 tobooleanhasUpsert()true if this should be treated as an Upsert (that is, update on duplicate key)
-
-
-
方法详细资料
-
hasCollection
boolean hasCollection()
collection to insert into
required .Mysqlx.Crud.Collection collection = 1;- 返回:
- Whether the collection field is set.
-
getCollection
MysqlxCrud.Collection getCollection()
collection to insert into
required .Mysqlx.Crud.Collection collection = 1;- 返回:
- The collection.
-
getCollectionOrBuilder
MysqlxCrud.CollectionOrBuilder getCollectionOrBuilder()
collection to insert into
required .Mysqlx.Crud.Collection collection = 1;
-
hasDataModel
boolean hasDataModel()
data model that the operations refer to
optional .Mysqlx.Crud.DataModel data_model = 2;- 返回:
- Whether the dataModel field is set.
-
getDataModel
MysqlxCrud.DataModel getDataModel()
data model that the operations refer to
optional .Mysqlx.Crud.DataModel data_model = 2;- 返回:
- The dataModel.
-
getProjectionList
List<MysqlxCrud.Column> getProjectionList()
name of the columns to insert data into (empty if data_model is DOCUMENT)
repeated .Mysqlx.Crud.Column projection = 3;
-
getProjection
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;
-
getProjectionCount
int getProjectionCount()
name of the columns to insert data into (empty if data_model is DOCUMENT)
repeated .Mysqlx.Crud.Column projection = 3;
-
getProjectionOrBuilderList
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;
-
getProjectionOrBuilder
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
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;
-
getRow
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;
-
getRowCount
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;
-
getRowOrBuilderList
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;
-
getRowOrBuilder
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;
-
getArgsList
List<MysqlxDatatypes.Scalar> getArgsList()
values for parameters used in row expressions
repeated .Mysqlx.Datatypes.Scalar args = 5;
-
getArgs
MysqlxDatatypes.Scalar getArgs(int index)
values for parameters used in row expressions
repeated .Mysqlx.Datatypes.Scalar args = 5;
-
getArgsCount
int getArgsCount()
values for parameters used in row expressions
repeated .Mysqlx.Datatypes.Scalar args = 5;
-
getArgsOrBuilderList
List<? extends MysqlxDatatypes.ScalarOrBuilder> getArgsOrBuilderList()
values for parameters used in row expressions
repeated .Mysqlx.Datatypes.Scalar args = 5;
-
getArgsOrBuilder
MysqlxDatatypes.ScalarOrBuilder getArgsOrBuilder(int index)
values for parameters used in row expressions
repeated .Mysqlx.Datatypes.Scalar args = 5;
-
hasUpsert
boolean hasUpsert()
true if this should be treated as an Upsert (that is, update on duplicate key)
optional bool upsert = 6 [default = false];- 返回:
- Whether the upsert field is set.
-
getUpsert
boolean getUpsert()
true if this should be treated as an Upsert (that is, update on duplicate key)
optional bool upsert = 6 [default = false];- 返回:
- The upsert.
-
-