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.ndb.stats.NamespaceStat Class Reference
Inheritance diagram for google.appengine.ext.ndb.stats.NamespaceStat:
google.appengine.ext.ndb.stats.BaseStatistic google.appengine.ext.ndb.model.Model google.appengine.ext.ndb.model._NotEqualMixin

Static Public Attributes

string STORED_KIND_NAME = '__Stat_Namespace__'
 
tuple subject_namespace = model.StringProperty()
 
tuple entity_bytes = model.IntegerProperty(default=0L)
 
tuple builtin_index_bytes = model.IntegerProperty(default=0L)
 
tuple builtin_index_count = model.IntegerProperty(default=0L)
 
tuple composite_index_bytes = model.IntegerProperty(default=0L)
 
tuple composite_index_count = model.IntegerProperty(default=0L)
 
- Static Public Attributes inherited from google.appengine.ext.ndb.stats.BaseStatistic
string STORED_KIND_NAME = '__BaseStatistic__'
 
tuple bytes = model.IntegerProperty()
 
tuple count = model.IntegerProperty()
 
tuple timestamp = model.DateTimeProperty()
 
- Static Public Attributes inherited from google.appengine.ext.ndb.model.Model
 key = _key
 
 populate = _populate
 
 has_complete_key = _has_complete_key
 
 to_dict = _to_dict
 
 query = _query
 
 gql = _gql
 
 put = _put
 
 put_async = _put_async
 
 get_or_insert = _get_or_insert
 
 get_or_insert_async = _get_or_insert_async
 
 allocate_ids = _allocate_ids
 
 allocate_ids_async = _allocate_ids_async
 
 get_by_id = _get_by_id
 
 get_by_id_async = _get_by_id_async
 

Additional Inherited Members

- Public Member Functions inherited from google.appengine.ext.ndb.model.Model
def __init__
 
def __getstate__
 
def __setstate__
 
def __repr__
 
def __hash__
 
def __eq__
 
- Public Member Functions inherited from google.appengine.ext.ndb.model._NotEqualMixin
def __ne__
 

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: