| Modifier and Type | Field and Description |
|---|---|
| private String | |
| private MysqlxSession | |
| private List | |
| private String | |
| private boolean |
| Access | Constructor and Description |
|---|---|
| pack-priv | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public AddStatement | add(String
document as a JSON string jsonString)Implements com. Add a document as a JSON string. |
| public AddStatement | add(DbDoc...
one or more docs)DbDoc documentsImplements com. Add a sequence of DbDocs. |
| public AddResult | |
| public CompletableFuture | executeAsync()
Implements com. Execute the statement asynchronously. |
| public boolean | |
| private List | |
| public AddStatement | setUpsert(boolean
if true then this statement will be executed as an upsert statement upsert)Implements com. Set upsert flag on this statement. |
| collectionName | back to summary |
|---|---|
| private String collectionName | |
| mysqlxSession | back to summary |
|---|---|
| private MysqlxSession mysqlxSession | |
| newDocs | back to summary |
|---|---|
| private List<DbDoc> newDocs | |
| schemaName | back to summary |
|---|---|
| private String schemaName | |
| upsert | back to summary |
|---|---|
| private boolean upsert | |
| AddStatementImpl | back to summary |
|---|---|
| pack-priv AddStatementImpl(MysqlxSession mysqlxSession, String schema, String collection, DbDoc newDoc) | |
| AddStatementImpl | back to summary |
|---|---|
| pack-priv AddStatementImpl(MysqlxSession mysqlxSession, String schema, String collection, DbDoc[] newDocs) | |
| add | back to summary |
|---|---|
| public AddStatement add(String jsonString) Implements com. Doc from com. Add a document as a JSON string.
| |
| add | back to summary |
|---|---|
| public AddStatement add(DbDoc... docs) Implements com. Doc from com. Add a sequence of DbDocs.
| |
| execute | back to summary |
|---|---|
| public AddResult execute() Implements com. Doc from com. Execute the statement synchronously. | |
| executeAsync | back to summary |
|---|---|
| public CompletableFuture Implements com. Doc from com. Execute the statement asynchronously.
| |
| isUpsert | back to summary |
|---|---|
| public boolean isUpsert() Implements com. Doc from com. Check the upsert flag.
| |
| serializeDocs | back to summary |
|---|---|
| private List | |
| setUpsert | back to summary |
|---|---|
| public AddStatement setUpsert(boolean upsert) Implements com. Doc from com. Set upsert flag on this statement. Used internally by the
| |