Writer Directives
The suffixes shown are prefixed by the current <WriterKeyword>
in a mapping file. By default, the <WriterKeyword>
for the Azure Table writer is AZURE_TABLE
.
DEF
The syntax of the definition is:
AZURE_TABLE_DEF <tableName>
azure_table_drop_table (yes|no)
azure_table_writer_mode (INHERIT_FROM_WRITER|INSERT|UPDATE|DELETE)
[<fieldName> <fieldType>] +
azure_table_drop_table |
This specifies that if the table exists by this name, it should be dropped and recreated before any features are written to it. Default: NO |
azure_table_mode |
The the default operation mode of the feature type. Valid values are INSERT, UPDATE, DELETE and INHERIT_FROM_WRITER. Note: INSERT mode allows for only INSERT operations where as UPDATE and DELETE can be overwritten at the feature levels. INHERIT_FROM_WRITER simply indicates to take this value from the writer level and not to override it at the feature type level. Default: INHERIT_FROM_WRITER |
Required/Optional
Required
STORAGE_KEY
This specifies the primary access key for accessing the Microsoft Windows Azure Storage service.
<ReaderKeyword>_STORAGE_KEY a1b2C3k1/a1b2C3k1a1b2C3k1a1b2C3k1a1b2
C3k1a1b2C3k1a1b2C3k1/a1b2C3k1a1b2C3k1a1b2C3k1a1b2==
Required/Optional
Required
WRITER_MODE
Note: For more information on this directive, see Writer Mode.
This directive determines which operations will be performed by default by this writer.
This operation can be set to INSERT, UPDATE or DELETE. The default writer level value for this operation can be overwritten at the feature type or table level. The corresponding feature type def parameter name is called azure_table_writer_mode. It has the same valid options as the writer level mode and additionally the value INHERIT_FROM_WRITER which causes the writer level mode to be inherited by the feature type as the default for features contained in that table.
If the WRITER_MODE statement is not specified, then a value of INSERT is given.
Mapping File Syntax
WRITER_MODE INSERT
Workbench Parameter
Writer Mode