azure-storage-table\src\Table\Models\BatchOperations.php

Show: PublicProtectedPrivateinherited
Table of Contents
LICENSE: The MIT License (the "License") you may not use this file except in compliance with the License.

You may obtain a copy of the License at https://github.com/azure/azure-storage-php/LICENSE

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

PHP version 5

Author
Azure Storage PHP SDK  
Category
Microsoft  
Copyright
2016 Microsoft Corporation  
License
https://github.com/azure/azure-storage-php/LICENSE  
Link
https://github.com/azure/azure-storage-php  
Package
MicrosoftAzure\Storage\Table\Models  

\MicrosoftAzure\Storage\Table\Models\BatchOperations

Package: MicrosoftAzure\Storage\Table\Models
Holds batch operation change set.
Author
Azure Storage PHP SDK  
Category
Microsoft  
Copyright
2016 Microsoft Corporation  
License
https://github.com/azure/azure-storage-php/LICENSE  
Link
https://github.com/azure/azure-storage-php  

Methods

methodpublic__construct() : void

Default constructor.

methodpublicaddDeleteEntity(string $table, string $partitionKey, string $rowKey, string $etag = null) : void

Adds deleteEntity operation.

Parameters
NameTypeDescription
$tablestring

The table name.

$partitionKeystring

The entity partition key.

$rowKeystring

The entity row key.

$etagstring

The entity etag.

methodpublicaddInsertEntity(string $table, \MicrosoftAzure\Storage\Table\Models\Entity $entity) : void

Adds insertEntity operation.

Parameters
NameTypeDescription
$tablestring

The table name.

$entity\MicrosoftAzure\Storage\Table\Models\Entity

The entity instance.

methodpublicaddInsertOrMergeEntity(string $table, \MicrosoftAzure\Storage\Table\Models\Entity $entity) : void

Adds insertOrMergeEntity operation.

Parameters
NameTypeDescription
$tablestring

The table name.

$entity\MicrosoftAzure\Storage\Table\Models\Entity

The entity instance.

methodpublicaddInsertOrReplaceEntity(string $table, \MicrosoftAzure\Storage\Table\Models\Entity $entity) : void

Adds insertOrReplaceEntity operation.

Parameters
NameTypeDescription
$tablestring

The table name.

$entity\MicrosoftAzure\Storage\Table\Models\Entity

The entity instance.

methodpublicaddMergeEntity(string $table, \MicrosoftAzure\Storage\Table\Models\Entity $entity) : void

Adds mergeEntity operation.

Parameters
NameTypeDescription
$tablestring

The table name.

$entity\MicrosoftAzure\Storage\Table\Models\Entity

The entity instance.

methodpublicaddOperation(mixed $operation) : void

Adds operation to the batch operations.

Parameters
NameTypeDescription
$operationmixed

The operation to add.

methodpublicaddUpdateEntity(string $table, \MicrosoftAzure\Storage\Table\Models\Entity $entity) : void

Adds updateEntity operation.

Parameters
NameTypeDescription
$tablestring

The table name.

$entity\MicrosoftAzure\Storage\Table\Models\Entity

The entity instance.

methodpublicgetOperations() : array

Gets the batch operations.

Returns
TypeDescription
array
methodpublicsetOperations(array $operations) : void

Sets the batch operations.

Parameters
NameTypeDescription
$operationsarray

The batch operations.

Documentation was generated by phpDocumentor 2.9.1.