1 from typing import Any, Optional
\r
3 class IndexMeta(type):
\r
4 def __init__(cls, name, bases, attrs) -> None: ...
\r
6 class Index(metaclass=IndexMeta):
\r
8 def __init__(self) -> None: ...
\r
10 def count(cls, hash_key, consistent_read: bool = ..., **filters) -> int: ...
\r
12 def query(self, hash_key, scan_index_forward: Optional[Any] = ..., consistent_read: bool = ..., limit: Optional[Any] = ..., last_evaluated_key: Optional[Any] = ..., attributes_to_get: Optional[Any] = ..., **filters): ...
\r
14 class GlobalSecondaryIndex(Index): ...
\r
15 class LocalSecondaryIndex(Index): ...
\r
17 class Projection(object):
\r
18 projection_type: Any
\r
19 non_key_attributes: Any
\r
21 class KeysOnlyProjection(Projection):
\r
22 projection_type: Any
\r
24 class IncludeProjection(Projection):
\r
25 projection_type: Any
\r
26 non_key_attributes: Any
\r
27 def __init__(self, non_attr_keys: Optional[Any] = ...) -> None: ...
\r
29 class AllProjection(Projection):
\r
30 projection_type: Any
\r