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

Static Public Attributes

string STORED_KIND_NAME = '__Stat_Namespace__'
 
tuple subject_namespace = db.StringProperty()
 
tuple entity_bytes = db.IntegerProperty(default=0L)
 
tuple builtin_index_bytes = db.IntegerProperty(default=0L)
 
tuple builtin_index_count = db.IntegerProperty(default=0L)
 
tuple composite_index_bytes = db.IntegerProperty(default=0L)
 
tuple composite_index_count = db.IntegerProperty(default=0L)
 
- Static Public Attributes inherited from google.appengine.ext.db.stats.BaseStatistic
string STORED_KIND_NAME = '__BaseStatistic__'
 
tuple bytes = db.IntegerProperty()
 
tuple count = db.IntegerProperty()
 
tuple timestamp = db.DateTimeProperty()
 
- Static Public Attributes inherited from google.appengine.ext.db.Model
 save = put
 

Additional Inherited Members

- Public Member Functions inherited from google.appengine.ext.db.stats.BaseStatistic
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
 

Detailed Description

An aggregate of all entities across an entire namespace.

This statistic has one instance per namespace.  The key_name is the
represented namespace. NamespaceStat entities will only be found
in the namespace "" (empty string). It contains the total
number of entities stored and the total number of bytes they take up.

Attributes:
  subject_namespace: the namespace associated with the statistic instance.
  entity_bytes: the number of bytes taken up to store the statistic
    in the datastore minus the cost of storing indices.
  builtin_index_bytes: the number of bytes taken up to store builtin-in
    index entries
  builtin_index_count: the number of built-in index entries.
  composite_index_bytes: the number of bytes taken up to store composite
    index entries
  composite_index_count: the number of composite index entries.

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