![]() |
App Engine Python SDK
v1.6.9 rev.445
The Python runtime is available as an experimental Preview feature.
|
Public Member Functions | |
def | __init__ |
def | v4_to_v3_compiled_cursor |
def | v3_to_v4_compiled_cursor |
def | v4_to_v3_query |
def | v3_to_v4_query |
Converter for v3 and v4 queries suitable for use in stubs.
def google.appengine.datastore.datastore_stub_util.StubQueryConverter.v3_to_v4_compiled_cursor | ( | self, | |
v3_compiled_cursor | |||
) |
Converts a v3 CompiledCursor to a v4 cursor string. Args: v3_compiled_cursor: a datastore_pb.CompiledCursor Returns: a string representing a v4 query cursor
def google.appengine.datastore.datastore_stub_util.StubQueryConverter.v3_to_v4_query | ( | self, | |
v3_query, | |||
v4_query | |||
) |
Converts a v3 Query to a v4 Query. Args: v3_query: a datastore_pb.Query v4_query: a datastore_v4_pb.Query to populate Raises: InvalidConversionError if the query cannot be converted
def google.appengine.datastore.datastore_stub_util.StubQueryConverter.v4_to_v3_compiled_cursor | ( | self, | |
v4_cursor, | |||
v3_compiled_cursor | |||
) |
Converts a v4 cursor string to a v3 CompiledCursor. Args: v4_cursor: a string representing a v4 query cursor v3_compiled_cursor: a datastore_pb.CompiledCursor to populate
def google.appengine.datastore.datastore_stub_util.StubQueryConverter.v4_to_v3_query | ( | self, | |
v4_partition_id, | |||
v4_query, | |||
v3_query | |||
) |
Converts a v4 Query to a v3 Query. Args: v4_partition_id: a datastore_v4_pb.PartitionId v4_query: a datastore_v4_pb.Query v3_query: a datastore_pb.Query to populate Raises: InvalidConversionError if the query cannot be converted