DynamicTableEntity Class
- java.
lang. Object - TableEntity
- TableServiceEntity
- com.
microsoft. azure. storage. table. DynamicTableEntity
- com.
public class DynamicTableEntity extends TableServiceEntity
A TableEntity type which allows callers direct access to the property map of the entity. This class extends TableServiceEntity to eliminate the use of reflection for serialization and deserialization.
Constructor | Description |
---|---|
Dynamic |
Nullary default constructor. |
Dynamic |
Constructs a DynamicTableEntity instance using the specified property map. |
Dynamic |
Initializes a new instance of the DynamicTableEntity class with the specified partition key and row key. |
Dynamic |
Initializes a new instance of the DynamicTableEntity class with the specified partition key and row key. |
Dynamic |
Initializes a new instance of the DynamicTableEntity class with the specified partition key and row key. |
Modifier and Type | Method and Description |
---|---|
HashMap<String, Entity |
get Gets the property map for this DynamicTableEntity instance. |
void |
read Populates this DynamicTableEntity instance using the specified map of property names to EntityProperty data typed values. |
void |
set Sets the property map for this DynamicTableEntity instance. |
HashMap<String, Entity |
write Returns the map of property names to EntityProperty data values from this DynamicTableEntity instance. |
DynamicTableEntity
public DynamicTableEntity()
Nullary default constructor.
DynamicTableEntity
public DynamicTableEntity(final HashMap
Constructs a DynamicTableEntity instance using the specified property map.
Parameters:
java.util.HashMap
containing a map of String
property names to EntityProperty data typed values to store in the new DynamicTableEntity.
DynamicTableEntity
public DynamicTableEntity(String partitionKey, String rowKey)
Initializes a new instance of the DynamicTableEntity class with the specified partition key and row key.
Parameters:
String
which represents the partition key of the DynamicTableEntity to be initialized.
DynamicTableEntity
public DynamicTableEntity(String partitionKey, String rowKey, final HashMap
Initializes a new instance of the DynamicTableEntity class with the specified partition key and row key.
Parameters:
String
which represents the partition key of the DynamicTableEntity to be initialized.
java.util.HashMap
containing a map of String
property names to EntityProperty data typed values to store in the new DynamicTableEntity.
DynamicTableEntity
public DynamicTableEntity(String partitionKey, String rowKey, String etag, final HashMap
Initializes a new instance of the DynamicTableEntity class with the specified partition key and row key.
Parameters:
String
which represents the partition key of the DynamicTableEntity to be initialized.
java.util.HashMap
containing a map of String
property names to EntityProperty data typed values to store in the new DynamicTableEntity.
getProperties
public HashMap
Gets the property map for this DynamicTableEntity instance.
Returns:
java.util.HashMap
containing the map of String
property names to EntityProperty data typed values for this DynamicTableEntity instance.readEntity
public void readEntity(final HashMap
Populates this DynamicTableEntity instance using the specified map of property names to EntityProperty data typed values.
Overrides:
DynamicTableEntity.readEntity(final HashMap<String, EntityProperty> properties, final OperationContext opContext)Parameters:
java.util.HashMap
of String
property names to EntityProperty data typed values to store in this DynamicTableEntity instance.
setProperties
public void setProperties(final HashMap
Sets the property map for this DynamicTableEntity instance.
Parameters:
java.util.HashMap
containing the map of String
property names to EntityProperty data typed values to set in this DynamicTableEntity instance.
writeEntity
public HashMap
Returns the map of property names to EntityProperty data values from this DynamicTableEntity instance.
Overrides:
DynamicTableEntity.writeEntity(final OperationContext opContext)Parameters:
Returns:
java.util.HashMap
containing the map of String
property names to EntityProperty data typed values stored in this DynamicTableEntity instance.Throws: