Interface KVNamespace.Listing

All Superinterfaces:
org.teavm.jso.JSObject
Enclosing interface:
KVNamespace

public static interface KVNamespace.Listing extends org.teavm.jso.JSObject
One page of a key listing.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns where the next page starts, or null when this one is the last.
    org.teavm.jso.core.JSArrayReader<KVNamespace.Key>
    Returns the keys in this page.
    boolean
    Returns whether this page is the last.
    default List<String>
    Returns the key names in this page.

    Methods inherited from interface org.teavm.jso.JSObject

    cast
  • Method Details

    • getKeys

      org.teavm.jso.core.JSArrayReader<KVNamespace.Key> getKeys()
      Returns the keys in this page.
      Returns:
      the keys in this page
    • isListComplete

      boolean isListComplete()
      Returns whether this page is the last.
      Returns:
      whether this page is the last
    • getCursor

      String getCursor()
      Returns where the next page starts, or null when this one is the last.
      Returns:
      where the next page starts, or null when this one is the last
    • names

      default List<String> names()
      Returns the key names in this page.
      Returns:
      the key names in this page