コード例 #1
0
    def read_keyvalue_revisions(self, query_options=None):
        """Returns an iterable object which allows the caller to asynchronously iterate and retrieve revisions.

        :param QueryKeyValueCollectionOptions query_options:
            Parameters used to modify the set of revisions that are retrieved.

        :return:
             An iterable of key-value revisions if found, otherwise an empty one
        :rtype: KeyValueIterable

        """
        if query_options is None:
            query_options = models.QueryKeyValueCollectionOptions

        return iterable.KeyValueIterable(self, query_options, self.__list_revision)
コード例 #2
0
    def get_keyvalues(self, query_options=None):
        """Returns an iterable object which allows the caller to iterate and retrieve key-values.

        :param QueryKeyValueCollectionOptions query_options:
            Parameters used to modify the set of key-values that are retrieved.

        :return:
            An iterable of key-values if found, otherwise an empty one                                                                                                                                                                                                                                                                                                                                                                                                                                                                     .
        :rtype: KeyValueIterable

        """
        if query_options is None:
            query_options = models.QueryKeyValueCollectionOptions

        return iterable.KeyValueIterable(self, query_options, self.__query_keys)