App Engine Python SDK  v1.6.9 rev.445
The Python runtime is available as an experimental Preview feature.
Public Member Functions | Static Public Attributes | List of all members
google.appengine.ext.datastore_admin.backup_handler.SchemaAggregationResult Class Reference
Inheritance diagram for google.appengine.ext.datastore_admin.backup_handler.SchemaAggregationResult:
google.appengine.ext.db.Model

Public Member Functions

def merge
 
def create
 
def load
 
def kind
 
- Public Member Functions inherited from google.appengine.ext.db.Model
def __new__
 
def __init__
 
def key
 
def put
 
def delete
 
def is_saved
 
def has_key
 
def dynamic_properties
 
def instance_properties
 
def parent
 
def parent_key
 
def to_xml
 
def get
 
def get_by_key_name
 
def get_by_id
 
def get_or_insert
 
def all
 
def gql
 
def from_entity
 
def kind
 
def entity_type
 
def properties
 
def fields
 

Static Public Attributes

tuple entity_type_info
 
tuple is_partial = db.BooleanProperty(default=False)
 
- Static Public Attributes inherited from google.appengine.ext.db.Model
 save = put
 

Detailed Description

Persistent aggregated type information for a kind.

An instance can be retrieved via the load method or created
using the create method. An instance aggregates all type information
for all seen embedded_entities via the merge method and persisted when needed
using the model put method.

Member Function Documentation

def google.appengine.ext.datastore_admin.backup_handler.SchemaAggregationResult.create (   cls,
  backup_id,
  kind_name,
  shard_id 
)
Create SchemaAggregationResult instance.

Args:
  backup_id: Required BackupInformation Key.
  kind_name: Required kind name as string.
  shard_id: Required shard id as string.

Returns:
  A new SchemaAggregationResult instance.
def google.appengine.ext.datastore_admin.backup_handler.SchemaAggregationResult.load (   cls,
  backup_id,
  kind_name,
  shard_id = None 
)
Retrieve SchemaAggregationResult from the Datastore.

Args:
  backup_id: Required BackupInformation Key.
  kind_name: Required kind name as string.
  shard_id: Optional shard id as string.

Returns:
  SchemaAggregationResult iterator or an entity if shard_id not None.
def google.appengine.ext.datastore_admin.backup_handler.SchemaAggregationResult.merge (   self,
  other 
)
Merge a SchemaAggregationResult or an EntityTypeInfo with this instance.

Args:
  other: Required SchemaAggregationResult or EntityTypeInfo to merge.

Returns:
  True if anything was changed. False otherwise.

Member Data Documentation

tuple google.appengine.ext.datastore_admin.backup_handler.SchemaAggregationResult.entity_type_info
static
Initial value:
1 = json_util.JsonProperty(
2  EntityTypeInfo, default=EntityTypeInfo(), indexed=False)

The documentation for this class was generated from the following file: