public class CreateItemStatement extends AbstractCosmosContainerStatement implements NoSqlExecuteStatement<CosmosLiquibaseDatabase>
| Modifier and Type | Field and Description |
|---|---|
static String |
COMMAND_NAME |
containerName, ITEM_ID_1, ITEM_ID_1_STRING| Constructor and Description |
|---|
CreateItemStatement() |
CreateItemStatement(String containerName,
com.azure.cosmos.implementation.Document document) |
CreateItemStatement(String containerName,
String jsonDocument) |
| Modifier and Type | Method and Description |
|---|---|
void |
execute(CosmosLiquibaseDatabase database) |
String |
getCommandName() |
String |
toJs() |
continueOnErrorskipOnUnsupported, toStringpublic static final String COMMAND_NAME
public CreateItemStatement()
public CreateItemStatement(String containerName, com.azure.cosmos.implementation.Document document)
public String getCommandName()
getCommandName in class AbstractCosmosStatementpublic String toJs()
toJs in class AbstractCosmosContainerStatementpublic void execute(CosmosLiquibaseDatabase database)
execute in interface NoSqlExecuteStatement<CosmosLiquibaseDatabase>Copyright © 2021 Liquibase.org. All rights reserved.