Class Document.Property

  • Enclosing class:
    Document

    public static class Document.Property
    extends Object
    Represents a document property / attribute
    • Constructor Detail

      • Property

        public Property​(String name,
                        io.vertx.mutiny.redis.client.Response response)
    • Method Detail

      • asDouble

        public double asDouble()
        Returns:
        the property value as double
      • asInteger

        public int asInteger()
        Returns:
        the property value as integer
      • asLong

        public long asLong()
        Returns:
        the property value as long
      • unwrap

        public io.vertx.mutiny.redis.client.Response unwrap()
        Returns:
        the raw property value
      • asString

        public String asString()
        Returns:
        the property value as string
      • asBytes

        public byte[] asBytes()
        Returns:
        the property value as byte array
      • asBoolean

        public boolean asBoolean()
        Returns:
        the property value as boolean
      • name

        public String name()
        Returns:
        the property name
      • asJsonObject

        public io.vertx.core.json.JsonObject asJsonObject()
        Returns:
        the property value as JSON Object